chargebee-typescript
Version:
A library in typescript for integrating with Chargebee.
989 lines (808 loc) • 109 kB
Markdown
### v2.48.0 (2025-05-15)
* * *
### New Resources
* UsageFile has been added.
### Input Parameter
* discount[apply_on] has been made optional from required in Estimate#CreateSubItemEstimateRequest.
* discount[apply_on] has been made optional from required in Estimate#CreateSubItemForCustomerEstimateRequest.
* discount[apply_on] has been made optional from required in Estimate#UpdateSubscriptionForItemsRequest.
* discount[apply_on] has been made optional from required in HostedPage#CheckoutNewForItemsRequest.
* discount[apply_on] has been made optional from required in HostedPage#CheckoutNewForItemsRequest.
* discount[apply_on] has been made optional from required in HostedPage#CheckoutNewForItemsRequest.
* discount[apply_on] has been made optional from required in HostedPage#CheckoutNewForItemsRequest.
* discount[apply_on] has been made optional from required in PricingPageSession#CheckoutNewForItemsRequest.
* discount[apply_on] has been made optional from required in PricingPageSession#CreateForExistingSubscriptionRequest.
* discount[apply_on] has been made optional from required in Quote#CreateSubItemsForCustomerQuoteRequest.
* discount[apply_on] has been made optional from required in Quote#EditCreateSubCustomerQuoteForItemsRequest.
* discount[apply_on] has been made optional from required in Quote#UpdateSubscriptionQuoteForItemsRequest.
* discount[apply_on] has been made optional from required in Quote#EditUpdateSubscriptionQuoteForItemsRequest.
* discount[apply_on] has been made optional from required in Subscription#CreateWithItemsRequest.
* discount[apply_on] has been made optional from required in Subscription#UpdateForItemsRequest.
* discount[apply_on] has been made optional from required in Subscription#ImportForItemsRequest.
* line_item_addresses[] has been added to Invoice#ImportInvoiceRequest.
* source has been added to OmnichannelSubscription#OmnichannelSubscriptionListRequest.
### Attributes:
* swift_code has been made optional from required in VirtualBankAccount.
### Enum Attributes:
* OMNICHANNEL_SUBSCRIPTION_ITEM_PAUSED has been added to EventTypeEnum.
* PAUSED has been added to OmnichannelSubscriptionItem#StatusEnum.
* MERCHANT_REVOKED has been added to OmnichannelSubscriptionItem#CancellationReasonEnum.
### v2.47.1 (2025-04-25)
* * *
### Bug fixes:
* Fixed an issue where the optional boolean field is_percentage_pricing at Item Model was incorrectly marked as required.
* Fixed an issue where the optional enum field item_applicability at Item Model was incorrectly marked as required.
### v2.47.0 (2025-04-23)
* * *
### New Resources:
* OmnichannelSubscriptionItemScheduledChange has been added.
### New Attributes:
* pricing_type has been added to DifferentialPrice#Tier.
* package_size has been added to DifferentialPrice#Tier.
* pricing_type has been added to ItemPrice#Tier.
* package_size has been added to ItemPrice#Tier.
* pricing_type has been added to Addon#Tier.
* package_size has been added to Addon#Tier.
* pricing_type has been added to Plan#Tier.
* package_size has been added to Plan#Tier.
* pricing_type has been added to CreditNote#LineItemTier.
* package_size has been added to CreditNote#LineItemTier.
* pricing_type has been added to CreditNoteEstimate#LineItemTier.
* package_size has been added to CreditNoteEstimate#LineItemTier.
* pricing_type has been added to DifferentialPrice#Tier.
* package_size has been added to DifferentialPrice#Tier.
* pricing_type has been added to Invoice#LineItemTier.
* package_size has been added to Invoice#LineItemTier.
* pricing_type has been added to InvoiceEstimate#LineItemTier.
* package_size has been added to InvoiceEstimate#LineItemTier.
* pricing_type has been added to Quote#LineItemTier.
* package_size has been added to Quote#LineItemTier.
* pricing_type has been added to QuotedCharge#LineItemTier.
* package_size has been added to QuotedCharge#LineItemTier.
* pricing_type has been added to QuotedSubscription#LineItemTier.
* package_size has been added to QuotedSubscription#LineItemTier.
* pricing_type has been added to Ramp#ItemTier.
* package_size has been added to Ramp#ItemTier.
* pricing_type has been added to Subscription#ItemTier.
* package_size has been added to Subscription#ItemTier.
* pricing_type has been added to UnbilledCharges#Tier.
* package_size has been added to UnbilledCharges#Tier.
* metered has been added to CreditNote#LineItem.
* metered has been added to CreditNoteEstimate#LineItem.
* metered has been added to Invoice#LineItem.
* metered has been added to Quote#LineItem.
* metered has been added to QuoteLineGroup#LineItem.
* usage_percentage has been changed to percentage in CreditNote#LineItem.
* usage_percentage has been changed to percentage in CreditNoteEstimate#LineItem.
* usage_percentage has been changed to percentage in Invoice#LineItem.
* usage_percentage has been changed to percentage in Quote#LineItem.
* usage_percentage has been changed to percentage in QuoteLineGroup#LineItem.
* line_item_addresses has been added to CreditNote.
* line_item_addresses has been added to Invoices.
* line_item_addresses has been added to InvoiceEstimate.
* has_scheduled_changes has been added on OmnichannelSubscriptionItem.
* item_parent_id_at_source has been added to OmnichannelSubscriptionItem.
* auto_renew_status has been added to OmnichannelSubscriptionItem.
* upcoming_renewal has been added to OmnichannelSubscriptionItem.
* is_percentage_pricing has been added to Item.
### New Action:
* listOmniSubItemScheduleChanges has been added to OmnichannelSubscriptionItem.
### Optional Attribute:
* price_currency has been made optional from requried in OmnichannelTransaction.
* price_units has been made optional from requried in OmnichannelTransaction.
* price_nanos has been made optional from requried in OmnichannelTransaction.
* transacted_at has been made optional from requried in OmnichannelTransaction.
### New Input Params:
* item_tiers[pricing_type] has been added to DifferentialPrice#CreateInputParam.
* item_tiers[package_size] has been added to DifferentialPrice#CreateInputParam.
* item_tiers[pricing_type] has been added to ItemPrice#CreateInputParam.
* item_tiers[package_size] has been added to ItemPrice#CreateInputParam.
* tiers[pricing_type] has been added to DifferentialPrice#CreateInputParam.
* tiers[package_size] has been added to DifferentialPrice#CreateInputParam.
* item_tiers[pricing_type] has been added to Estimate#CreateSubItemEstimateRequestInputParam.
* item_tiers[package_size] has been added to Estimate#CreateSubItemEstimateRequestInputParam.
* item_tiers[pricing_type] has been added to Estimate#CreateSubItemForCustomerRequestInputParam.
* item_tiers[package_size] has been added to Estimate#CreateSubItemForCustomerRequestInputParam.
* item_tiers[pricing_type] has been added to Estimate#UpdateSubscriptionForItemsRequestInputParam.
* item_tiers[package_size] has been added to Estimate#UpdateSubscriptionForItemsRequestInputParam.
* item_tiers[pricing_type] has been added to Estimate#CreateInvoiceForItemsRequestInputParam.
* item_tiers[package_size] has been added to Estimate#CreateInvoiceForItemsRequestInputParam.
* item_tiers[pricing_type] has been added to Estimate#CheckoutNewForItemsRequestInputParam.
* item_tiers[package_size] has been added to Estimate#CheckoutNewForItemsRequestInputParam.
* item_tiers[pricing_type] has been added to Estimate#CheckoutOneTimeForItemsRequestInputParam.
* item_tiers[package_size] has been added to Estimate#CheckoutOneTimeForItemsRequestInputParam.
* item_tiers[pricing_type] has been added to Estimate#CheckoutExistingForItemsRequestInputParam.
* item_tiers[package_size] has been added to Estimate#CheckoutExistingForItemsRequestInputParam.
* item_tiers[pricing_type] has been added to Invoice#CreateForChargeItemsAndChargesRequestInputParam.
* item_tiers[package_size] has been added to Invoice#CreateForChargeItemsAndChargesRequestInputParam.
* item_tiers[pricing_type] has been added to Invoice#CreateForChargeItemRequestInputParam.
* item_tiers[package_size] has been added to Invoice#CreateForChargeItemRequestInputParam.
* item_tiers[pricing_type] has been added to Invoice#AddChargeItemRequestInputParam.
* item_tiers[package_size] has been added to Invoice#AddChargeItemRequestInputParam.
* item_tiers[pricing_type] has been added to Quote#CreateSubItemsForCustomerQuoteRequestInputParam.
* item_tiers[package_size] has been added to Quote#CreateSubItemsForCustomerQuoteRequestInputParam.
* item_tiers[pricing_type] has been added to Quote#EditCreateSubCustomerQuoteForItemsRequestInputParam.
* item_tiers[package_size] has been added to Quote#EditCreateSubCustomerQuoteForItemsRequestInputParam.
* item_tiers[pricing_type] has been added to Quote#UpdateSubscriptionQuoteForItemsRequestInputParam.
* item_tiers[package_size] has been added to Quote#UpdateSubscriptionQuoteForItemsRequestInputParam.
* item_tiers[pricing_type] has been added to Quote#EditUpdateSubscriptionQuoteForItemsRequestInputParam.
* item_tiers[package_size] has been added to Quote#EditUpdateSubscriptionQuoteForItemsRequestInputParam.
* item_tiers[pricing_type] has been added to Quote#CreateForChargeItemsAndChargesRequestInputParam.
* item_tiers[package_size] has been added to Quote#CreateForChargeItemsAndChargesRequestInputParam.
* item_tiers[pricing_type] has been added to Quote#EditForChargeItemsAndChargesRequestInputParam.
* item_tiers[package_size] has been added to Quote#EditForChargeItemsAndChargesRequestInputParam.
* item_tiers[pricing_type] has been added to Ramp#CreateForSubscriptionRequestInputParam.
* item_tiers[package_size] has been added to Ramp#CreateForSubscriptionRequestInputParam.
* item_tiers[pricing_type] has been added to Ramp#UpdateRequestInputParam.
* item_tiers[package_size] has been added to Ramp#UpdateRequestInputParam.
* item_tiers[pricing_type] has been added to Subscription#CreateWithItemsRequestInputParam.
* item_tiers[package_size] has been added to Subscription#CreateWithItemsRequestInputParam.
* item_tiers[pricing_type] has been added to Subscription#UpdateForItemsRequestInputParam.
* item_tiers[package_size] has been added to Subscription#UpdateForItemsRequestInputParam.
* item_tiers[pricing_type] has been added to Subscription#ImportForItemsRequestInputParam.
* item_tiers[package_size] has been added to Subscription#ImportForItemsRequestInputParam.
* item_tiers[pricing_type] has been added to UnbilledCharged#CreateRequestInputParam.
* item_tiers[package_size] has been added to UnbilledCharged#CreateRequestInputParam.
* billing_address has been added to Estimate#CreateInvoiceForItemsRequestInputParam.
* google_play_store[purchase_token] has been added to RecordedPurchase#CreateRequestInputParam.
* is_percentage_pricing has been added to Item#CreateRequest.
* include_deleted has been added to PaymentSource#ListRequest.
### New Enums:
* OMNICHANNEL_SUBSCRIPTION_ITEM_SCHEDULED_CHANGE has been added to EntityType#Enum.
* OMNICHANNEL_SUBSCRIPTION_ITEM_CHANGE_SCHEDULED has been added to EventType#Enum.
* OMNICHANNEL_SUBSCRIPTION_ITEM_SCHEDULED_CHANGE_REMOVED has been added to EventType#Enum.
* OMNICHANNEL_SUBSCRIPTION_ITEM_REACTIVATED has been added to EventType#Enum.
* GOOGLE_PLAY_STORE has been added to OminchannelSubscription#SourceEnum.
* SPECIFIC_DATE has been added to ContractTermCancelOption.
* END_OF_SUBSCRIPTION_BILLING_TERM has been added to ContractTermCancelOption.
* PAYSTACK has been added to GatewayEnum.
* PricingType Enum has been added.
* JP_MORGAN has been added to GatewayEnum.
### Deprecated Enums:
* OMNICHANNEL_SUBSCRIPTION_ITEM_DOWNGRADE_SCHEDULED has been deprecated from EntityType#Enum.
* OMNICHANNEL_SUBSCRIPTION_ITEM_SCHEDULED_DOWNGRADE_REMOVED has been deprecated from EntityType#Enum.
* REFUNDED_DUE_TO_APP_ISSUE has been added to OmnichannelSubscriptionItem#CancellationReasonEnum.
* REFUNDED_FOR_OTHER_REASON has been added to OmnichannelSubscriptionItem#CancellationReasonEnum.
### v2.46.0 (2025-03-06)
* * *
### New Input Params:
* created_at has been added to Invoice#LineItemsImportInputParams.
* PaymentIntent has been added to Purchase#CreateInputParams.
### New Enums:
* SUBSCRIPTION_ENTITLEMENTS_UPDATED has been added to EventType#Enum.
### v2.45.0 (2025-02-10)
* * *
#### New Resources:
* Rule has been added.
* UsageEvent has been added.
#### New Attribute:
* deleted has been added to AttachedItem.
* deleted has been added to Coupon.
* deleted has been added to DifferentialPrice.
* deleted has been added to ItemFamily.
* deleted has been added to ItemPrice.
* deleted has been added to Item.
* deleted has been added to PriceVariant.
* tax_application has abeend added to CreditNote#Allocation.
* tax_application has been added to Invoice#AppliedCredit.
* line_item_credit has been added to Invoice.
#### New Input Params:
* exhausted_coupon_ids has been added to Subscription#ImportForItems.
#### New Enums
* STORE has been added in CreditNote#TypeEnum.
* STORE has been added in CreditNoteEstimate#TypeEnum.
* STORE has been added in Order#TypeEnum.
* TaxApplicationEnum has been added in CreditNote#Application.
* TaxApplicationEnum has been added in Invoice#AppliedCredit.
* RECORDED_PURCHASE has been added in EntityTypeEnum.
* RECORD_PURCHASE_FAILED, has been added in EventTypeEnum.
#### Deleted Input Params
* tax_providers_fields has been removed from Customer#MoveParams.
* tax_providers_fields has been removed from Customer#MergeParams
#### Deprecated input params.
* deprecated label in discount_quantity has been removed from Coupon#CreateParams.
* deprecated label in discount_quantity has been removed from Coupon#UpdateParams.
* deprecated label in discount_quantity has been removed from Coupon#CreateForItemsParams.
* deprecated label in discount_quantity has been removed from Coupon#UpdateForItemsParams.
### v2.44.0 (2024-12-19)
* * *
#### New Resource:
* Configuration has been added.
#### New Attribute:
* discount_type has been added to CreditNote#Discount.
* discount_type has been added to CreditNoteEstimate#Discount.
* discount_type has been added to Invoice#Discount.
* discount_type has been added to InvoiceEstimate#Discount.
* discount_type has been added to QuoteLineGroup#Discount.
* initial_purchase_transaction has been added to OmnichannelSubscription.
* error_cause_id has been added to GatewayErrorDetail.
* error_cause_id has been added to Transaction#GatewayErrorDetail.
* error_cause_id has been added to APIError.
* deleted has been added to Quote.
* current_term_start has been added to QuotedSubscripiton#SubscriptionItem.
* current_term_end has been added to QuotedSubscripiton#SubscriptionItem.
* next_billing_at has been added to QuotedSubscripiton#SubscriptionItem.
* current_term_start has been added to Subscription#SubscriptionItem.
* current_term_end has been added to Subscription#SubscriptionItem.
* next_billing_at has been added to Subscription#SubscriptionItem.
* billing_override has been added to Subscription.
* grace_period_expires_at has been added to OmnichannelSubscriptionItem.
#### New Input Params:
* billing_override has been added to Subscription#UpdateForItemsInputParam.
* billing_override has been added to Subscription#CreateWithItemsInputParam.
#### New Enum Values:
* OMNICHANNEL_SUBSCRIPTION_IMPORTED has been added to EventTypeEnum.
* DISABLED has been added to Event#WebhookStatus.
* OMNICHANNEL_SUBSCRIPTION_ITEM_GRACE_PERIOD_STARTED has been added to EventTypeEnum.
* OMNICHANNEL_SUBSCRIPTION_ITEM_GRACE_PERIOD_EXPIRED has been added to EventTypeEnum.
* OMNICHANNEL_SUBSCRIPTION_ITEM_DUNNING_STARTED has been added to EventTypeEnum.
* OMNICHANNEL_SUBSCRIPTION_ITEM_DUNNING_EXPIRED has been added to EventTypeEnum.
* IGNORED has been added to RecordedPurchase#StatusEnum.
* IN_DUNNING & IN_GRACE_PERIOD have been added to OmnichannelSubscriptionItem#StatusEnum.
### v2.43.0 (2024-11-27)
#### New Resource:
* OmnichannelSubscriptionItem has been added.
#### New Attribute:
* resource_version has been added to OmnichannelSubscription.
* resource_version has been added to OmnichannelTransaction.
* resource_version has been added to RecordedPurchase.
#### New Input Parameters:
* limit has been added to OmnichannelSubscription#ListRequest.
* offset has been added to OmnichannelSubscription#ListRequest.
* customer_id has been added to OmnichannelSubscription#ListRequest.
* replace_coupon_list has been added to HostedPage#CheckoutExistingRequest.
* replace_coupon_list has been added to HostedPage#CheckoutExistingForItemsRequest.
* subscription[po_number] has been added to HostedPage#CheckoutNewForItemsRequest.
#### Removed Subresource:
* OmnichannelSubscriptionItem subresource has been removed from OmnichannelSubscription and is now a standalone resource.
#### Deprecated Attribute:
* metadata has been deprecated from subscription.
### v2.42.0 (2024-11-14)
* * *
#### New Resource:
* OmnichannelTransaction has been added.
* OmnichannelSubscription has been added.
* RecordedPurchase has been added.
#### New Attributes:
* business_entity_id has been added to AttachedItem.
* business_entity_id has been added to DifferentialPrice.
* business_entity_id has been added to Items.
* business_entity_id has been added to ItemFamily.
* business_entity_id has been added to ItemPrice.
* business_entity_id has been added to PriceVariant.
* valid_from has been added to coupon.
#### New Input Parameters:
* business_entity_id has been added to AttachedItem#CreateRequest.
* preferred_scheme has been added to Card#UpdateCardForCustomerRequest.
* valid_from has been added to Coupon#CreateForItem & Coupon#UpdateForItemsRequest.
* preferred_scheme has been added to Customer#CreateRequest & Customer#CollectPaymentRequest.
* business_entity_id has been added to DifferentialPrice#CreateRequest.
* preferred_scheme has been added to Invoice#CreateRequest & Invoice#CreateForChargeItemsAndChargesRequest.
* business_entity_id has been added to Items#CreateRequest.
* business_entity_id & include_site_level_resources have been added to Items#ListItemParams.
* business_entity_id has been added to ItemFamily#CreateRequest.
* business_entity_id & include_site_level_resources have been added to ItemFamily#ListItemFamilyParams.
* business_entity_id has been added to ItemPrice#CreateRequest.
* business_entity_id & include_site_level_resources have been added to ItemPrice#ListItemPriceParams.
* business_entity_id & include_site_level_resources have been added to PriceVariant#ListItemFamilyParams.
* business_entity_id has been added to PriceVariant#CreateRequest.
* business_entity_id & include_site_level_resources have been added to PriceVariant#ListPriceVariantParams.
* preferred_scheme has been added to Subscription#CreateRequest, Subscription#UpdateRequest.
* preferred_scheme Subscription#UpdateForItemsRequest, & Subscription#ImportSubscriptionRequest.
* business_entity_id & include_site_level_resources have been added to Export#ItemFamiliesRequest & Export#ItemsRequest.
* business_entity_id & include_site_level_resources have been added to Export#ItemPricesRequest Export#PriceVariantsRequest
* name & flexible_schedules[period] have been added to PaymentScheduleScheme#CreateRequest.
#### New Enum Values:
* FUTURE has been added to Coupon#StatusEnum.
* EXISTING_CUSTOMER & NEW_CUSTOMER have been added to Coupon#TypeEnum.
* LATE_FAILURE has added to Transation#LinkedPaymentEnum & Transation#StatusEnum.
* OMNICHANNEL_SUBSCRIPTION, has been added to EntityTypeEnum.
* OMNICHANNEL_SUBSCRIPTION_ITEM, has been added to EntityTypeEnum.
* OMNICHANNEL_TRANSACTION, has been added to EntityTypeEnum.
* OMNICHANNEL_SUBSCRIPTION_ITEM_RENEWED, has been added to EventTypeEnum.
* OMNICHANNEL_SUBSCRIPTION_CREATED, has been added to EventTypeEnum.
* OMNICHANNEL_SUBSCRIPTION_ITEM_DOWNGRADE_SCHEDULED, has been added to EventTypeEnum.
* OMNICHANNEL_SUBSCRIPTION_ITEM_SCHEDULED_DOWNGRADE_REMOVED, has been added to EventTypeEnum.
* OMNICHANNEL_SUBSCRIPTION_ITEM_DOWNGRADED, has been added to EventTypeEnum.
* OMNICHANNEL_SUBSCRIPTION_ITEM_EXPIRED, has been added to EventTypeEnum.
* OMNICHANNEL_SUBSCRIPTION_ITEM_CANCELLATION_SCHEDULED, has been added to EventTypeEnum.
* OMNICHANNEL_SUBSCRIPTION_ITEM_SCHEDULED_CANCELLATION_REMOVED, has been added to EventTypeEnum.
* OMNICHANNEL_SUBSCRIPTION_ITEM_RESUBSCRIBED, has been added to EventTypeEnum.
* OMNICHANNEL_SUBSCRIPTION_ITEM_UPGRADED, has been added to EventTypeEnum.
* OMNICHANNEL_SUBSCRIPTION_ITEM_CANCELLED, has been added to EventTypeEnum.
### v2.41.0 (2024-10-17)
* * *
#### New Resource:
* PaymentScheduleEstimate has been added.
### New Attributes:
* payment_schedule_estimates has been added to Estimate.
* usage_accumulation_reset_frequency has been added to ItemPrice.
* name has been added to PaymentScheduleScheme.
* usage_accumulation_reset_frequency has been added to QuotedSubscription#SubscriptionItem.
* usage_accumulation_reset_frequency has been added to Subscription#SubscriptionItem.
### New Endpoints:
* Estimate#PaymentSchedule has been added.
### New Input Params:
* usage_accumulation_reset_frequency has been added to ItemPrice#CreateParams.
* usage_accumulation_reset_frequency has been added to ItemPrice#UpdateParams.
* discounts has been added to PricingPageSession#CreateForNewSubscriptionParams.
* discounts has been added to PricingPageSession#CreateForExistingSubscriptionParams.
* invoice_immediately has been added to Quote#ConvertParams.
### v2.40.1 (2024-10-03)
* * *
#### Bug Fixes:
* metadata field not working bug fixed.
* meta_data field not working bug fixed.
### v2.40.0 (2024-09-19)
* * *
#### New Resource:
* PaymentScheduleScheme has been added.
* PaymentSchedule has been added.
### New Endpoints:
* Invoice#ApplyPaymentScheduleScheme has been added.
* Invoice#PaymentSchedules has been added.
### New Attributes
* bundle_items[] has been added to Items.
* bundle_configuration has been added to Items.
#### New Input parameters:
* bundle_configuration has been added to Items#CreateParams, Items#UpdateParams & Items#ListParams.
* bundle_items_to_add[] has been added to Items#CreateParams & Items#UpdateParams.
* bundle_items_to_update[] has been added to Items#UpdateParams.
* bundle_items_to_remove[] has been added to Items#UpdateParams.
* payment_schedule has been added to Purchase#CreateParams.
### New Enum Values:
* payment_schedules_created has been added to EventTypeEnum.
* payment_schedules_updated has been added to EventTypeEnum.
* payment_schedule_scheme_created has been added to EventTypeEnum.
* payment_schedule_scheme_deleted has been added to EventTypeEnum.
### Removed Resource:
* Installment has been removed.
* InstallmentConfig has been removed.
* InstallmentDetail has been removed.
### Removed Endpoints:
* Invoice#Installments has been removed.
### Removed Input parameters:
* installment_info has been removed from Purchase#CreateParams.
### Removed Enum Values:
* invoice_installments_created has been removed from EventTypeEnum.
* invoice_installment_updated has been removed from EventTypeEnum.
* installment_config_created has been removed from EventTypeEnum.
* installment_config_deleted has been removed from EventTypeEnum.
### v2.39.0 (2024-08-29)
* * *
#### New Resource:
* CustomerEntitlement has been added.
#### New Endpoints:
* Ramp#UpdateRequest has been added to Ramp resource.
* Transaction#ReconcileRequest has been added to Transaction resource.
### New Attributes:
* arr has been added to Subscription.
### New Enum Values:
* customer_entitlements_updated has been added to EntityTypeEnum.
* subscription_moved_in has been added in EventType enum.
* subscription_moved_out has been added in EventType enum.
* subscription_movement_failed has been added in EventType enum.
### v2.38.0 (2024-08-14)
* * *
#### New Attributes:
* feature_type has been added in SubscriptionEntitlement.
* business_entity_id has been made optional in Quote.
* business_entity_id has been made optional in CreditNote.
#### New Input parameters:
* invoice_usages has been added in Subscription#UpdateForItemsRequest.
* invoice_usages has been added in Estimate#UpdateSubscriptionForItemsRequest.
### v2.37.0 (2024-07-31)
* * *
#### New Resource:
* Metadata has been added.
#### New Attributes:
* variant_group has been added in PriceVariant resource.
* effective_from & schedule_status have been added in EntitlementOverride resource.
* effective_from & schedule_status have been added in SubscriptionEntitlement resource.
* status_transition_reason has been added in Ramp subresource.
* billing_period & billing_period_unit have been added in SubscriptionItem subresource.
#### New Input parameters:
* variant_group has been added to PriceVariant#CreateRequest, PriceVariant#UpdateRequest.
* include_scheduled_overrides has been added to SubscriptionEntitlement#SubscriptionEntitlementsForSubscriptionRequest.
* entitlement_overrides[effective_from] has been added to SubscriptionEntitlement#SubscriptionEntitlementsForSubscriptionRequest.
* entitlement_overrides[effective_from] has been added to EntitlementOverride#AddEntitlementOverrideForSubscriptionRequest.
* include_scheduled_overrides has been added to EntitlementOverride#ListEntitlementOverrideForSubscriptionRequest.
* updated_at has been added to Usage#ListRequest.
#### New Enum values:
* SUBSCRIPTION_ITEMS_RENEWED has been added in EventType enum.
* SUBSCRIPTION_RAMP_DRAFTED has been added in EventType enum.
* SUBSCRIPTION_RAMP_UPDATED has been added in EventType enum.
### Bug Fixes:
* estimate.invoiceEstimate should return undefined instead of empty object.
### v2.36.0 (2024-07-19)
* * *
#### New Input parameters:
* change_option has been added to HostedPage#CheckoutExistingForItemsRequest.
* changes_scheduled_at has been added to HostedPage#CheckoutExistingForItemsRequest.
### v2.35.0 (2024-07-04)
* * *
* Moved @types/q from dependencies to devDependencies to fix https://github.com/chargebee/chargebee-typescript/issues/55.
### v2.34.0 (2024-07-03)
* * *
#### New resources:
* Currency has been added.
* PricingPageSession Transfer has been added.
#### New Enum
* cancel_option Enum has been added.
#### New Enum values:
* ONLINE_BANKING_POLAND has been added in PaymentMethod enum.
* ONLINE_BANKING_POLAND has been added in PaymentMethodType enum.
* ONLINE_BANKING_POLAND has been added in Type enum.
* DRAFT has been added in Ramp enum.
#### New Input parameters:
* cancel_option has been added to Estimate#CancelSubscriptionRequest, Estimate#CancelSubscriptionForItemsRequest.
* cancel_option has been added to Subscription#CancelForItemsRequest, Subscription#CancelRequest.
* statement_descriptor[descriptor] has been added to Purchase#ChargeRequest.
#### New Attributes:
* tax_origin has been added to Invoice.
* tax_origin has been added to CreditNote.
### v2.33.0 (2024-05-28)
* * *
#### New resources:
* BusinessEntity has been added.
* BusinessEntity Transfer has been added.
#### New Enum values:
* NUVEI has been added in Gateway enum.
#### New Attributes:
* site_details_at_creation has been added to CreditNote.
* site_details_at_creation has been added to Invoice.
#### New Input parameters:
* tax_providers_fields[provider_name] has been added to Addon#CreateRequest, Addon#UpdateRequest.
* tax_providers_fields[field_id] has been added to Addon#CreateRequest, Addon#UpdateRequest.
* tax_providers_fields[field_value] has been added to Addon#CreateRequest, #UpdateRequest.
* tax_providers_fields[provider_name] has been added to Customer#CreateRequest, Customer#UpdateRequest, Customer#MoveRequest.
* tax_providers_fields[field_id] has been added to Customer#CreateRequest, Customer#UpdateRequest, Customer#MoveRequest.
* tax_providers_fields[field_value] has been added to Customer#CreateRequest, Customer#UpdateRequest, Customer#MoveRequest..
* tax_providers_fields[provider_name] has been added to Estimate#CreateSubscriptionRequest, Estimate#CreateSubItemEstimateRequest, Estimate#CreateInvoiceRequest, CreateInvoiceForItemsRequest.
* tax_providers_fields[field_id] has been added to Estimate#CreateSubscriptionRequest, Estimate#CreateSubItemEstimateRequest, Estimate#CreateInvoiceRequest, CreateInvoiceForItemsRequest.
* tax_providers_fields[field_value] has been added to Estimate#CreateSubscriptionRequest, Estimate#CreateSubItemEstimateRequest, Estimate#CreateInvoiceRequest, CreateInvoiceForItemsRequest.
* tax_providers_fields[provider_name] has been added to Invoice#CreateRequest, Invoice#CreateForChargeItemsAndChargesRequest, Invoice#ChargeRequest.
* tax_providers_fields[field_id] has been added to Invoice#CreateRequest, Invoice#CreateForChargeItemsAndChargesRequest, Invoice#ChargeRequest.
* tax_providers_fields[field_value] has been added to Invoice#CreateRequest, Invoice#CreateForChargeItemsAndChargesRequest, Invoice#ChargeRequest.
* tax_providers_fields[provider_name] has been added to ItemPrice#CreateRequest, ItemPrice#UpdateRequest.
* tax_providers_fields[field_id] has been added to ItemPrice#CreateRequest, ItemPrice#UpdateRequest.
* tax_providers_fields[field_value] has been added to ItemPrice#CreateRequest, ItemPrice#UpdateRequest.
* tax_providers_fields[provider_name] has been added to Plan#CreateRequest, Plan#UpdateRequest.
* tax_providers_fields[field_id] has been added to Plan#CreateRequest, Plan#UpdateRequest.
* tax_providers_fields[field_value] has been added to Plan#CreateRequest, Plan#UpdateRequest.
* tax_providers_fields[provider_name] has been added to Quote#EditOneTimeQuoteRequest, Quote#CreateForOnetimeChargesRequest, Quote#CreateForChargeItemsAndChargesRequest, Quote#EditForChargeItemsAndChargesRequest.
* tax_providers_fields[field_id] has been added to Quote#EditOneTimeQuoteRequest, Quote#CreateForOnetimeChargesRequest, Quote#CreateForChargeItemsAndChargesRequest, Quote#EditForChargeItemsAndChargesRequest.
* tax_providers_fields[field_value] has been added to Quote#EditOneTimeQuoteRequest, Quote#CreateForOnetimeChargesRequest, Quote#CreateForChargeItemsAndChargesRequest, Quote#EditForChargeItemsAndChargesRequest.
* tax_providers_fields[provider_name] has been added to UnbilledCharge#CreateUnbilledChargeRequest, UnbilledCharge#CreateRequest.
* tax_providers_fields[field_id] has been added to UnbilledCharge#CreateUnbilledChargeRequest, UnbilledCharge#CreateRequest.
* tax_providers_fields[field_value] has been added to UnbilledCharge#CreateUnbilledChargeRequest, UnbilledCharge#CreateRequest.
* line_items[entity_type] has been added to CreditNote#CreateRequest.
* line_items[entity_id] has been added to CreditNote#CreateRequest.
### v2.32.1 (2024-05-02)
* * *
#### Removed resources:
* Session has been removed.
### v2.32.0 (2024-04-30)
* * *
#### New resources:
* PriceVariant has been added.
* Ramp has been added.
* InstallmentDetail has been added.
* Session has been added.
* Ramp has been added.
#### New Enum values:
* INVOICE_INSTALLMENTS_CREATED has been added in EventType enum.
* INVOICE_INSTALLMENT_UPDATED has been added in EventType enum.
* INSTALLMENT_CONFIG_CREATED has been added in EventType enum.
* INSTALLMENT_CONFIG_DELETED has been added in EventType enum.
* RAMP_CREATED has been added in EventType enum.
* RAMP_DELETED has been added in EventType enum.
* RAMP_APPLIED has been added in EventType enum.
#### New Attributes:
* tax_providers_fields has been added to Addon resource.
* tax_providers_fields has been added to Customer resource.
* tax_providers_fields has been added to ItemPrice resource.
* tax_providers_fields has been added to Plan resource.
* resource_version has been added to Installment resource.
* resource_version has been added to InstallmentConfig resource.
* KlarnaPayNow has been added to PaymentSource resource.
* business_entity_id has been added to UnbilledCharge resource.
#### New Endpoints:
* Exports#PriceVariantsRequest has been added to Exports resource.
#### New Input parameters:
* changes_scheduled_at, change_option has been added to Estimate#UpdateSubscriptionRequest.
* changes_scheduled_at, change_option has been added to Estimate#UpdateSubscriptionForItemsRequest.
* contract_term[contract_start] has been added to Estimate#CreateSubItemEstimateRequest.
* contract_term[contract_start] has been added to Estimate#CreateSubItemForCustomerEstimateRequest.
* contract_term[contract_start] has been added to Subscription#CreateWithItemsRequest.
* contract_term[contract_start] has been added to Subscription#UpdateForItemsRequest.
* price_variant_id has been added to ItemPrice#CreateRequest.
* price_variant_id has been added to ItemPrice#UpdateRequest.
* price_variant_id has been added to ItemPrice#ListRequest.
#### Removed attributes:
* additional_info has been removed from Invoice#StatmentDescriptor resource.
#### Removed Input parameters:
* additional_info has been removed from Subscription#CreateRequest.
* additional_info has been removed from Subscription#CreateForCustomerRequest.
* additional_info has been removed from Subscription#CreateWithItemsRequest.
* additional_info has been removed from Subscription#UpdateRequest.
* additional_info has been removed from Subscription#UpdateForItemsRequest.
* additional_info has been removed from Subscription#ReactivateRequest.
### v2.31.1 (2024-04-03)
* * *
#### New Input parameters:
* to_customer_id has been added to subscription#MoveRequest.
* copy_payment_source has been added to subscription#MoveRequest.
#### New endpoints:
* Subscription#MoveRequest has been added to the Subscription resource.
### v2.31.0 (2024-03-20)
* * *
#### New resources:
* Attribute has been added.
* ImpactedItemPrice has been added.
* InstallmentConfig has been added.
* Installment has been added.
#### Removed attributes:
* product_id has been removed from ItemPrice resource.
#### New Enum values:
* klarna_pay_now has been added to TypeEnum in Customer resource.
* klarna_pay_now has been added to PaymentMethodEnum.
* klarna_pay_now has been added to PaymentMethodTypeEnum enum.
* klarna_pay_now has been added to TypeEnum.
* price_variant has been added to EntityTypeEnum.
* price_variant_created has been added in EventType enum.
* price_variant_updated has been added in EventType enum.
* price_variant_deleted has been added in EventType enum.
#### Removed Enum values:
* product and variant have been removed from EntityTypeEnum.
#### New Input parameters:
* config_id has been added to Invoice#InstallmentsRequest.
* amount has been added to Invoice#InstallmentsRequest.
* payment_source_id has been added to Purchase#CreateRequest.
* installment_info[config_id] has been added to Purchase#CreateRequest.
* installment_info[amount] has been added to Purchase#CreateRequest.
* subscription_info[contract_term_billing_cycle_on_renewal] has been added to Purchase#CreateRequest.
* contract_terms[index] has been added to Purchase#CreateRequest.
* contract_terms[action_at_term_end] has been added to Purchase#CreateRequest.
* contract_terms[cancellation_cutoff_period] has been added to Purchase#CreateRequest.
* subscription_info[contract_term_billing_cycle_on_renewal] has been added to Purchase#EstimateRequest.
* contract_terms[index] has been added to Purchase#EstimateRequest.
* contract_terms[action_at_term_end] has been added to Purchase#EstimateRequest.
* contract_terms[cancellation_cutoff_period] has been added to Purchase#EstimateRequest.
#### Deprecated input parameters:
* product_created, product_updated, product_deleted, variant_created, variant_updated, variant_deleted has been deprecated in EventTypeEnum.
### v2.30.0(2024-02-29)
* * *
#### New attributes:
* usage_percentage has been added to QuoteLineGroup resource.
* usage_percentage has been added to Quote resource.
* usage_percentage has been added to CreditNoteEstimate resource.
* usage_percentage has been added to CreditNote resource.
* usage_percentage has been added to InvoiceEstimate resource.
* usage_percentage has been added to Invoice resource.
* error_detail of type GatewayErrorDetail has been added to PaymentIntent#PaymentAttempt subResource.
* origin_user has been added to Event resource.
* proration_type has been added to QuotedSubscription#SubscriptionItem and Subscription#SubscriptionItem subResources
* network_error_message, recommendation_message, processor_error_code, processor_error_message has been added to Transaction#GatewayErrorDetail subResource.
#### New Enum values:
* TAX_NOT_CONFIGURED_EXTERNAL_PROVIDER has been added to TaxExemptReasonEnum.
#### New Input parameters:
* billing_address has been added to Estimate#CreateSubItemForCustomerEstimateRequest.
* transactions[amount] has been added to Invoice#ApplyPaymentsRequest.
### v2.29.0 (2024-01-31)
* * *
#### New Enum values:
* item_price_entitlements_updated has been added to EventTypeEnum.
* item_price_entitlements_removed has been added to EventTypeEnum.
#### New Input parameters:
* layout has been added to HostedPage#AcceptQuoteRequest in HostedPage resource.
### v2.28.0 (2024-01-04)
* * *
#### New resources:
* Entitlements has been added.
#### New attributes:
* date_to, date_from, prorated_taxable_amount has been added to quote_line_group.
* date_to, date_from, prorated_taxable_amount has been added to quote.
* date_to, date_from, prorated_taxable_amount has been added to credit_note_estimate.
* date_to, date_from, prorated_taxable_amount has been added to credit_note.
* date_to, date_from, prorated_taxable_amount has been added to invoice_estimate.
* date_to, date_from, prorated_taxable_amount has been added to order.
* date_to, date_from, prorated_taxable_amount has been added to invoice.
* active_id has been added to customers.
* active_id has been added to subscriptions.
* reference_id has been made optional for payment_sources/create_using_permanent_token
* custom_payment_method_id has been added to transactions.
* custom_payment_method_name has been added to transactions.
* error_detail has been added to transactions.
#### New Enum values:
* CMR_FALABELLA, TARJETA_NARANJA, NATIVA, CENCOSUD, CABAL, ARGENCARD, ELO, HIPERCARD, CARNET, RUPAY, MAESTRO has been added to Card#CardTypeEnum
* Transferred has been added to Subscription#StatusEnum.
* Transferred has been added to SubscriptionEstimate#StatusEnum.
* AutomatedBankTransfer has been added to PaymentMethodEnum.
* UsAutomatedBankTransfer, GbAutomatedBankTransfer, EuAutomatedBankTransfer, JpAutomatedBankTransfer, MxAutomatedBankTransfer has been added to VirtualBankAccount#SchemeEnum.
* CustomerBusinessEntityChanged, SubscriptionBusinessEntityChanged has been added to EventTypeEnum.
* Dlocal has been added to GatewayEnum.
* UsAutomatedBankTransfer, UkAutomatedBankTransfer, EuAutomatedBankTransfer, JpAutomatedBankTransfer, MxAutomatedBankTransfer, Custom has been added to OfflinePaymentMethodEnum.
* AutomatedBankTransfer has been added to PaymentMethodEnum.
* AutomatedBankTransfer has been added to PaymentMethodTypeEnum.
#### New Input parameters:
* custom_payment_method_name has been added to Transactions#RecordRefundRequest.
* proration_type has been added to Subscription#UpdateForItemsRequest.
* proration_type has been added to ItemPrice.
* payment_initiator has been added to Invoice.
* payment_method_token, customer_profile_token, network_transaction_id, mandate_id, skip_retrieval, card, billing_address has been added to PaymentSource#CreateUsingPermanentTokenRequest.
* subscription_items[proration_type] has been added to Estimate#UpdateSubscriptionForItemsRequest.
* transaction[custom_payment_method_id] has been added to Customer#RecordExcessPaymentRequest.
* transaction[custom_payment_method_id] has been added to CreditNote#RecordRefundRequest.
### v2.27.0 (2023-11-30)
* * *
#### New Enum values:
* swiss_reference has been added to PaymentReferenceNumber#TypeEnum.
#### New Input parameters:
* subscription[po_number] has been added to Quote#EditCreateSubForCustomerQuoteRequest in Quote resource.
* subscription[po_number] has been added to Quote#EditCreateSubCustomerQuoteForItemsRequest in Quote resource.
* * *
### v2.26.0 (2023-10-31)
* * *
#### New attributes:
* statement_descriptor has been added to invoice resource.
* source has been added to the Hosted_Pages resource.
#### New Enum values:
* pay_com has been added to Gateway.
* pay_to, faster_payments, sepa_instant_transfer has been added to Customer#TypeEnum.
* pay_to, faster_payments, sepa_instant_transfer has been added to PaymentMethodEnum.
* pay_to, faster_payments, sepa_instant_transfer has been added to PaymentMethodTypeEnum.
* pay_to, faster_payments, sepa_instant_transfer has been added to TypeEnum.
* pay_to, faster_payments, sepa_instant_transfer, amazon_payments has been added to PaymentIntent#PaymentMethodTypeEnum.
#### New Input parameters:
* source has been added to HostedPage#CheckoutOneTimeForItemsRequest.
* source has been added to HostedPage#CheckoutNewForItemsRequest.
* source has been added to HostedPage#CheckoutExistingForItemsRequest.
* statement_descriptor_descriptor has been added to Invoice#CreateRequest.
* statement_descriptor_descriptor has been added to Invoice#CreateForChargeItemsAndChargesRequest.
* statement_descriptor_descriptor has been added to Invoice#UpdateDetailsRequest.
* statement_descriptor_additional_info has been added to Invoice#CreateRequest.
* statement_descriptor_additional_info has been added to Invoice#CreateForChargeItemsAndChargesRequest.
* statement_descriptor_additional_info has been added to Invoice#UpdateDetailsRequest.
* statement_descriptor_descriptor has been added to Subscription#CreateRequest.
* statement_descriptor_descriptor has been added to Subscription#CreateForCustomerRequest.
* statement_descriptor_descriptor has been added to Subscription#CreateWithItemsRequest.
* statement_descriptor_descriptor has been added to Subscription#UpdateRequest.
* statement_descriptor_descriptor has been added to Subscription#UpdateForItemsRequest.
* statement_descriptor_descriptor has been added to Subscription#ReactivateRequest.
* statement_descriptor_additional_info has been added to Subscription#CreateRequest.
* statement_descriptor_additional_info has been added to Subscription#CreateForCustomerRequest.
* statement_descriptor_additional_info has been added to Subscription#CreateWithItemsRequest.
* statement_descriptor_additional_info has been added to Subscription#UpdateRequest.
* statement_descriptor_additional_info has been added to Subscription#UpdateForItemsRequest.
* statement_descriptor_additional_info has been added to Subscription#ReactivateRequest.
#### Updates to old parameters:
* duration_type, discount_type in coupons has been made optional.
* proration_type in addons is now supported.
* csv_tax_rule has been removed.
* Tax1JurisTypeEnum has been removed.
* Tax2JurisTypeEnum has been removed.
* Tax3JurisTypeEnum has been removed.
* Tax4JurisTypeEnum has been removed.
### v2.25.0 (2023-09-26)
* * *
#### New attributes:
* venmo has been added to the PaymentSource resource.
* proration_type has been added to the QuotedCharge, QuotedSubscription and Subscription resource.
#### New Enum values:
* ebanx has been added to Gateway.
* venmo has been added to Customer#TypeEnum.
* venmo has been added to PaymentMethodEnum.
* venmo has been added to PaymentMethodTypeEnum.
* venmo has been added to TypeEnum.
* venmo has been added to PaymentIntent#PaymentMethodTypeEnum.
#### New Input parameters:
* einvoicing_method has been added to HostedPage#CheckoutOneTimeForItemsRequest.
* einvoicing_method has been added to HostedPage#CheckoutNewForItemsRequest.
* additional_information has been added to PaymentSource#CardAdditionalInformation.
### v2.24.0 (2023-09-05)
* * *
#### New Resource:
* CsvTaxRule has been added.
#### New attributes:
* direct_debit_scheme has been added to the PaymentSource#PaymentSourceBankAccount resource.
#### New Enum :
* DirectDebitSchemeEnum has been added.
* Tax1JurisTypeEnum has been added.
* Tax2JurisTypeEnum has been added.
* Tax3JurisTypeEnum has been added.
* Tax4JurisTypeEnum has been added.
#### New Input parameters:
* avalara_tax_code, hsn_code, taxjar_product_code has been added to Invoice#AddChargeRequest.
### v2.23.0 (2023-07-31)
* * *
#### New Attributes:
* tax_category has been added to the CreditNote, Quote and Invoice resource.
* proration_type has been added in Addon resource.
#### New Enum values:
* tax has been added to EntityType enum in Invoice resource.
* payment_source_locally_deleted has been added to EventType.
#### New Input parameters:
* CouponId and CouponApplyTill has been added to Subscritpion#CreateRequest in Subscritpion resource.
* CouponId and CouponApplyTill has been added to Subscritpion#CreateForCustomerRequest in Subscritpion resource.
* CouponId and CouponApplyTill has been added to Subscritpion#CreateWithItemsRequest in Subscritpion resource.
* CouponId and CouponApplyTill has been added to Subscritpion#UpdateRequest in Subscritpion resource.
* CouponId and CouponApplyTill has been added to Subscritpion#UpdateForItemsRequest in Subscritpion resource.
* CouponId and CouponApplyTill has been added to Subscritpion#ImportSubscriptionRequest in Subscritpion resource.
* CouponId and CouponApplyTill has been added to Subscritpion#ImportForCustomerRequest in Subscritpion resource.
* CouponId and CouponApplyTill has been added to Subscritpion#ImportForItemsRequest in Subscritpion resource.
* cancel_reason_code has been added to Subscritpion#ImportForItemsRequest in Subscritpion resource.
* proration_type has been added in addon#createRequest and addon#UpdateRequest in Addon resource.
* addons[proration_type] has been added in Estimate#UpdateSubscriptionRequest in Estimate resource.
* addons[proration_type] has been added in Subscription#UpdateRequest in Subscritpion resource.
#### New Enum Class:
* ProrationType enum has been added to addon resource.
* ProrationType enum has been added.
### v2.22.0 (2023-06-30)
* * *
#### New endpoints:
* ViewVoucher#ViewVoucherRequest has been added to the HostedPage resource.
* InvoiceListPaymentReferenceNumbers#InvoiceListPaymentReferenceNumbersRequest has been added to the Invoice resource.
#### New Resource:
* PaymentReferenceNumber has been added.
#### New attributes:
* local_currency_exchange_rate has been added to the CreditNote and Invoice resource.
#### New Enum values:
* view_voucher has been added to Type enum in HostedPage resource.
* paused has been added in StoreStatus enum in InAppSubscription resource.
* metrics_global and windcave has been added in Gateway enum.
#### New Input parameters:
* payment_initiator has been added to Customers#CollectPaymentRequest.
* payment_initiator has been added to Invoice#CreateRequest.
* payment_initiator has been added to Invoice#ChargeRequest.
* payment_initiator has been added to Invoice#ChargeAddonRequest.
* payment_initiator has been added to Invoice#CollectPaymentRequest.
* payment_initiator has been added to Subscription#CreateRequest.
* payment_initiator has been added to Invoice#CreateForChargeItemRequest.
* payment_initiator has been added to Subscription#CreateForCustomerRequest.
* payment_initiator has been added to Subscription#CreateWithItemsRequest.
* payment_initiator has been added to Subscription#UpdateForItemsRequest.
* payment_initiator has been added to Subscription#ReactivateRequest.
* payment_initiator has been added to Subscription#ResumeRequest.
* payment_reference_numbers[id] has been added to Invoice#ImportInvoiceRequest.
* payment_reference_numbers[type] has been added to Invoice#ImportInvoiceRequest.
* payment_reference_numbers[number] has been added to Invoice#ImportInvoiceRequest.
### v2.21.0 (2023-05-31)
* * *
#### New endpoints:
* PaymentSource#CreateVoucherPaymentSource has been added to the PaymentSource resource.
* EventsRequest#HostedPage has been added to the PaymentSource resource.
#### New Resource:
* PaymentVoucher has been added.
#### New attributes:
* boleto and billing_address has been added to the PaymentSource resource.
* product_id has been added to the ItemPrice resource.
#### New Enum Class:
* EventNameEnum has been added.
* PaymentVoucherTypeEnum has been added.
* VoucherTypeEnum has been added.
#### New Enum values:
* product and variant has been added to EntityType enum.
* product_created, product_updated, product_deleted, variant_created, variant_updated and variant_deleted enums have been added in EventType enum.
* voucher_created, voucher_expired and voucher_create_failed have been added in EventType enum.
* boleto has been added in PaymentMethod and OfflinePaymentMethod and PaymentMethodTypeEnum#PaymentIntent.
### v2.20.0 (2023-05-16)
* * *
#### New Feature:
* Added setIdempotencyKey("UUID") utility to pass **Idempotency key** along with request headers to allow a safe retry of POST requests.
* Added isIdempotencyReplayed() utility to differentiate between original and replayed requests.
* Added getResponseHeaders() utility to to fetch the response headers.
### v2.19.0 (2023-04-28)
* * *
#### Fixes:
* SubscriptionId attribute has been maid as required in InAppSubscription resource.
#### New Attributes:
* TotalContractValueBeforeTax has been added to the ContractTerm resource.
* TotalContractValueBeforeTax#SubscriptionContractTerm has been added to the Subscription resource.
* TotalContractValueBeforeTax#SubscriptionEstimateContractTerm has been addded to the SubscriptionEstimate resource.
* CouponConstraints has been added to the Coupon resource.
#### New Resource:
* NonSubscription have been added.
#### Added Input Parameters:
* contract_term[total_amount_raised_before_tax]#ImportSubscriptionRequest, contract_term[total_amount_raised_before_tax]#ImportForItemsRequest, contract_term[total_amount_raised_before_tax]#ImportContractTermRequest and contract_term[total_amount_raised_before_tax]#ImportForCustomerRequest parameter has been added to Subscription resource.
* contract_term