Releases: maxio-com/ab-dotnet-sdk
Releases · maxio-com/ab-dotnet-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 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
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 new site by @michalpierog in #38
- [DE-932] Release 5.0.0 by @maciej-nedza in #39
- 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 #40
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 @maciej-nedza in #37
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] Objects for filters in list requests, remove redundant container classes by @maciej-nedza in #31
- [DE-799] Add missing nullable types by @maciej-nedza in #32
- [DE-827] Fix test env by @maciej-nedza in #33
- [DE-801] Fix invoice events by @maciej-nedza in #35
- [DE-801] Improve organization description by @maciej-nedza in #36
Full Changelog: 2.0.0...3.0.0
2.0.0
What's Changed
- [DE-726] Set date and date-time formats, fix webhooks and endpoints models [DE-728] Remove deprecated authentication code by @maciej-nedza in #25
- [DE-697] Fix flaky invoice events test by @patryk-grudzien-keen in #26
- [DE-746] Update SDK by @maciej-nedza in #27
- [DE-746] Add coupons missing field by @maciej-nedza in #28
- [DE-733] Code fixes before the Release by @patryk-grudzien-keen in #29
- [DE-759] Release 2.0.0 by @michalpierog in #30
Full Changelog: 1.0.0...2.0.0
1.0.0
What's Changed
- [DE-693] Fix inconsistencies between method names and titles in docs by @maciej-nedza in #21
- [DE-679] 1.0.0 Release by @michalpierog in #22
- [DE-679] 1.0.0 Release by @michalpierog in #23
Full Changelog: 0.0.4...1.0.0
0.0.4 Release
What's Changed
- feat: added tests with simple scenarios + gitignore by @Styx8888 in #2
- chore: added .codegenignore by @Styx8888 in #3
- feat: modified dotnet.yml pipeline, added another .sln for tests, rem… by @Styx8888 in #5
- chore: added tests sln to codeignore by @Styx8888 in #7
- SDK updates by @maciej-nedza in #8
- chore: update gitignore + tests by @Styx8888 in #9
- Subscriptions tests by @Styx8888 in #10
- chore: remove creds by @Styx8888 in #11
- Advanced subscription tests by @Styx8888 in #12
- SDK Updates by @maciej-nedza in #13
- SDK updates by @maciej-nedza in #14
- Subscription components tests by @Styx8888 in #15
- chore: deleted creds by @Styx8888 in #16
- SDK Updates by @patryk-grudzien-keen in #17
- Invoice tests by @Styx8888 in #18
- 0.0.4 Release by @michalpierog in #20
New Contributors
- @Styx8888 made their first contribution in #2
- @maciej-nedza made their first contribution in #8
- @patryk-grudzien-keen made their first contribution in #17
Full Changelog: 0.0.3...0.0.4
0.0.3
What's Changed
- 0.0.3 Release by @michalpierog in #1
New Contributors
- @michalpierog made their first contribution in #1
Full Changelog: https://github.com/maxio-com/ab-dotnet-sdk/commits/0.0.3