-
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 eitherAmountInCents
orPercentage
property Code
,Name
,Description
,AmountInCents
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
UpgradeCharge
andDowngradeCredit
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
andPricePointId
toCurrencyPrice
- 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.1.0...6.0.0