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.CouponPayloadend_datechanges type fromdatetimetodate. Responsecouponend_dateis stilldatetime(its calculated as end of the day)update_couponnow throwsErrorListResponseException- added
currency_pricesforCouponresponse. Note you need to specify suitable query parameters to access it - added
currency_pricesquery parameter forread_couponandfind_coupon - added some missing descriptions
- changed
Couponamount_in_centsto long - changed
CouponCurrencypriceto nullable double andidto nullable Integer create_or_update_coupon_currency_pricesnow throwsErrorStringMapResponseException
- renamed
-
Subscription Fixes:
- added
SubscriptionResponseforpurge_subscriptionoperation purge_subscriptionnow throwsSubscriptionResponseErrorExceptionupdate_prepaid_subscription_configurationnow 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
price_in_centsfrom component request models - removed
pricesfromOnOffComponentrequest model (unit_price should be used) - Fixed
ComponentPricePointexpiration_interval_unittype - corrected some descriptions
- Define exceptions for create component price points operations
- removed
-
Currency Prices fixes:
- add
currency_pricesquery parameter toread_component_price_point UpdateCurrencyPricepriceis nowdoubleinstead ofint- Add
price_idandprice_point_idtoCurrencyPrice - Return verbose exception message for currency prices operations
- add
-
Events fixes:
- Added
EventKeyenum and filled it with missing event types - merged
SubscriptionGroupSignupFailureandSubscriptionGroupSignupFailureandSubscriptionGroupSignupSuccessintoSubscriptionGroupSignupEventData. - documented
keytoevent_specific_datamappings. - removed
EventTypeused ineventsendpoints for filter.EventKeyshould be used instead.
- Added
-
Misc:
- Added missing properties and types for
Invoice - fixed
record_eventandbulk_record_events. 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
initiate_delayed_cancellationandcancel_dunningthrowErrorListResponseExceptionon 422 error - added
processingInvoice Status - Fix errors for Subscription Notes
- Add error model for
list_offers - Use date/date_time instead of string for filtering when listing products and product families
- Now it's possible to list archived product price points using
archivedproperty withlist_product_price_points
- Added missing properties and types for
Full Changelog: 5.2.0...6.0.0