chargebee 2.77.0 → 2.79.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0ada6fc55e78a48f1e967ca90df739cb05d754fa07ed8df370c5e5eed084259e
4
- data.tar.gz: fe8b6c89e34bc33b773d8bda4a111f2cb7193f95a25c084aa537baabc2f93cca
3
+ metadata.gz: 4947cd02ab99037c109b9da5322b238e1b27434c30f9b2e8d69428442d0133ca
4
+ data.tar.gz: 30bc9732d0a27b88b51c476977203aedfe169b7b368390a6bab8a4dac493d0e3
5
5
  SHA512:
6
- metadata.gz: 884e6b4a7312a7882b82c3d43764702fc9e0b71b6ad2b493f9bc36e4d025b608045715da57975791f2b002cea74cf38063cd5798c968c6dffd97f46faf94192a
7
- data.tar.gz: 2a64cfdbfe0d781f7485b93154a7af60fdef6cd332eddd59b49b1887a5a2dfde7b1c8c1e6915468dbb5a0e4fa1b1b827506a1f17f09317f73a74355e54e1cb83
6
+ metadata.gz: 605882d5b7bb2f272dd34e495134bc7dea4709c7cb9772603685620abd68d47659ca2f97e146bf4b94a1855ae88af8c09cafb5afa5b1cbe75f1f582975df4fba
7
+ data.tar.gz: 9551e4c2bb782ca4e39a762281d405d41f2a4838ca301f01197d51edbe342998d5eb50c0f3ef6c1e35ac2113daf428428e9848f77c1f26c582e4f27d2666a75f
data/CHANGELOG.md CHANGED
@@ -1,3 +1,130 @@
1
+ ### v2.79.0 (2026-08-19)
2
+ * * *
3
+ ### New Resources:
4
+ - [`GatewayPaymentMethodToken`](https://apidocs.chargebee.com/docs/api/gateway_payment_method_tokens) has been added.
5
+ - [`OmnichannelSubscriptionItemMetric`](https://apidocs.chargebee.com/docs/api/omnichannel_subscription_item_metrics) has been added.
6
+ - [`QuoteEntitlement`](https://apidocs.chargebee.com/docs/api/quote_entitlements) has been added.
7
+ - [`VaultedPaymentMethod`](https://apidocs.chargebee.com/docs/api/vaulted_payment_methods) has been added.
8
+
9
+
10
+ ### New Actions:
11
+ - [`update_credit_note_details`](https://apidocs.chargebee.com/docs/api/credit_notes/update-credit-note-details) has been added to [`CreditNote`](https://apidocs.chargebee.com/docs/api/credit_notes).
12
+ - [`export_subscription_ramps`](https://apidocs.chargebee.com/docs/api/exports/export-subscription-ramps) has been added to [`Export`](https://apidocs.chargebee.com/docs/api/exports).
13
+ - [`void_authorizations_before_capture`](https://apidocs.chargebee.com/docs/api/invoices/void-authorizations-before-capture) has been added to [`Invoice`](https://apidocs.chargebee.com/docs/api/invoices).
14
+ - [`list_gateway_payment_method_tokens_for_a_payment_source`](https://apidocs.chargebee.com/docs/api/payment_sources/list-gateway-payment-method-tokens-for-a-payment-source) has been added to [`PaymentSource`](https://apidocs.chargebee.com/docs/api/payment_sources).
15
+
16
+
17
+ ### New Attributes:
18
+ - [`payment_method_options`](https://apidocs.chargebee.com/docs/api/payment_intents/payment-intent-object#payment_method_options) has been added to [`PaymentIntent`](https://apidocs.chargebee.com/docs/api/payment_intents).
19
+ - [`vault_token`](https://apidocs.chargebee.com/docs/api/payment_sources/payment-source-object#vault_token) has been added to [`PaymentSource`](https://apidocs.chargebee.com/docs/api/payment_sources).
20
+ - [`has_entitlements`](https://apidocs.chargebee.com/docs/api/quotes/quote-object#has_entitlements) has been added to [`Quote`](https://apidocs.chargebee.com/docs/api/quotes).
21
+
22
+
23
+ ### New Parameters:
24
+ - [`updated_at.on`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions/list-omnichannel-subscriptions#updated_at_on) has been added as query parameter to [`list_omnichannel_subscriptions`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions/list-omnichannel-subscriptions) in [`OmnichannelSubscription`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions).
25
+ - [`updated_at.between`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions/list-omnichannel-subscriptions#updated_at_between) has been added as query parameter to [`list_omnichannel_subscriptions`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions/list-omnichannel-subscriptions) in [`OmnichannelSubscription`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions).
26
+ - [`purchased_at.on`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions/list-omnichannel-subscriptions#purchased_at_on) has been added as query parameter to [`list_omnichannel_subscriptions`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions/list-omnichannel-subscriptions) in [`OmnichannelSubscription`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions).
27
+ - [`purchased_at.between`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions/list-omnichannel-subscriptions#purchased_at_between) has been added as query parameter to [`list_omnichannel_subscriptions`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions/list-omnichannel-subscriptions) in [`OmnichannelSubscription`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions).
28
+ - [`limit`](https://apidocs.chargebee.com/docs/api/payment_sources/list-gateway-payment-method-tokens-for-a-payment-source#limit) has been added as query parameter to [`list_gateway_payment_method_tokens_for_a_payment_source`](https://apidocs.chargebee.com/docs/api/payment_sources/list-gateway-payment-method-tokens-for-a-payment-source) in [`PaymentSource`](https://apidocs.chargebee.com/docs/api/payment_sources).
29
+ - [`offset`](https://apidocs.chargebee.com/docs/api/payment_sources/list-gateway-payment-method-tokens-for-a-payment-source#offset) has been added as query parameter to [`list_gateway_payment_method_tokens_for_a_payment_source`](https://apidocs.chargebee.com/docs/api/payment_sources/list-gateway-payment-method-tokens-for-a-payment-source) in [`PaymentSource`](https://apidocs.chargebee.com/docs/api/payment_sources).
30
+ - [`include_deleted`](https://apidocs.chargebee.com/docs/api/payment_sources/list-gateway-payment-method-tokens-for-a-payment-source#include_deleted) has been added as query parameter to [`list_gateway_payment_method_tokens_for_a_payment_source`](https://apidocs.chargebee.com/docs/api/payment_sources/list-gateway-payment-method-tokens-for-a-payment-source) in [`PaymentSource`](https://apidocs.chargebee.com/docs/api/payment_sources).
31
+ - [`comment`](https://apidocs.chargebee.com/docs/api/credit_notes/update-credit-note-details#comment) has been added as request body parameter to [`update_credit_note_details`](https://apidocs.chargebee.com/docs/api/credit_notes/update-credit-note-details) in [`CreditNote`](https://apidocs.chargebee.com/docs/api/credit_notes).
32
+ - [`ramp`](https://apidocs.chargebee.com/docs/api/exports/export-subscription-ramps#ramp) has been added as request body parameter to [`export_subscription_ramps`](https://apidocs.chargebee.com/docs/api/exports/export-subscription-ramps) in [`Export`](https://apidocs.chargebee.com/docs/api/exports).
33
+ - [`export_type`](https://apidocs.chargebee.com/docs/api/exports/export-subscription-ramps#export_type) has been added as request body parameter to [`export_subscription_ramps`](https://apidocs.chargebee.com/docs/api/exports/export-subscription-ramps) in [`Export`](https://apidocs.chargebee.com/docs/api/exports).
34
+ - [`locale`](https://apidocs.chargebee.com/docs/api/hosted_pages/create-a-pre-cancel-hosted-page#locale) has been added as request body parameter to [`create_a_pre-cancel_hosted_page`](https://apidocs.chargebee.com/docs/api/hosted_pages/create-a-pre-cancel-hosted-page) in [`HostedPage`](https://apidocs.chargebee.com/docs/api/hosted_pages).
35
+ - [`comment`](https://apidocs.chargebee.com/docs/api/invoices/void-authorizations-before-capture#comment) has been added as request body parameter to [`void_authorizations_before_capture`](https://apidocs.chargebee.com/docs/api/invoices/void-authorizations-before-capture) in [`Invoice`](https://apidocs.chargebee.com/docs/api/invoices).
36
+ - [`void_reason_code`](https://apidocs.chargebee.com/docs/api/invoices/void-authorizations-before-capture#void_reason_code) has been added as request body parameter to [`void_authorizations_before_capture`](https://apidocs.chargebee.com/docs/api/invoices/void-authorizations-before-capture) in [`Invoice`](https://apidocs.chargebee.com/docs/api/invoices).
37
+ - [`invoice_action`](https://apidocs.chargebee.com/docs/api/invoices/void-authorizations-before-capture#invoice_action) has been added as request body parameter to [`void_authorizations_before_capture`](https://apidocs.chargebee.com/docs/api/invoices/void-authorizations-before-capture) in [`Invoice`](https://apidocs.chargebee.com/docs/api/invoices).
38
+ - [`payment_method_options`](https://apidocs.chargebee.com/docs/api/payment_intents/update-a-payment-intent#payment_method_options) has been added as request body parameter to [`update_a_payment_intent`](https://apidocs.chargebee.com/docs/api/payment_intents/update-a-payment-intent) in [`PaymentIntent`](https://apidocs.chargebee.com/docs/api/payment_intents).
39
+ - [`payment_method_options`](https://apidocs.chargebee.com/docs/api/payment_intents/create-a-payment-intent#payment_method_options) has been added as request body parameter to [`create_a_payment_intent`](https://apidocs.chargebee.com/docs/api/payment_intents/create-a-payment-intent) in [`PaymentIntent`](https://apidocs.chargebee.com/docs/api/payment_intents).
40
+ - [`subscription_items.description`](https://apidocs.chargebee.com/docs/api/quotes/create-a-quote-for-a-new-subscription-items#subscription_items_description) has been added as request body parameter to [`create_a_quote_for_a_new_subscription_items`](https://apidocs.chargebee.com/docs/api/quotes/create-a-quote-for-a-new-subscription-items) in [`Quote`](https://apidocs.chargebee.com/docs/api/quotes).
41
+ - [`entitlement_overrides`](https://apidocs.chargebee.com/docs/api/quotes/create-a-quote-for-a-new-subscription-items#entitlement_overrides) has been added as request body parameter to [`create_a_quote_for_a_new_subscription_items`](https://apidocs.chargebee.com/docs/api/quotes/create-a-quote-for-a-new-subscription-items) in [`Quote`](https://apidocs.chargebee.com/docs/api/quotes).
42
+ - [`subscription_items.description`](https://apidocs.chargebee.com/docs/api/quotes/edit-update-subscription-quote-for-items#subscription_items_description) has been added as request body parameter to [`edit_update_subscription_quote_for_items`](https://apidocs.chargebee.com/docs/api/quotes/edit-update-subscription-quote-for-items) in [`Quote`](https://apidocs.chargebee.com/docs/api/quotes).
43
+ - [`entitlement_overrides`](https://apidocs.chargebee.com/docs/api/quotes/edit-update-subscription-quote-for-items#entitlement_overrides) has been added as request body parameter to [`edit_update_subscription_quote_for_items`](https://apidocs.chargebee.com/docs/api/quotes/edit-update-subscription-quote-for-items) in [`Quote`](https://apidocs.chargebee.com/docs/api/quotes).
44
+ - [`subscription_items.description`](https://apidocs.chargebee.com/docs/api/quotes/edit-create-subscription-quote-for-items#subscription_items_description) has been added as request body parameter to [`edit_create_subscription_quote_for_items`](https://apidocs.chargebee.com/docs/api/quotes/edit-create-subscription-quote-for-items) in [`Quote`](https://apidocs.chargebee.com/docs/api/quotes).
45
+ - [`entitlement_overrides`](https://apidocs.chargebee.com/docs/api/quotes/edit-create-subscription-quote-for-items#entitlement_overrides) has been added as request body parameter to [`edit_create_subscription_quote_for_items`](https://apidocs.chargebee.com/docs/api/quotes/edit-create-subscription-quote-for-items) in [`Quote`](https://apidocs.chargebee.com/docs/api/quotes).
46
+ - [`subscription_items.description`](https://apidocs.chargebee.com/docs/api/quotes/create-a-quote-for-update-subscription-items#subscription_items_description) has been added as request body parameter to [`create_a_quote_for_update_subscription_items`](https://apidocs.chargebee.com/docs/api/quotes/create-a-quote-for-update-subscription-items) in [`Quote`](https://apidocs.chargebee.com/docs/api/quotes).
47
+ - [`entitlement_overrides`](https://apidocs.chargebee.com/docs/api/quotes/create-a-quote-for-update-subscription-items#entitlement_overrides) has been added as request body parameter to [`create_a_quote_for_update_subscription_items`](https://apidocs.chargebee.com/docs/api/quotes/create-a-quote-for-update-subscription-items) in [`Quote`](https://apidocs.chargebee.com/docs/api/quotes).
48
+
49
+
50
+ ### New Events:
51
+ - [`vault_token_updated`](https://apidocs.chargebee.com/docs/api/events/webhook/vault_token_updated) has been added.
52
+ - [`vault_token_deleted`](https://apidocs.chargebee.com/docs/api/events/webhook/vault_token_deleted) has been added.
53
+ - [`omnichannel_subscription_item_mrr_updated`](https://apidocs.chargebee.com/docs/api/events/webhook/omnichannel_subscription_item_mrr_updated) has been added.
54
+ - [`vault_token_created`](https://apidocs.chargebee.com/docs/api/events/webhook/vault_token_created) has been added.
55
+
56
+
57
+ ### New Enums:
58
+ - `consumption_based` has been added as a new value enum `CreditOptionForCurrentTermCharges`.
59
+ - `omnichannel_subscription_item_metric` has been added as a new value enum `EntityType`.
60
+ - `omnichannel_subscription_item_mrr_updated`, `vault_token_created`, `vault_token_updated`, and `vault_token_deleted` have been added as new values enum `EventType`.
61
+ - `chargebee`, `chargebee_payments`, `adyen`, `stripe`, `wepay`, `braintree`, `authorize_net`, `paypal_pro`, `pin`, `eway`, `eway_rapid`, `worldpay`, `balanced_payments`, `beanstream`, `bluepay`, `elavon`, `first_data_global`, `hdfc`, `migs`, `nmi`, `ogone`, `paymill`, `paypal_payflow_pro`, `sage_pay`, `tco`, `wirecard`, `amazon_payments`, `paypal_express_checkout`, `gocardless`, `orbital`, `moneris_us`, `moneris`, `bluesnap`, `cybersource`, `vantiv`, `checkout_com`, `paypal`, `ingenico_direct`, `exact`, `mollie`, `quickbooks`, `razorpay`, `global_payments`, `bank_of_america`, `ecentric`, `metrics_global`, `windcave`, `pay_com`, `ebanx`, `dlocal`, `nuvei`, `solidgate`, `paystack`, `jp_morgan`, `deutsche_bank`, `ezidebit`, `twikey`, `tempus`, `moyasar`, `payway`, and `not_applicable` have been added as new values enum `GatewayName`.
62
+ - `void` and `write_off` have been added as new values enum `InvoiceAction`.
63
+ - `active`, `inactive`, and `pending_verification` have been added as new values to enum attribute [`status`](https://apidocs.chargebee.com/docs/api/gateway_payment_method_tokens/gateway-payment-method-token-object#status) in [`GatewayPaymentMethodToken`](https://apidocs.chargebee.com/docs/api/gateway_payment_method_tokens).
64
+ - `payment_method_helper`, `card_components`, `checkout`, `collect_now`, `portal`, and `payment_components` have been added as new values to enum attribute [`payment_intent_metadata.source`](https://apidocs.chargebee.com/docs/api/payment_intents/payment-intent-object#payment_intent_metadata_source) in [`PaymentIntent`](https://apidocs.chargebee.com/docs/api/payment_intents).
65
+ - `plan_price`, `addon_price`, `charge_price`, and `charge` have been added as new values to enum attribute [`entity_type`](https://apidocs.chargebee.com/docs/api/quote_entitlements/quote-entitlement-object#entity_type) in [`QuoteEntitlement`](https://apidocs.chargebee.com/docs/api/quote_entitlements).
66
+ - `upsert` and `remove` have been added as new values to enum attribute [`action_type`](https://apidocs.chargebee.com/docs/api/quote_entitlements/quote-entitlement-object#action_type) in [`QuoteEntitlement`](https://apidocs.chargebee.com/docs/api/quote_entitlements).
67
+
68
+
69
+
70
+ ### v2.78.0 (2026-07-30)
71
+ * * *
72
+ ### New Resources:
73
+ - [`CreditUnit`](https://apidocs.chargebee.com/docs/api/credit_units) has been added.
74
+ - [`LedgerEntry`](https://apidocs.chargebee.com/docs/api/ledger_entries) has been added.
75
+
76
+
77
+ ### New Actions:
78
+ - [`allocate`](https://apidocs.chargebee.com/docs/api/ledger_operations/allocate) has been added to [`LedgerOperation`](https://apidocs.chargebee.com/docs/api/ledger_operations).
79
+
80
+
81
+ ### New Attributes:
82
+ - [`unit_id`](https://apidocs.chargebee.com/docs/api/alerts/alert-object#unit_id) has been added to [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
83
+ - [`subscription_id`](https://apidocs.chargebee.com/docs/api/grant_blocks/grant-block-object#subscription_id) has been added to [`GrantBlock`](https://apidocs.chargebee.com/docs/api/grant_blocks).
84
+ - [`modified_at`](https://apidocs.chargebee.com/docs/api/grant_blocks/grant-block-object#modified_at) has been added to [`GrantBlock`](https://apidocs.chargebee.com/docs/api/grant_blocks).
85
+ - [`resource_version`](https://apidocs.chargebee.com/docs/api/grant_blocks/grant-block-object#resource_version) has been added to [`GrantBlock`](https://apidocs.chargebee.com/docs/api/grant_blocks).
86
+ - [`created_at`](https://apidocs.chargebee.com/docs/api/ledger_account_balances/ledger-account-balance-object#created_at) has been added to [`LedgerAccountBalance`](https://apidocs.chargebee.com/docs/api/ledger_account_balances).
87
+ - [`resource_version`](https://apidocs.chargebee.com/docs/api/ledger_account_balances/ledger-account-balance-object#resource_version) has been added to [`LedgerAccountBalance`](https://apidocs.chargebee.com/docs/api/ledger_account_balances).
88
+
89
+
90
+ ### New Parameters:
91
+ - [`account_type`](https://apidocs.chargebee.com/docs/api/grant_blocks/list-grant-blocks#account_type) has been added as query parameter to [`list_grant_blocks`](https://apidocs.chargebee.com/docs/api/grant_blocks/list-grant-blocks) in [`GrantBlock`](https://apidocs.chargebee.com/docs/api/grant_blocks).
92
+ - [`unit_id`](https://apidocs.chargebee.com/docs/api/alerts/create-an-alert#unit_id) has been added as request body parameter to [`create_an_alert`](https://apidocs.chargebee.com/docs/api/alerts/create-an-alert) in [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
93
+ - [`include_cancellation_day_in_billing`](https://apidocs.chargebee.com/docs/api/estimates/cancel-subscription-for-items-estimate#include_cancellation_day_in_billing) has been added as request body parameter to [`cancel_subscription_for_items_estimate`](https://apidocs.chargebee.com/docs/api/estimates/cancel-subscription-for-items-estimate) in [`Estimate`](https://apidocs.chargebee.com/docs/api/estimates).
94
+ - [`subscription_id`](https://apidocs.chargebee.com/docs/api/ledger_operations/allocate#subscription_id) has been added as request body parameter to [`allocate`](https://apidocs.chargebee.com/docs/api/ledger_operations/allocate) in [`LedgerOperation`](https://apidocs.chargebee.com/docs/api/ledger_operations).
95
+ - [`unit_id`](https://apidocs.chargebee.com/docs/api/ledger_operations/allocate#unit_id) has been added as request body parameter to [`allocate`](https://apidocs.chargebee.com/docs/api/ledger_operations/allocate) in [`LedgerOperation`](https://apidocs.chargebee.com/docs/api/ledger_operations).
96
+ - [`amount`](https://apidocs.chargebee.com/docs/api/ledger_operations/allocate#amount) has been added as request body parameter to [`allocate`](https://apidocs.chargebee.com/docs/api/ledger_operations/allocate) in [`LedgerOperation`](https://apidocs.chargebee.com/docs/api/ledger_operations).
97
+ - [`expires_at`](https://apidocs.chargebee.com/docs/api/ledger_operations/allocate#expires_at) has been added as request body parameter to [`allocate`](https://apidocs.chargebee.com/docs/api/ledger_operations/allocate) in [`LedgerOperation`](https://apidocs.chargebee.com/docs/api/ledger_operations).
98
+ - [`metadata`](https://apidocs.chargebee.com/docs/api/ledger_operations/allocate#metadata) has been added as request body parameter to [`allocate`](https://apidocs.chargebee.com/docs/api/ledger_operations/allocate) in [`LedgerOperation`](https://apidocs.chargebee.com/docs/api/ledger_operations).
99
+ - [`include_cancellation_day_in_billing`](https://apidocs.chargebee.com/docs/api/subscriptions/cancel-subscription-for-items#include_cancellation_day_in_billing) has been added as request body parameter to [`cancel_subscription_for_items`](https://apidocs.chargebee.com/docs/api/subscriptions/cancel-subscription-for-items) in [`Subscription`](https://apidocs.chargebee.com/docs/api/subscriptions).
100
+
101
+
102
+ ### New Events:
103
+ - [`grant_blocks_created`](https://apidocs.chargebee.com/docs/api/events/webhook/grant_blocks_created) has been added.
104
+ - [`ledger_updated`](https://apidocs.chargebee.com/docs/api/events/webhook/ledger_updated) has been added.
105
+ - [`ledger_account_balance_updated`](https://apidocs.chargebee.com/docs/api/events/webhook/ledger_account_balance_updated) has been added.
106
+ - [`grant_blocks_updated`](https://apidocs.chargebee.com/docs/api/events/webhook/grant_blocks_updated) has been added.
107
+
108
+
109
+ ### New Enums:
110
+ - `ledger_account_balance_updated`, `grant_blocks_created`, `grant_blocks_updated`, and `ledger_updated` have been added as new values enum `EventType`.
111
+ - `dana`, `touch_n_go`, `tamara`, and `qpay` have been added as new values enum `PaymentMethod`.
112
+ - `dana`, `touch_n_go`, `tamara`, and `qpay` have been added as new values enum `PaymentMethodType`.
113
+ - `dana`, `touch_n_go`, `tamara`, `qpay`, `credit_balance_dropped`, `credit`, `debit`, `hold`, and `unhold` have been added as new values enum `Type`.
114
+ - `active` and `archived` have been added as new values to enum attribute [`status`](https://apidocs.chargebee.com/docs/api/credit_units/credit-unit-object#status) in [`CreditUnit`](https://apidocs.chargebee.com/docs/api/credit_units).
115
+ - `grant_renewal` and `subscription_renewed` have been added as new values to enum attribute [`grant_source`](https://apidocs.chargebee.com/docs/api/grant_blocks/grant-block-object#grant_source) in [`GrantBlock`](https://apidocs.chargebee.com/docs/api/grant_blocks).
116
+ - `provisioned` and `overdraft` have been added as new values to enum attribute [`account_type`](https://apidocs.chargebee.com/docs/api/ledger_entries/ledger-entry-object#account_type) in [`LedgerEntry`](https://apidocs.chargebee.com/docs/api/ledger_entries).
117
+ - `credit_unit` has been added as a new value to enum attribute [`unit_type`](https://apidocs.chargebee.com/docs/api/ledger_entries/ledger-entry-object#unit_type) in [`LedgerEntry`](https://apidocs.chargebee.com/docs/api/ledger_entries).
118
+ - `dana`, `touch_n_go`, `tamara`, and `qpay` have been added as new values to enum attribute [`payment_method_type`](https://apidocs.chargebee.com/docs/api/payment_intents/payment-intent-object#payment_method_type) in [`PaymentIntent`](https://apidocs.chargebee.com/docs/api/payment_intents).
119
+ - `dana`, `touch_n_go`, `tamara`, and `qpay` have been added as new values to enum attribute [`active_payment_attempt.payment_method_type`](https://apidocs.chargebee.com/docs/api/payment_intents/payment-intent-object#active_payment_attempt_payment_method_type) in [`PaymentIntent`](https://apidocs.chargebee.com/docs/api/payment_intents).
120
+ - `archived` and `active` have been added as new values to enum query parameter `status.in` in [`list_credit_units`](https://apidocs.chargebee.com/docs/api/credit_units/list-credit-units) of [`CreditUnit`](https://apidocs.chargebee.com/docs/api/credit_units).
121
+ - `archived` and `active` have been added as new values to enum query parameter `status.is` in [`list_credit_units`](https://apidocs.chargebee.com/docs/api/credit_units/list-credit-units) of [`CreditUnit`](https://apidocs.chargebee.com/docs/api/credit_units).
122
+ - `provisioned` and `overdraft` have been added as new values to enum query parameter `account_type.is` in [`list_grant_blocks`](https://apidocs.chargebee.com/docs/api/grant_blocks/list-grant-blocks) of [`GrantBlock`](https://apidocs.chargebee.com/docs/api/grant_blocks).
123
+ - `dana`, `touch_n_go`, `tamara`, and `qpay` have been added as new values to enum request body parameter `payment_method_type` in [`update_a_payment_intent`](https://apidocs.chargebee.com/docs/api/payment_intents/update-a-payment-intent) of [`PaymentIntent`](https://apidocs.chargebee.com/docs/api/payment_intents).
124
+ - `dana`, `touch_n_go`, `tamara`, and `qpay` have been added as new values to enum request body parameter `payment_method_type` in [`create_a_payment_intent`](https://apidocs.chargebee.com/docs/api/payment_intents/create-a-payment-intent) of [`PaymentIntent`](https://apidocs.chargebee.com/docs/api/payment_intents).
125
+
126
+
127
+
1
128
  ### v2.77.0 (2026-07-21)
2
129
  * * *
3
130
  ### New Resources:
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- chargebee (2.77.0)
4
+ chargebee (2.79.0)
5
5
  cgi (>= 0.1.0, < 1.0.0)
6
6
 
7
7
  GEM
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.77.0
1
+ 2.79.0
data/chargebee.gemspec CHANGED
@@ -4,8 +4,8 @@ Gem::Specification.new do |s|
4
4
  s.rubygems_version = '1.3.5'
5
5
  s.required_ruby_version = '>= 1.9.3'
6
6
  s.name = 'chargebee'
7
- s.version = '2.77.0'
8
- s.date = '2026-07-21'
7
+ s.version = '2.79.0'
8
+ s.date = '2026-08-19'
9
9
  s.summary = "Ruby client for Chargebee API."
10
10
  s.description = "Subscription Billing - Simple. Secure. Affordable. More details at www.chargebee.com."
11
11
  s.metadata = {
@@ -67,6 +67,7 @@ Gem::Specification.new do |s|
67
67
  lib/chargebee/models/cpq_quote_signature.rb
68
68
  lib/chargebee/models/credit_note.rb
69
69
  lib/chargebee/models/credit_note_estimate.rb
70
+ lib/chargebee/models/credit_unit.rb
70
71
  lib/chargebee/models/csv_tax_rule.rb
71
72
  lib/chargebee/models/currency.rb
72
73
  lib/chargebee/models/customer.rb
@@ -83,6 +84,7 @@ Gem::Specification.new do |s|
83
84
  lib/chargebee/models/feature.rb
84
85
  lib/chargebee/models/filter_condition.rb
85
86
  lib/chargebee/models/gateway_error_detail.rb
87
+ lib/chargebee/models/gateway_payment_method_token.rb
86
88
  lib/chargebee/models/gift.rb
87
89
  lib/chargebee/models/grant_block.rb
88
90
  lib/chargebee/models/hierarchy.rb
@@ -99,6 +101,7 @@ Gem::Specification.new do |s|
99
101
  lib/chargebee/models/item_family.rb
100
102
  lib/chargebee/models/item_price.rb
101
103
  lib/chargebee/models/ledger_account_balance.rb
104
+ lib/chargebee/models/ledger_entry.rb
102
105
  lib/chargebee/models/ledger_operation.rb
103
106
  lib/chargebee/models/metadata.rb
104
107
  lib/chargebee/models/meter.rb
@@ -111,6 +114,7 @@ Gem::Specification.new do |s|
111
114
  lib/chargebee/models/omnichannel_one_time_order_item.rb
112
115
  lib/chargebee/models/omnichannel_subscription.rb
113
116
  lib/chargebee/models/omnichannel_subscription_item.rb
117
+ lib/chargebee/models/omnichannel_subscription_item_metric.rb
114
118
  lib/chargebee/models/omnichannel_subscription_item_offer.rb
115
119
  lib/chargebee/models/omnichannel_subscription_item_scheduled_change.rb
116
120
  lib/chargebee/models/omnichannel_transaction.rb
@@ -158,6 +162,7 @@ Gem::Specification.new do |s|
158
162
  lib/chargebee/models/usage_event.rb
159
163
  lib/chargebee/models/usage_file.rb
160
164
  lib/chargebee/models/usage_summary.rb
165
+ lib/chargebee/models/vaulted_payment_method.rb
161
166
  lib/chargebee/models/virtual_bank_account.rb
162
167
  lib/chargebee/models/webhook_endpoint.rb
163
168
  lib/chargebee/native_request.rb
@@ -9,8 +9,8 @@ module ChargeBee
9
9
  attr_accessor :field, :operator, :value
10
10
  end
11
11
 
12
- attr_accessor :id, :type, :name, :description, :metered_feature_id, :currency_code, :subscription_id,
13
- :status, :meta, :created_at, :updated_at, :threshold, :filter_conditions
12
+ attr_accessor :id, :type, :name, :description, :metered_feature_id, :currency_code, :unit_id,
13
+ :subscription_id, :status, :meta, :created_at, :updated_at, :threshold, :filter_conditions
14
14
 
15
15
  # OPERATIONS
16
16
  #-----------
@@ -157,6 +157,15 @@ module ChargeBee
157
157
  Request.send('post', uri_path("credit_notes",id.to_s,"delete"), params, env, headers,nil, false, jsonKeys, options, "creditNote", "delete")
158
158
  end
159
159
 
160
+ def self.update(id, params={}, env=nil, headers={})
161
+ jsonKeys = {
162
+ }
163
+ options = {
164
+ :isIdempotent => true
165
+ }
166
+ Request.send('post', uri_path("credit_notes",id.to_s,"update"), params, env, headers,nil, false, jsonKeys, options, "creditNote", "update")
167
+ end
168
+
160
169
  def self.remove_tax_withheld_refund(id, params, env=nil, headers={})
161
170
  jsonKeys = {
162
171
  }
@@ -0,0 +1,54 @@
1
+ module ChargeBee
2
+ class CreditUnit < Model
3
+
4
+ attr_accessor :id, :name, :external_name, :status, :resource_version, :updated_at, :created_at,
5
+ :created_by, :updated_by, :is_unlimited, :overdraft_amount
6
+
7
+ # OPERATIONS
8
+ #-----------
9
+
10
+ def self.list(params={}, env=nil, headers={})
11
+ jsonKeys = {
12
+ }
13
+ options = {}
14
+ Request.send_list_request('get', uri_path("credit_units"), params, env, headers,nil, false, jsonKeys, options, "creditUnit", "list")
15
+ end
16
+
17
+ def self.create(params, env=nil, headers={})
18
+ jsonKeys = {
19
+ }
20
+ options = {
21
+ :isIdempotent => true
22
+ }
23
+ Request.send('post', uri_path("credit_units"), params, env, headers,nil, false, jsonKeys, options, "creditUnit", "create")
24
+ end
25
+
26
+ def self.update(id, params={}, env=nil, headers={})
27
+ jsonKeys = {
28
+ }
29
+ options = {
30
+ :isIdempotent => true
31
+ }
32
+ Request.send('post', uri_path("credit_units",id.to_s), params, env, headers,nil, false, jsonKeys, options, "creditUnit", "update")
33
+ end
34
+
35
+ def self.archive(id, env=nil, headers={})
36
+ jsonKeys = {
37
+ }
38
+ options = {
39
+ :isIdempotent => true
40
+ }
41
+ Request.send('post', uri_path("credit_units",id.to_s,"archive_command"), {}, env, headers,nil, false, jsonKeys, options, "creditUnit", "archive")
42
+ end
43
+
44
+ def self.reactivate(id, env=nil, headers={})
45
+ jsonKeys = {
46
+ }
47
+ options = {
48
+ :isIdempotent => true
49
+ }
50
+ Request.send('post', uri_path("credit_units",id.to_s,"reactivate_command"), {}, env, headers,nil, false, jsonKeys, options, "creditUnit", "reactivate")
51
+ end
52
+
53
+ end # ~CreditUnit
54
+ end # ~ChargeBee
@@ -196,5 +196,14 @@ end
196
196
  Request.send('post', uri_path("exports","price_variants"), params, env, headers,nil, false, jsonKeys, options, "export", "priceVariants")
197
197
  end
198
198
 
199
+ def self.ramps(params={}, env=nil, headers={})
200
+ jsonKeys = {
201
+ }
202
+ options = {
203
+ :isIdempotent => true
204
+ }
205
+ Request.send('post', uri_path("exports","ramps"), params, env, headers,nil, false, jsonKeys, options, "export", "ramps")
206
+ end
207
+
199
208
  end # ~Export
200
209
  end # ~ChargeBee
@@ -0,0 +1,11 @@
1
+ module ChargeBee
2
+ class GatewayPaymentMethodToken < Model
3
+
4
+ attr_accessor :id, :gateway_account_id, :gateway_name, :gateway_customer_id, :gateway_token,
5
+ :status, :created_at, :updated_at
6
+
7
+ # OPERATIONS
8
+ #-----------
9
+
10
+ end # ~GatewayPaymentMethodToken
11
+ end # ~ChargeBee
@@ -1,9 +1,10 @@
1
1
  module ChargeBee
2
2
  class GrantBlock < Model
3
3
 
4
- attr_accessor :id, :granted_amount, :effective_from, :expires_at, :balance, :hold_amount, :used_amount,
5
- :expired_amount, :rolled_over_amount, :voided_amount, :origin_grant_block_id, :status, :grant_source,
6
- :created_at, :account_type, :unit_id, :unit_type, :metadata
4
+ attr_accessor :id, :subscription_id, :account_type, :unit_id, :unit_type, :granted_amount, :effective_from,
5
+ :expires_at, :balance, :hold_amount, :used_amount, :expired_amount, :rolled_over_amount, :voided_amount,
6
+ :origin_grant_block_id, :status, :grant_source, :created_at, :modified_at, :resource_version,
7
+ :metadata
7
8
 
8
9
  # OPERATIONS
9
10
  #-----------
@@ -410,6 +410,15 @@ module ChargeBee
410
410
  Request.send('post', uri_path("invoices",id.to_s,"write_off"), params, env, headers,nil, false, jsonKeys, options, "invoice", "writeOff")
411
411
  end
412
412
 
413
+ def self.void_before_capture(id, params={}, env=nil, headers={})
414
+ jsonKeys = {
415
+ }
416
+ options = {
417
+ :isIdempotent => true
418
+ }
419
+ Request.send('post', uri_path("invoices",id.to_s,"void_before_capture"), params, env, headers,nil, false, jsonKeys, options, "invoice", "voidBeforeCapture")
420
+ end
421
+
413
422
  def self.delete(id, params={}, env=nil, headers={})
414
423
  jsonKeys = {
415
424
  }
@@ -9,7 +9,8 @@ module ChargeBee
9
9
  attr_accessor :is_unlimited, :limit, :total_balance, :usable_balance, :used_amount, :hold_amount
10
10
  end
11
11
 
12
- attr_accessor :subscription_id, :unit_id, :unit_type, :modified_at, :provisioned_balance, :overdraft_balance
12
+ attr_accessor :subscription_id, :unit_id, :unit_type, :created_at, :modified_at, :resource_version,
13
+ :provisioned_balance, :overdraft_balance
13
14
 
14
15
  # OPERATIONS
15
16
  #-----------
@@ -0,0 +1,12 @@
1
+ module ChargeBee
2
+ class LedgerEntry < Model
3
+
4
+ attr_accessor :id, :subscription_id, :account_type, :unit_id, :unit_type, :amount, :grant_block_start_balance,
5
+ :grant_block_end_balance, :account_start_balance, :account_end_balance, :type, :ledger_operation_id,
6
+ :grant_block_id, :created_at, :modified_at
7
+
8
+ # OPERATIONS
9
+ #-----------
10
+
11
+ end # ~LedgerEntry
12
+ end # ~ChargeBee
@@ -1,9 +1,9 @@
1
1
  module ChargeBee
2
2
  class LedgerOperation < Model
3
3
 
4
- attr_accessor :id, :type, :amount, :provisioned_start_balance, :provisioned_end_balance, :overdraft_start_balance,
5
- :overdraft_end_balance, :parent_ledger_operation_id, :ledger_operation_timestamp, :auto_release_timestamp,
6
- :created_at, :modified_at, :subscription_id, :unit_id, :unit_type, :metadata
4
+ attr_accessor :id, :subscription_id, :unit_id, :unit_type, :type, :amount, :provisioned_start_balance,
5
+ :provisioned_end_balance, :overdraft_start_balance, :overdraft_end_balance, :parent_ledger_operation_id,
6
+ :ledger_operation_timestamp, :auto_release_timestamp, :created_at, :modified_at, :metadata
7
7
 
8
8
  # OPERATIONS
9
9
  #-----------
@@ -54,5 +54,13 @@ module ChargeBee
54
54
  Request.send('post', uri_path("ledger_operations","release_authorization"), params, env, headers,nil, true, jsonKeys, options, "ledgerOperation", "releaseAuthorization")
55
55
  end
56
56
 
57
+ def self.allocate(params, env=nil, headers={})
58
+ jsonKeys = {
59
+ :metadata => 0,
60
+ }
61
+ options = {}
62
+ Request.send('post', uri_path("ledger_operations","allocate"), params, env, headers,nil, true, jsonKeys, options, "ledgerOperation", "allocate")
63
+ end
64
+
57
65
  end # ~LedgerOperation
58
66
  end # ~ChargeBee
@@ -0,0 +1,12 @@
1
+ module ChargeBee
2
+ class OmnichannelSubscriptionItemMetric < Model
3
+
4
+ attr_accessor :customer_id, :omnichannel_subscription_id, :omnichannel_subscription_item_id,
5
+ :item_id_at_source, :mrr_currency, :mrr_units, :mrr_nanos, :effective_from, :calculated_at,
6
+ :created_at, :resource_version
7
+
8
+ # OPERATIONS
9
+ #-----------
10
+
11
+ end # ~OmnichannelSubscriptionItemMetric
12
+ end # ~ChargeBee
@@ -2,11 +2,11 @@ module ChargeBee
2
2
  class PaymentIntent < Model
3
3
 
4
4
  class PaymentAttempt < Model
5
- attr_accessor :id, :status, :payment_method_type, :id_at_gateway, :error_code, :error_text, :checkout_details, :created_at, :modified_at, :error_detail
5
+ attr_accessor :id, :status, :payment_method_type, :id_at_gateway, :error_code, :error_text, :checkout_details, :created_at, :modified_at, :error_detail, :routing_rule_id, :payment_method_display_rule_id
6
6
  end
7
7
 
8
8
  class PaymentAttempt < Model
9
- attr_accessor :id, :status, :payment_method_type, :id_at_gateway, :error_code, :error_text, :checkout_details, :created_at, :modified_at, :error_detail
9
+ attr_accessor :id, :status, :payment_method_type, :id_at_gateway, :error_code, :error_text, :checkout_details, :created_at, :modified_at, :error_detail, :routing_rule_id, :payment_method_display_rule_id
10
10
  end
11
11
 
12
12
  class PaymentIntentMetadata < Model
@@ -15,14 +15,15 @@ module ChargeBee
15
15
 
16
16
  attr_accessor :id, :status, :currency_code, :amount, :gateway_account_id, :expires_at, :reference_id,
17
17
  :payment_method_type, :success_url, :failure_url, :created_at, :modified_at, :resource_version,
18
- :updated_at, :customer_id, :gateway, :active_payment_attempt, :payment_attempts, :payment_intent_metadata,
19
- :business_entity_id
18
+ :updated_at, :payment_method_options, :customer_id, :gateway, :active_payment_attempt, :payment_attempts,
19
+ :payment_intent_metadata, :business_entity_id
20
20
 
21
21
  # OPERATIONS
22
22
  #-----------
23
23
 
24
24
  def self.create(params, env=nil, headers={})
25
25
  jsonKeys = {
26
+ :payment_method_options => 0,
26
27
  }
27
28
  options = {
28
29
  :isIdempotent => true
@@ -32,6 +33,7 @@ module ChargeBee
32
33
 
33
34
  def self.update(id, params={}, env=nil, headers={})
34
35
  jsonKeys = {
36
+ :payment_method_options => 0,
35
37
  }
36
38
  options = {
37
39
  :isIdempotent => true
@@ -44,7 +44,7 @@ module ChargeBee
44
44
  attr_accessor :id, :resource_version, :updated_at, :created_at, :customer_id, :type, :reference_id,
45
45
  :status, :gateway, :gateway_account_id, :ip_address, :issuing_country, :card, :bank_account,
46
46
  :boleto, :billing_address, :amazon_payment, :upi, :paypal, :venmo, :klarna_pay_now, :mandates,
47
- :deleted, :business_entity_id
47
+ :vault_token, :deleted, :business_entity_id
48
48
 
49
49
  # OPERATIONS
50
50
  #-----------
@@ -148,6 +148,13 @@ module ChargeBee
148
148
  Request.send('post', uri_path("payment_sources",id.to_s,"verify_bank_account"), params, env, headers,nil, false, jsonKeys, options, "paymentSource", "verifyBankAccount")
149
149
  end
150
150
 
151
+ def self.list_gateway_tokens_for_payment_source(id, params={}, env=nil, headers={})
152
+ jsonKeys = {
153
+ }
154
+ options = {}
155
+ Request.send('get', uri_path("payment_sources",id.to_s,"gateway_payment_method_tokens"), params, env, headers,nil, false, jsonKeys, options, "paymentSource", "listGatewayTokensForPaymentSource")
156
+ end
157
+
151
158
  def self.retrieve(id, env=nil, headers={})
152
159
  jsonKeys = {
153
160
  }
@@ -39,7 +39,7 @@ module ChargeBee
39
39
  :updated_at, :vat_number_prefix, :line_items, :line_item_tiers, :line_item_discounts, :line_item_taxes,
40
40
  :discounts, :taxes, :tax_category, :currency_code, :notes, :shipping_address, :billing_address,
41
41
  :contract_term_start, :contract_term_end, :contract_term_termination_fee, :business_entity_id,
42
- :deleted, :total_contract_value, :total_discount
42
+ :deleted, :total_contract_value, :total_discount, :has_entitlements
43
43
 
44
44
  # OPERATIONS
45
45
  #-----------
@@ -1,11 +1,19 @@
1
1
  module ChargeBee
2
2
  class QuoteEntitlement < Model
3
3
 
4
- attr_accessor :entity_id, :entity_type, :feature_id, :value, :is_enabled, :start_date, :end_date,
5
- :created_at, :modified_at
4
+ attr_accessor :entity_id, :entity_type, :action_type, :feature_id, :value, :is_enabled, :start_date,
5
+ :end_date, :created_at, :modified_at, :is_overridden, :feature_name, :feature_unit, :feature_type,
6
+ :name, :metered
6
7
 
7
8
  # OPERATIONS
8
9
  #-----------
9
10
 
11
+ def self.list_quote_entitlements(id, params={}, env=nil, headers={})
12
+ jsonKeys = {
13
+ }
14
+ options = {}
15
+ Request.send('get', uri_path("quotes",id.to_s,"quote_entitlements"), params, env, headers,nil, false, jsonKeys, options, "quoteEntitlement", "listQuoteEntitlements")
16
+ end
17
+
10
18
  end # ~QuoteEntitlement
11
19
  end # ~ChargeBee
@@ -2,7 +2,7 @@ module ChargeBee
2
2
  class QuotedRamp < Model
3
3
 
4
4
  class LineItem < Model
5
- attr_accessor :item_price_id, :item_type, :quantity, :quantity_in_decimal, :metered_quantity, :unit_price, :unit_price_in_decimal, :amount, :amount_in_decimal, :billing_period, :billing_period_unit, :free_quantity, :free_quantity_in_decimal, :billing_cycles, :service_period_days, :charge_on_event, :charge_once, :charge_on_option, :start_date, :end_date, :ramp_tier_id, :discount_per_billing_cycle, :discount_per_billing_cycle_in_decimal, :item_level_discount_per_billing_cycle, :item_level_discount_per_billing_cycle_in_decimal, :amount_per_billing_cycle, :amount_per_billing_cycle_in_decimal, :net_amount_per_billing_cycle, :net_amount_per_billing_cycle_in_decimal
5
+ attr_accessor :item_price_id, :item_type, :quantity, :quantity_in_decimal, :metered_quantity, :unit_price, :unit_price_in_decimal, :amount, :amount_in_decimal, :billing_period, :billing_period_unit, :free_quantity, :free_quantity_in_decimal, :billing_cycles, :service_period_days, :charge_on_event, :charge_once, :charge_on_option, :start_date, :end_date, :ramp_tier_id, :discount_per_billing_cycle, :discount_per_billing_cycle_in_decimal, :item_level_discount_per_billing_cycle, :item_level_discount_per_billing_cycle_in_decimal, :amount_per_billing_cycle, :amount_per_billing_cycle_in_decimal, :net_amount_per_billing_cycle, :net_amount_per_billing_cycle_in_decimal, :description
6
6
  end
7
7
 
8
8
  class Discount < Model
@@ -0,0 +1,17 @@
1
+ module ChargeBee
2
+ class VaultedPaymentMethod < Model
3
+
4
+ attr_accessor :id, :customer_id, :credit_card_id, :created_at, :modified_at
5
+
6
+ # OPERATIONS
7
+ #-----------
8
+
9
+ def self.retrieve(id, env=nil, headers={})
10
+ jsonKeys = {
11
+ }
12
+ options = {}
13
+ Request.send('get', uri_path("vaulted_payment_methods",id.to_s), {}, env, headers,nil, false, jsonKeys, options, "vaultedPaymentMethod", "retrieve")
14
+ end
15
+
16
+ end # ~VaultedPaymentMethod
17
+ end # ~ChargeBee
@@ -98,11 +98,21 @@ module ChargeBee
98
98
  return payment_source;
99
99
  end
100
100
 
101
+ def gateway_payment_method_token()
102
+ gateway_payment_method_token = get(:gateway_payment_method_token, GatewayPaymentMethodToken);
103
+ return gateway_payment_method_token;
104
+ end
105
+
101
106
  def third_party_payment_method()
102
107
  third_party_payment_method = get(:third_party_payment_method, ThirdPartyPaymentMethod);
103
108
  return third_party_payment_method;
104
109
  end
105
110
 
111
+ def vaulted_payment_method()
112
+ vaulted_payment_method = get(:vaulted_payment_method, VaultedPaymentMethod);
113
+ return vaulted_payment_method;
114
+ end
115
+
106
116
  def virtual_bank_account()
107
117
  virtual_bank_account = get(:virtual_bank_account, VirtualBankAccount);
108
118
  return virtual_bank_account;
@@ -244,6 +254,11 @@ module ChargeBee
244
254
  return quote_line_group;
245
255
  end
246
256
 
257
+ def quote_entitlement()
258
+ quote_entitlement = get(:quote_entitlement, QuoteEntitlement);
259
+ return quote_entitlement;
260
+ end
261
+
247
262
  def cpq_quote_signature()
248
263
  cpq_quote_signature = get(:cpq_quote_signature, CpqQuoteSignature);
249
264
  return cpq_quote_signature;
@@ -414,6 +429,11 @@ module ChargeBee
414
429
  return metadata;
415
430
  end
416
431
 
432
+ def credit_unit()
433
+ credit_unit = get(:credit_unit, CreditUnit);
434
+ return credit_unit;
435
+ end
436
+
417
437
  def subscription_entitlement()
418
438
  subscription_entitlement = get(:subscription_entitlement, SubscriptionEntitlement,
419
439
  {:component => SubscriptionEntitlement::Component});
@@ -494,6 +514,11 @@ module ChargeBee
494
514
  return omnichannel_subscription_item_scheduled_change;
495
515
  end
496
516
 
517
+ def omnichannel_subscription_item_metric()
518
+ omnichannel_subscription_item_metric = get(:omnichannel_subscription_item_metric, OmnichannelSubscriptionItemMetric);
519
+ return omnichannel_subscription_item_metric;
520
+ end
521
+
497
522
  def omnichannel_subscription()
498
523
  omnichannel_subscription = get(:omnichannel_subscription, OmnichannelSubscription, {},
499
524
  {:omnichannel_subscription_items => OmnichannelSubscriptionItem, :initial_purchase_transaction => OmnichannelTransaction});
@@ -644,6 +669,11 @@ module ChargeBee
644
669
  return grant_block;
645
670
  end
646
671
 
672
+ def ledger_entry()
673
+ ledger_entry = get(:ledger_entry, LedgerEntry);
674
+ return ledger_entry;
675
+ end
676
+
647
677
  def promotional_grant()
648
678
  promotional_grant = get(:promotional_grant, PromotionalGrant);
649
679
  return promotional_grant;
@@ -737,6 +767,12 @@ module ChargeBee
737
767
  return grant_blocks;
738
768
  end
739
769
 
770
+ def ledger_entries()
771
+ ledger_entries = get_list(:ledger_entries, LedgerEntry,
772
+ {});
773
+ return ledger_entries;
774
+ end
775
+
740
776
 
741
777
  def to_s(*args)
742
778
  JSON.pretty_generate(@response)
data/lib/chargebee.rb CHANGED
@@ -41,6 +41,7 @@ require File.dirname(__FILE__) + '/chargebee/models/coupon_set'
41
41
  require File.dirname(__FILE__) + '/chargebee/models/cpq_quote_signature'
42
42
  require File.dirname(__FILE__) + '/chargebee/models/credit_note'
43
43
  require File.dirname(__FILE__) + '/chargebee/models/credit_note_estimate'
44
+ require File.dirname(__FILE__) + '/chargebee/models/credit_unit'
44
45
  require File.dirname(__FILE__) + '/chargebee/models/currency'
45
46
  require File.dirname(__FILE__) + '/chargebee/models/customer'
46
47
  require File.dirname(__FILE__) + '/chargebee/models/customer_entitlement'
@@ -56,6 +57,7 @@ require File.dirname(__FILE__) + '/chargebee/models/export'
56
57
  require File.dirname(__FILE__) + '/chargebee/models/feature'
57
58
  require File.dirname(__FILE__) + '/chargebee/models/filter_condition'
58
59
  require File.dirname(__FILE__) + '/chargebee/models/gateway_error_detail'
60
+ require File.dirname(__FILE__) + '/chargebee/models/gateway_payment_method_token'
59
61
  require File.dirname(__FILE__) + '/chargebee/models/gift'
60
62
  require File.dirname(__FILE__) + '/chargebee/models/grant_block'
61
63
  require File.dirname(__FILE__) + '/chargebee/models/hierarchy'
@@ -72,6 +74,7 @@ require File.dirname(__FILE__) + '/chargebee/models/item_entitlement'
72
74
  require File.dirname(__FILE__) + '/chargebee/models/item_family'
73
75
  require File.dirname(__FILE__) + '/chargebee/models/item_price'
74
76
  require File.dirname(__FILE__) + '/chargebee/models/ledger_account_balance'
77
+ require File.dirname(__FILE__) + '/chargebee/models/ledger_entry'
75
78
  require File.dirname(__FILE__) + '/chargebee/models/ledger_operation'
76
79
  require File.dirname(__FILE__) + '/chargebee/models/metadata'
77
80
  require File.dirname(__FILE__) + '/chargebee/models/meter'
@@ -83,6 +86,7 @@ require File.dirname(__FILE__) + '/chargebee/models/omnichannel_one_time_order'
83
86
  require File.dirname(__FILE__) + '/chargebee/models/omnichannel_one_time_order_item'
84
87
  require File.dirname(__FILE__) + '/chargebee/models/omnichannel_subscription'
85
88
  require File.dirname(__FILE__) + '/chargebee/models/omnichannel_subscription_item'
89
+ require File.dirname(__FILE__) + '/chargebee/models/omnichannel_subscription_item_metric'
86
90
  require File.dirname(__FILE__) + '/chargebee/models/omnichannel_subscription_item_offer'
87
91
  require File.dirname(__FILE__) + '/chargebee/models/omnichannel_subscription_item_scheduled_change'
88
92
  require File.dirname(__FILE__) + '/chargebee/models/omnichannel_transaction'
@@ -103,6 +107,7 @@ require File.dirname(__FILE__) + '/chargebee/models/promotional_credit'
103
107
  require File.dirname(__FILE__) + '/chargebee/models/promotional_grant'
104
108
  require File.dirname(__FILE__) + '/chargebee/models/purchase'
105
109
  require File.dirname(__FILE__) + '/chargebee/models/quote'
110
+ require File.dirname(__FILE__) + '/chargebee/models/quote_entitlement'
106
111
  require File.dirname(__FILE__) + '/chargebee/models/quote_line_group'
107
112
  require File.dirname(__FILE__) + '/chargebee/models/quoted_charge'
108
113
  require File.dirname(__FILE__) + '/chargebee/models/quoted_delta_ramp'
@@ -129,12 +134,13 @@ require File.dirname(__FILE__) + '/chargebee/models/usage_charge'
129
134
  require File.dirname(__FILE__) + '/chargebee/models/usage_event'
130
135
  require File.dirname(__FILE__) + '/chargebee/models/usage_file'
131
136
  require File.dirname(__FILE__) + '/chargebee/models/usage_summary'
137
+ require File.dirname(__FILE__) + '/chargebee/models/vaulted_payment_method'
132
138
  require File.dirname(__FILE__) + '/chargebee/models/virtual_bank_account'
133
139
  require File.dirname(__FILE__) + '/chargebee/models/webhook_endpoint'
134
140
 
135
141
  module ChargeBee
136
142
 
137
- VERSION = '2.77.0'
143
+ VERSION = '2.79.0'
138
144
 
139
145
  @@default_env = nil
140
146
  @@verify_ca_certs = true
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chargebee
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.77.0
4
+ version: 2.79.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rajaraman S
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2026-07-21 00:00:00.000000000 Z
12
+ date: 2026-08-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: cgi
@@ -108,6 +108,7 @@ files:
108
108
  - lib/chargebee/models/cpq_quote_signature.rb
109
109
  - lib/chargebee/models/credit_note.rb
110
110
  - lib/chargebee/models/credit_note_estimate.rb
111
+ - lib/chargebee/models/credit_unit.rb
111
112
  - lib/chargebee/models/csv_tax_rule.rb
112
113
  - lib/chargebee/models/currency.rb
113
114
  - lib/chargebee/models/customer.rb
@@ -124,6 +125,7 @@ files:
124
125
  - lib/chargebee/models/feature.rb
125
126
  - lib/chargebee/models/filter_condition.rb
126
127
  - lib/chargebee/models/gateway_error_detail.rb
128
+ - lib/chargebee/models/gateway_payment_method_token.rb
127
129
  - lib/chargebee/models/gift.rb
128
130
  - lib/chargebee/models/grant_block.rb
129
131
  - lib/chargebee/models/hierarchy.rb
@@ -140,6 +142,7 @@ files:
140
142
  - lib/chargebee/models/item_family.rb
141
143
  - lib/chargebee/models/item_price.rb
142
144
  - lib/chargebee/models/ledger_account_balance.rb
145
+ - lib/chargebee/models/ledger_entry.rb
143
146
  - lib/chargebee/models/ledger_operation.rb
144
147
  - lib/chargebee/models/metadata.rb
145
148
  - lib/chargebee/models/meter.rb
@@ -152,6 +155,7 @@ files:
152
155
  - lib/chargebee/models/omnichannel_one_time_order_item.rb
153
156
  - lib/chargebee/models/omnichannel_subscription.rb
154
157
  - lib/chargebee/models/omnichannel_subscription_item.rb
158
+ - lib/chargebee/models/omnichannel_subscription_item_metric.rb
155
159
  - lib/chargebee/models/omnichannel_subscription_item_offer.rb
156
160
  - lib/chargebee/models/omnichannel_subscription_item_scheduled_change.rb
157
161
  - lib/chargebee/models/omnichannel_transaction.rb
@@ -199,6 +203,7 @@ files:
199
203
  - lib/chargebee/models/usage_event.rb
200
204
  - lib/chargebee/models/usage_file.rb
201
205
  - lib/chargebee/models/usage_summary.rb
206
+ - lib/chargebee/models/vaulted_payment_method.rb
202
207
  - lib/chargebee/models/virtual_bank_account.rb
203
208
  - lib/chargebee/models/webhook_endpoint.rb
204
209
  - lib/chargebee/native_request.rb