Releases: maxio-com/ab-java-sdk
Releases · maxio-com/ab-java-sdk
6.0.0
-
AdvancedBillingClient
was slightly reworked:domain
parameter has been removed.subdomain
parameter changed name tosite
Environment
has changed. Now it's either defaultUS
, orEU
for Advanced Billing eu hosting. The default isUS
. SDK is now supporting EU hosted accounts.
-
Coupon fixes:
- renamed
CreateOrUpdateCoupon
toCouponRequest
- renamed
CreateOrUpdatePercentageCouponPercentage
toCouponPayloadPercentage
- changed
CreateOrUpdateCouponCoupon
toCouponPayload
- There're no longer 2 distinct models for Flat amount and Percentage coupon. They're merged into
CouponPayload
. Using it, specify eitheramount_in_cents
orpercentage
property code
,name
,description
,amount_in_cents
andpercentage
are not required properties inCouponPayload
model. It means they're not send as nulls if unset. It enables patching coupon withupdateCoupon
without specifying these properties values. Previous version enforced setting them.CouponPayload
endDate
changes type fromZonedDateTime
toLocalDate
. ResponseCoupon
endDate
is stillZonedDateTime
(its calculated as end of the day)updateCoupon
now throwsErrorListResponseException
- added
currencyPrices
forCoupon
response. Note you need to specify suitable query parameters to access it - added
currencyPrices
query parameter forreadCoupon
andfindCoupon
- added some missing descriptions
- changed
Coupon
amountInCents
to Long - changed
CouponCurrency
price
to nullable Double andid
to nullable Integer createOrUpdateCouponCurrencyPrices
now throwsErrorStringMapResponseException
- renamed
-
Subscription Fixes:
- added
SubscriptionResponse
forpurgeSubscription
operation purgeSubscription
now throwsSubscriptionResponseErrorException
updatePrepaidSubscriptionConfiguration
now throwsApiException
when the status code is 422
- added
-
Components fixes:
- removed
PrepaidComponentPricePoint
. UseCreatePrepaidComponentPricePoint
when creating price points forPrepaidComponent
together with component instead - added prepaid-specific properties to
ComponentPricePoint
(response model) - removed
upgrade_charge
anddowngrade_credit
fromEbbComponent
,OnOffComponent
andMeteredComponent
request models (not applicable for this type of component) - removed deprecated
priceInCents
from component request models - removed
prices
fromOnOffComponent
request model (unitPrice should be used) - Fixed
ComponentPricePoint
expirationIntervalUnit
type - corrected some descriptions
- Define exceptions for create component price points operations
- removed
-
Currency Prices fixes:
- add
currencyPrices
query parameter toreadComponentPricePoint
UpdateCurrencyPrice
price
is nowdouble
instead ofint
- Add PriceId and PricePointId to CurrencyPrice
- Return verbose exception message for currency prices operations
- add
-
Events fixes:
- Added
EventKey
enum and filled it with missing event types - merged
SubscriptionGroupSignupFailure
andSubscriptionGroupSignupFailure
andSubscriptionGroupSignupSuccess
intoSubscriptionGroupSignupEventData
. - documented
key
toeventSpecificData
mappings. - removed
EventType
used inevents
endpoints for filter.EventKey
should be used instead.
- Added
-
Misc:
- Added missing properties and types for
Invoice
- fixed
recordEvent
andbulkRecordEvents
. Now they work with default environment, with subdomain specified during client initialization. They no longer need subdomain provided to the method execution - Fixed types for models required for
update subscription group
andadd subscription to group
operations - Make
initiateDelayedCancellation
andcancelDunning
throwErrorListResponseException
on 422 error - added
processing
Invoice Status - Fix errors for Subscription Notes
- Add error model for listOffers
- Use date/dateTime instead of string for filtering when listing products and product families
- Now it's possible to list archived product price points using
archived
property withlistProductPricePoints
- Added missing properties and types for
Full Changelog: 5.2.0...6.0.0
5.2.0
What's Changed
- Added
tax_exempt_reason
anddefault_auto_renewal_profile_id
toCustomer
- Added
received_on
toInvoicePayment
andCreateInvoicePayment
- Added
product_price_point_id
andproduct_price_point_handle
toUpdateSubscription
- Improved some properties descriptions
Full Changelog: 5.1.0...5.2.0
5.1.0
What's Changed
- Add
imported
to subscriptioncancellation_method
- Add
id
filter to List Products API
Full Changelog: 5.0.0...5.1.0
5.0.0
What's Changed
- DE-934 Setup tests on a new site by @michalpierog in #141
- [DE-932] Release 5.0.0 by @maciej-nedza in #142
- DE-921 DE-922 Fix problem with interval units - interval units now can be nullable in various contexts, ExtendedIntervalUnit was renamed to ExpirationIntervalUnit, now ExpirationIntervalUnit is used in SubscriptionCustomPrice, CreatePrepaidComponentPricePoint, CreateProductPricePoint, CreateOrUpdateProduct, PrepaidComponent, ProductPricePoint and Product for expirationIntervalUnit property. This enum has additional value of never (this has not changed)
- DE-921 DE-924 Reworked vaults - CurrentVault enum was renamed to AllVaults and filled with previously missing values. BankAccountVault was filled with missing values. ApplePayVault was added with the vault supporting this payment method. CreditCardVault was added with vaults supporting this payment method. PayPalVault was added with vaults supporting this payment method. Models for respective payment profiles types now use respective enums.
- DE-910 Distinguish response payment profiles based on the paymentType. PaymentProfileResponsePaymentProfile was renamed to PaymentProfile.ApplePayPaymentProfile, and PayPalPaymentProfile were added as possible PaymentProfile in PaymentProfileResponse. Fixed a bug, when response payment profile couldn't be deserialized due to missing fields.
- Added publicUrlExpires_on to the Invoice
- Added achLateReject to the InvoiceRefund
- Added tax-related properties to InvoiceTaxComponentBreakout and InvoiceTax
- SUB-4037 Add taxIncluded to ComponentCustomPrice. Added request model for Activate Event-Based Component endpoint, SubscriptionComponentActivateEventBasedComponent
productFamilyId in endpoint paths parameters is now string, to enable searching by both handle and id - [DE-932] Rename Chargify API by @michalpierog in #143
Full Changelog: 4.0.0...5.0.0
4.0.0
What's Changed
- Increase timeout to 120s by default (DE-874)
- Ability to create products using the product family handle - productFamilyId in createProduct method is now String instead of number (SUB-3996 )
- Add API endpoints for finding price points by handle. Move PricePoint methods from ComponentsController to ComponentPricePointsController (IN-3434)
PRs
- [DE-874] Release 4.0.0 by @michalpierog in #139
Full Changelog: 3.0.0...4.0.0
3.0.0
What's Changed
- Removed redundant container classes
- Changed structure of filters in some list endpoints
- Made some properties nullable
- Added fixes for Subscription Invoice Account endpoints
- ListSubscriptionComponents include query parameter becomes list with additional possible value,
HISTORIC_USAGES
- Set usage ids, events ids and invoice event ids as longs
- Add new invoice event data types
- Add handle parameter for create product family request body
- Add in_use query parameter for listing subscription components
- Remove default collection method value
- Reorganize
Invoice Event
structure:- Invoice Event is now union type
- Invoice Event Data is no longer union type. Each Invoice Event has it's own invoice_data with a concrete type
- Remove some redundant models
PRs:
- [DE-771] Remove redundant container classes by @maciej-nedza in #131
- [DE-730] DE-782 - Fixes for Subscription Invoice Account endpoints by @patryk-grudzien-keen in #132
- [DE-730] CRUD for Subscription Invoice Account endpoints Part 2 by @patryk-grudzien-keen in #133
- [DE-799] Add missing nullable types by @maciej-nedza in #134
- [DE-827] Set new long types, new invoice event types, fix test env by @maciej-nedza in #135
- [DE-801] Fix invoice events structure by @maciej-nedza in #137
- [DE-801] Improve organization description by @maciej-nedza in #138
Full Changelog: 2.0.0...3.0.0
2.0.0
What's Changed
- [DE-677] Code fixes for Invoices endpoints by @patryk-grudzien-keen in #107
- [DE-677] Code fixes for recording payments endpoints by @patryk-grudzien-keen in #108
- [DE-726] Set date and date-time formats, fix webhooks and endpoints models by @maciej-nedza in #110
- [DE-628] Test CRUD for Invoices endpoints part 3 by @patryk-grudzien-keen in #109
- [DE-728] Remove deprecated authentication code by @maciej-nedza in #111
- [DE-736] Merge proforma invoice and preview proforma by @maciej-nedza in #112
- [DE-674] Proforma invoices tests by @maciej-nedza in #113
- [DE-736] Add enums for proforma invoice and invoice by @maciej-nedza in #114
- [DE-677] Enabled additional model properties by @patryk-grudzien-keen in #115
- [DE-677] - Manual filename renaming due to not being handled by SDK auto-generation by @patryk-grudzien-keen in #117
- [DE-631] DE-741 - Fixes to Subscription Components Price Points and Allocations by @patryk-grudzien-keen in #118
- [DE-744] Add query parameters for list subscription group proforma invoices by @maciej-nedza in #120
- [DE-677] DE-631 - CRUD for Subscription Components endpoints part 3 by @patryk-grudzien-keen in #119
- [DE-676] Proforma invoices tests 2 by @maciej-nedza in #121
- [DE-582] DE-749 - Improvements in the Account Balance, Prepayment models and "createPrepayment" endpoint by @patryk-grudzien-keen in #123
- [DE-582] CRUD for Subscription Invoice Account endpoints Part 1 by @patryk-grudzien-keen in #124
- [DE-751] Fixes for subscription groups endpoints by @maciej-nedza in #125
- [DE-579] Subscription groups tests by @maciej-nedza in #126
- [DE-733] Fix for Event's "id" type by @patryk-grudzien-keen in #128
- [DE-759] Release 2.0.0 by @michalpierog in #129
Full Changelog: 1.0.0...2.0.0
1.0.0
What's Changed
- [DE-671] Metafields tests by @maciej-nedza in #95
- DE-568 Fixes for Invoice events by @michalpierog in #98
- [DE-117] DE-568 Tests for listInvoiceEvents by @michalpierog in #99
- [DE-692] Fixes for metadata models by @maciej-nedza in #100
- [DE-117] DE-630 Fix model for Customer Information Change by @michalpierog in #102
- [DE-673] Metadata endpoints tests by @maciej-nedza in #101
- [DE-117] DE-630 Add tests for reopenInvoice, listInvoiceSegments, previewCustomerInformationChanges and updateCustomerInformation by @michalpierog in #103
- [DE-527] DE-618 - Fix CreateSubscription model by @patryk-grudzien-keen in #104
- [DE-693] Fix inconsistencies between method names and titles in docs by @maciej-nedza in #105
- [DE-679] 1.0.0 Release by @michalpierog in #106
Full Changelog: 0.0.4...1.0.0
Release 0.0.4
What's Changed
- [DE-117] DE-545 Tests for "Override Subscription" by @patryk-grudzien-keen in #67
- [DE-545] DE-647 - Improvements in OAS file by @patryk-grudzien-keen in #69
- [DE-117] DE-545 Tests for "Activate Subscription" by @patryk-grudzien-keen in #70
- [DE-117] DE-629 - Java test CRUD for Invoices endpoints part 1 by @michalpierog in #68
- [DE-656] Fix component allocations endpoints by @maciej-nedza in #71
- [DE-656] Fix allocation error response, remove proration defaults by @maciej-nedza in #72
- [DE-656] Error response for list allocations, fix types for preview allocation quantities by @maciej-nedza in #73
- [DE-626] Allocations tests by @maciej-nedza in #74
- [DE-117] Code fixes for Java by @patryk-grudzien-keen in #75
- [DE-117] DE-629 - Java test CRUD for Invoices endpoints part 1 (Issue Invoice) by @patryk-grudzien-keen in #76
- [DE-117] Code fixes for Java by @patryk-grudzien-keen in #77
- [DE-564] Remove unnecessary parameters from metafields by @michalpierog in #78
- [DE-678][DE-664] Payment profiles and component price points fixes by @maciej-nedza in #79
- [DE-570] DE-664 - Updated "card_type" type from "string" in all places by @patryk-grudzien-keen in #80
- [DE-117] DE-570 - Java - test CRUD for Payment Profiles endpoints part 1 by @patryk-grudzien-keen in #81
- [DE-117] Code fixes for Java by @patryk-grudzien-keen in #82
- [DE-678] Fixes for update component price point by @maciej-nedza in #84
- [DE-117] DE-627 - Java - test CRUD for Payment Profiles endpoints part 2 by @patryk-grudzien-keen in #83
- [DE-117] DE-568 Fix invoices by @michalpierog in #85
- [DE-117] - Added "JSONassert" dependency to fix flaky test by @patryk-grudzien-keen in #87
- [DE-678] Fix component currency prices responses by @maciej-nedza in #86
- [DE-605] Tests for components price points by @maciej-nedza in #89
- [DE-117] Code fixes for Java by @patryk-grudzien-keen in #90
- [DE-117] DE-568 Tests for readInvoice, listInvoices and refundInvoice by @michalpierog in #88
- [DE-117] DE-568 Add enums for invoice by @michalpierog in #91
- [DE-117] DE-568 Fix invoices event deserialization by @michalpierog in #92
- [DE-686] Custom fields models updates by @maciej-nedza in #93
- [DE-686] Update metafields error templates by @maciej-nedza in #94
- 0.0.4 Release by @michalpierog in #97
Full Changelog: 0.0.3...0.0.4
0.0.3
What's Changed
- [DE-600] Fix properties formats by @maciej-nedza in #20
- [DE-600] Fix prepayment class name by @maciej-nedza in #21
- [DE-611] Use .codegenignore file and add tests to main branch by @maciej-nedza in #23
- [DE-611] Add gh actions to codegenignore by @maciej-nedza in #25
- [DE-613] Adjustments to product price points by @patryk-grudzien-keen in #27
- [DE-615] Exceptions for create and archive product by @maciej-nedza in #28
- [DE-617] Get rid of "Nullify404" code gen setting in APIMatic configuration and adjust tests by @patryk-grudzien-keen in #29
- [DE-572] Tests for "List Product Price Points" endpoint by @patryk-grudzien-keen in #30
- [DE-526] Improved the usage of "builder" for customer endpoints tests by @patryk-grudzien-keen in #31
- [DE-555] Product endpoints test by @maciej-nedza in #32
- [DE-618,DE-619] Fix interval units and date fields in subscription and product models by @maciej-nedza in #33
- Code generation for 0.0.3 by @patryk-grudzien-keen in #35
- [DE-613] Added date and date-time format for the filter parameters by @patryk-grudzien-keen in #36
- [DE-527] DE-620 Generating new code by @michalpierog in #38
- [DE-572] Tests for listing and creating Product(s) Price Points by @patryk-grudzien-keen in #37
- [DE-613][DE-621] Subscription id as int in path, fix subscription status endpoints, change status codes for create price points by @maciej-nedza in #39
- [DE-585] Subscription status endpoints tests by @maciej-nedza in #40
- [DE-572] DE-613 Updates in OAS file by @patryk-grudzien-keen in #41
- [DE-572] Fixed response schema for "Promote Product Price Point to Default" endpoint by @patryk-grudzien-keen in #42
- [DE-572] Fixed response schema for "Create Product Currency Prices" endpoint by @patryk-grudzien-keen in #43
- [DE-572] Added 422 response for "Update Currency Prices" endpoint by @patryk-grudzien-keen in #44
- [DE-613][DE-634] Updates to product price points and credit_types by @maciej-nedza in #46
- [DE-572] + [DE-599] Java CRUD for Product Price Points endpoints part 1 & 2 by @patryk-grudzien-keen in #45
- [DE-636][DE-635] Fix groups, prepaid config and component delete response by @maciej-nedza in #47
- [DE-527] DE-635 Fix for subscription groups by @michalpierog in #49
- [DE-563] Components endpoints tests 1 by @maciej-nedza in #48
- [DE-117] DE-527 Tests for create subscription by @michalpierog in #50
- [DE-633] Nullable automatically_resume_at [DE-638] Update component response by @maciej-nedza in #52
- [DE-604] Components tests 2 by @maciej-nedza in #53
- [DE-603] Subscription status tests 2 by @maciej-nedza in #54
- [DE-643] Enhacemenets for subscription components endpoints by @maciej-nedza in #56
- [DE-117] DE-527 Tests for list subscriptions by @michalpierog in #55
- [DE-117] DE-527 Add tests for read and update subscription by @michalpierog in #57
- [DE-527] DE-642 Add include[] parameter for listSubscriptions by @michalpierog in #58
- [DE-117] DE-545 Tests for "Subscription Preview" by @patryk-grudzien-keen in #59
- [DE-545] DE-647 - Fixed 422 response properties in "Add Coupons to Subscription" endpoint by @patryk-grudzien-keen in #60
- [DE-117] DE-545 Tests for "Add Coupons to Subscription" by @patryk-grudzien-keen in #61
- [DE-117] DE-545 Tests for "Remove Coupon from Subscription" by @patryk-grudzien-keen in #62
- [DE-643] Fix types for subscription components endpoints by @maciej-nedza in #63
- DE-117 Code fixes for Java by @michalpierog in #64
- [DE-578] Subscription Components tests part 1 by @maciej-nedza in #65
- [DE-545] DE-647 - Improvements in OAS file for "Override Subscription" endpoint by @patryk-grudzien-keen in #66
Full Changelog: 0.0.2...0.0.3