6.0.0
-
AdvancedBillingClientwas slightly reworked:domainparameter has been removed.subdomainparameter changed name tositeEnvironmenthas changed. Now it's either defaultUS, orEUfor Advanced Billing eu hosting. The default isUS. SDK is now supporting EU hosted accounts.
-
Coupon fixes:
- renamed
CreateOrUpdateCoupontoCouponRequest - renamed
CreateOrUpdatePercentageCouponPercentagetoCouponPayloadPercentage - changed
CreateOrUpdateCouponCoupontoCouponPayload - There're no longer 2 distinct models for Flat amount and Percentage coupon. They're merged into
CouponPayload. Using it, specify eitheramount_in_centsorpercentageproperty code,name,description,amount_in_centsandpercentageare not required properties inCouponPayloadmodel. It means they're not send as nulls if unset. It enables patching coupon withupdateCouponwithout specifying these properties values. Previous version enforced setting them.CouponPayloadendDatechanges type fromZonedDateTimetoLocalDate. ResponseCouponendDateis stillZonedDateTime(its calculated as end of the day)updateCouponnow throwsErrorListResponseException- added
currencyPricesforCouponresponse. Note you need to specify suitable query parameters to access it - added
currencyPricesquery parameter forreadCouponandfindCoupon - added some missing descriptions
- changed
CouponamountInCentsto Long - changed
CouponCurrencypriceto nullable Double andidto nullable Integer createOrUpdateCouponCurrencyPricesnow throwsErrorStringMapResponseException
- renamed
-
Subscription Fixes:
- added
SubscriptionResponseforpurgeSubscriptionoperation purgeSubscriptionnow throwsSubscriptionResponseErrorExceptionupdatePrepaidSubscriptionConfigurationnow throwsApiExceptionwhen the status code is 422
- added
-
Components fixes:
- removed
PrepaidComponentPricePoint. UseCreatePrepaidComponentPricePointwhen creating price points forPrepaidComponenttogether with component instead - added prepaid-specific properties to
ComponentPricePoint(response model) - removed
upgrade_chargeanddowngrade_creditfromEbbComponent,OnOffComponentandMeteredComponentrequest models (not applicable for this type of component) - removed deprecated
priceInCentsfrom component request models - removed
pricesfromOnOffComponentrequest model (unitPrice should be used) - Fixed
ComponentPricePointexpirationIntervalUnittype - corrected some descriptions
- Define exceptions for create component price points operations
- removed
-
Currency Prices fixes:
- add
currencyPricesquery parameter toreadComponentPricePoint UpdateCurrencyPricepriceis nowdoubleinstead ofint- Add PriceId and PricePointId to CurrencyPrice
- Return verbose exception message for currency prices operations
- add
-
Events fixes:
- Added
EventKeyenum and filled it with missing event types - merged
SubscriptionGroupSignupFailureandSubscriptionGroupSignupFailureandSubscriptionGroupSignupSuccessintoSubscriptionGroupSignupEventData. - documented
keytoeventSpecificDatamappings. - removed
EventTypeused ineventsendpoints for filter.EventKeyshould be used instead.
- Added
-
Misc:
- Added missing properties and types for
Invoice - fixed
recordEventandbulkRecordEvents. 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 groupandadd subscription to groupoperations - Make
initiateDelayedCancellationandcancelDunningthrowErrorListResponseExceptionon 422 error - added
processingInvoice 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
archivedproperty withlistProductPricePoints
- Added missing properties and types for
Full Changelog: 5.2.0...6.0.0