github stripe/stripe-java v31.4.0-alpha.3

pre-release8 hours ago
  • #2154 Update generated code for private-preview
    • Add support for new resources v2.billing.CadenceSpendModifier, v2.billing.OneTimeItem, and v2.billing.RateCardCustomPricingUnitOverageRate
    • Add support for create, delete, list, and retrieve methods on resource v2.billing.RateCardCustomPricingUnitOverageRate
    • Add support for create, list, retrieve, and update methods on resource v2.billing.OneTimeItem
    • Add support for retrieve method on resource v2.billing.CadenceSpendModifier
    • Add support for settlementType on ApplicationFee
    • Add support for rateCardCustomPricingUnitOverageRateDetails on InvoiceItem.pricing and InvoiceLineItem.pricing
    • Add support for defaultSettings on InvoiceCreatePreviewParams.schedule_details
    • Change type of QuoteUpdateParams.subscription_data_overrides[].billingSchedules from emptyable(array(billing_schedules_update_specs)) to array(billing_schedules_update_specs)
    • Add support for paymentBehavior on SubscriptionResumeParams
    • Add support for effectiveAt and spendModifierRule on v2.billing.IntentAction.apply, v2.billing.IntentAction.remove, v2.billing.IntentCreateParams.actions[].apply, and v2.billing.IntentCreateParams.actions[].remove
    • Change type of v2.billing.IntentAction.apply.type, v2.billing.IntentAction.remove.type, v2.billing.IntentCreateParams.actions[].apply.type, and v2.billing.IntentCreateParams.actions[].remove.type from literal('invoice_discount_rule') to enum('invoice_discount_rule'|'spend_modifier_rule')
    • Change EventsV2CoreHealthFraudRateIncreasedEvent.impact.realized_fraud_amount.value, EventsV2CoreHealthIssuingAuthorizationRequestErrorsFiringEvent.impact.approved_amount.value, EventsV2CoreHealthIssuingAuthorizationRequestErrorsFiringEvent.impact.declined_amount.value, EventsV2CoreHealthIssuingAuthorizationRequestErrorsResolvedEvent.impact.approved_amount.value, EventsV2CoreHealthIssuingAuthorizationRequestErrorsResolvedEvent.impact.declined_amount.value, EventsV2CoreHealthIssuingAuthorizationRequestTimeoutFiringEvent.impact.approved_amount.value, EventsV2CoreHealthIssuingAuthorizationRequestTimeoutFiringEvent.impact.declined_amount.value, EventsV2CoreHealthIssuingAuthorizationRequestTimeoutResolvedEvent.impact.approved_amount.value, EventsV2CoreHealthIssuingAuthorizationRequestTimeoutResolvedEvent.impact.declined_amount.value, v2.FinancialAddressCreditSimulationCreditParams.amount.value, v2.billing.ServiceActionCreateParams.credit_grant.amount.monetary.value, v2.billing.ServiceActionCreateParams.credit_grant_per_tenant.amount.monetary.value, v2.core.AccountCreateParams.identity.business_details.annual_revenue.amount.value, v2.core.AccountCreateParams.identity.business_details.monthly_estimated_revenue.amount.value, v2.core.AccountTokenCreateParams.identity.business_details.annual_revenue.amount.value, v2.core.AccountTokenCreateParams.identity.business_details.monthly_estimated_revenue.amount.value, v2.core.AccountUpdateParams.identity.business_details.annual_revenue.amount.value, v2.core.AccountUpdateParams.identity.business_details.monthly_estimated_revenue.amount.value, v2.moneymanagement.CurrencyConversionCreateParams.from.amount.value, v2.moneymanagement.CurrencyConversionCreateParams.to.amount.value, v2.moneymanagement.InboundTransferCreateParams.amount.value, v2.moneymanagement.OutboundPaymentCreateParams.amount.value, v2.moneymanagement.OutboundPaymentQuoteCreateParams.amount.value, v2.moneymanagement.OutboundTransferCreateParams.amount.value, v2.payments.OffSessionPaymentCreateParams.amount.value, v2.payments.SettlementAllocationIntentCreateParams.amount.value, v2.payments.SettlementAllocationIntentSplitCreateParams.amount.value, and v2.payments.SettlementAllocationIntentUpdateParams.amount.value to be required
    • Change EventsV2CoreHealthFraudRateIncreasedEvent.impact.realized_fraud_amount.currency, EventsV2CoreHealthIssuingAuthorizationRequestErrorsFiringEvent.impact.approved_amount.currency, EventsV2CoreHealthIssuingAuthorizationRequestErrorsFiringEvent.impact.declined_amount.currency, EventsV2CoreHealthIssuingAuthorizationRequestErrorsResolvedEvent.impact.approved_amount.currency, EventsV2CoreHealthIssuingAuthorizationRequestErrorsResolvedEvent.impact.declined_amount.currency, EventsV2CoreHealthIssuingAuthorizationRequestTimeoutFiringEvent.impact.approved_amount.currency, EventsV2CoreHealthIssuingAuthorizationRequestTimeoutFiringEvent.impact.declined_amount.currency, EventsV2CoreHealthIssuingAuthorizationRequestTimeoutResolvedEvent.impact.approved_amount.currency, EventsV2CoreHealthIssuingAuthorizationRequestTimeoutResolvedEvent.impact.declined_amount.currency, v2.FinancialAddressCreditSimulationCreditParams.amount.currency, v2.billing.ServiceActionCreateParams.credit_grant.amount.monetary.currency, v2.billing.ServiceActionCreateParams.credit_grant_per_tenant.amount.monetary.currency, v2.core.AccountCreateParams.identity.business_details.annual_revenue.amount.currency, v2.core.AccountCreateParams.identity.business_details.monthly_estimated_revenue.amount.currency, v2.core.AccountTokenCreateParams.identity.business_details.annual_revenue.amount.currency, v2.core.AccountTokenCreateParams.identity.business_details.monthly_estimated_revenue.amount.currency, v2.core.AccountUpdateParams.identity.business_details.annual_revenue.amount.currency, v2.core.AccountUpdateParams.identity.business_details.monthly_estimated_revenue.amount.currency, v2.moneymanagement.CurrencyConversionCreateParams.from.amount.currency, v2.moneymanagement.CurrencyConversionCreateParams.to.amount.currency, v2.moneymanagement.InboundTransferCreateParams.amount.currency, v2.moneymanagement.OutboundPaymentCreateParams.amount.currency, v2.moneymanagement.OutboundPaymentQuoteCreateParams.amount.currency, v2.moneymanagement.OutboundTransferCreateParams.amount.currency, v2.payments.OffSessionPaymentCreateParams.amount.currency, v2.payments.SettlementAllocationIntentCreateParams.amount.currency, v2.payments.SettlementAllocationIntentSplitCreateParams.amount.currency, and v2.payments.SettlementAllocationIntentUpdateParams.amount.currency to be required

See the changelog for more details.

Don't miss a new stripe-java release

NewReleases is sending notifications on new releases.