Java SDK changes

2.233.0

Released: 2024-12-15

  • Added: getActiveSubscriptionsList_trialConfiguration and getActiveSubscriptionsList_trialConfiguration_trialEndDate

2.217.0

Released: 2024-12-08

  • Added: ability to override prices when there's a scheduled update in place

2.212.4

Released: 2024-12-3

  • Added: TrialConfiguration to getActiveSubscriptions()

2.212.1

Released: 2024-12-02

  • Added: validation that coupon name does not exceed 40 characters

2.209.0

Released: 2024-12-02

  • Added: SubscriptionCoupon.amountsOff
  • Added: SubscriptionCoupon.description
  • Added: SubscriptionCoupon.durationInMonths
  • Added: SubscriptionCoupon.name
  • Added: SubscriptionCoupon.percentOff

2.207.0

Released: 2024-12-01

  • Added: EstimateSubscriptionInput.TrialOverrideConfigurationInput.trialEndBehavior
  • Added: PreviewSubscriptionInput.TrialOverrideConfigurationInput.trialEndBehavior

2.204.0

Released: 2024-11-24

  • Added: EstimateSubscriptionInput.TrialOverrideConfigurationInput.trialEndDate
  • Added: PreviewSubscriptionInput.TrialOverrideConfigurationInput.trialEndDate

2.199.0

Released: 2024-11-21

  • Added: support for price localization in fixed fee coupons

2.196.1

Released: 2024-11-18

  • Added: Ability to remove customer's email address by passing an empty string on updateCustomer.email

2.196.0

Released: 2024-11-18

  • Added: DelegateSubscriptionToCustomer()
  • Added: TransferSubscriptionToResource()
  • 🟑 Deprecated: TransferSubscriptin() method (please use TransferSubscriptionToResource() instead)

2.188.0

Released: 2024-11-05

  • Added: UsageHistoryFragment.Markersto reflect information about the reset usage dates

2.178.1

Released: 2024-11-04

  • Fixed: issue where customer.discount.deleted event from Stripe isn't handled properly

2.179.0

Released: 2024-11-05

  • Added: Edge support for GetActiveSubscriptionsListQuery

2.175.4

Released: 2024-10-31

  • Added: ability to set any date in the SubscriptionFragment.trial_end_date

2.162.0

Released: 2024-10-13

  • Added: ability to estimate the subscription cost when the payment of the subscription is delegated to a different customer using:
    • ProvisionSubscriptionInput.payingCustomerId
    • UpdateSubscriptionInput.payingCustomerId
    • ApplySubscriptionInput.payingCustomerId
    • PreviewSubscriptionInput.payingCustomerId
    • EstimateSubscriptionInput.payingCustomerId
    • EstimateSubscriptionUpdateInput.payingCustomerId

2.160.0

Released: 2024-10-13

  • Added: throw error when sync to Stripe fails due to unrecognized customer billing address

2.151.0

Released: 2024-10-06

  • Added: ability to more easily determine the usage period of metered entitlements using:
    • Entitlement.usagePeriodStart
    • Entitlement.usagePeriodEnd
  • 🟑 Deprecated: Entitlement.nextResetDate field

2.131.1

Released: 2024-09-19

  • Added: throw error when attempting to import a customer with an existing billingId

2.129.0

Released: 2024-09-17

  • Added: CustomerPortalSubscriptionFragment.planId

2.123.1

Released: 2024-09-11

  • Added: SubscriptionCouponInput.billingCouponId
  • 🟑 Deprecated: ProvisionSubscriptionInput.promotionCode
  • 🟑 Deprecated: UpdateSubscriptionInput.promotionCode
  • 🟑 Deprecated: ApplySubscriptionInput.promotionCode
  • 🟑 Deprecated: PreviewSubscriptionInput.promotionCode
  • 🟑 Deprecated: EstimateSubscriptionInput.promotionCode
  • 🟑 Deprecated: EstimateSubscriptionUpdateInput.promotionCode

2.100.2

Released: 2024-09-01

  • Added: ability to delegate payment of a provisioned subscription to a different customer using:
    • ProvisionSubscriptionInput.payingCustomerId
    • ApplySubscriptionInput.payingCustomerId
    • SlimSubscriptionFragmentV2.payingCustomer
    • FullSubscription.payingCustomer

2.86.0

Released: 2024-08-22

  • Added: ability to apply a coupon to a subscription using the Stigg coupon ID using:
    • ProvisionSubscriptionInput.appliedCoupon
    • UpdateSubscriptionInput.appliedCoupon
    • ApplySubscriptionInput.appliedCoupon
    • PreviewSubscriptionInput.appliedCoupon
    • EstimateSubscriptionInput.appliedCoupon
    • EstimateSubscriptionUpdateInput.appliedCoupon

2.80.2

Released: 2024-08-20

  • Changed: ImportCustomerBulk changed to ImportCustomerBulkInput

2.62.4

Released: 2024-08-07

  • Added: ability to undo subscription scheduled cancelation using CancelSubscriptionUpdates()

2.62.0

Released: 2024-08-07

  • Added: ability to preview a subscription's upcoming invoice using PreviewNextInvoice()

2.20.0

Released: 2024-07-07

  • Changed: GetUsageHistory() now returns the precise timestamp when the usage was reset

2.13.5

Released: 2024-07-01

  • Changed: UpdateSubscriptionInput.subscriptionEntitlements does not require the full list of entitlements when needing to add or update specific entitlements

2.8.2

Released: 2024-06-27

  • Added: TrialOverrideConfigurationInput.trialEndDate to allow scheduled trial cancelation when provisioning and updating subscriptions

1.236.0

Released: 2024-06-20

  • Added: ability to get the list of active subscriptions from Edge using GetActiveSubscriptionsList()

1.232.0

Released: 2024-06-16

  • Added: ability to get the list of active subscriptions using GetActiveSubscriptions()

1.0.0

Released: 2024-01-22

❗Breaking change

  • Changed: For Volume/tiered pricing, unitPrice was moved to flatPrice.