chargebee 2.78.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: fa1e1329c8e1d56ac5010f379b9cea93641f8644bbf5d7dbf7ca80c3e9c0a1eb
4
- data.tar.gz: 7ad51c4868e08e99b5b9d872a561455b6eba45f71dbbb76c8f13c49a5730ed99
3
+ metadata.gz: 4947cd02ab99037c109b9da5322b238e1b27434c30f9b2e8d69428442d0133ca
4
+ data.tar.gz: 30bc9732d0a27b88b51c476977203aedfe169b7b368390a6bab8a4dac493d0e3
5
5
  SHA512:
6
- metadata.gz: 93b93230e23c38a34be6074de559b25460364b4704e8343e07639a407a297b2d8bc46aa509da1f3ff66de043c08b956ef2cf6a0703e2c834fd662f333b0f95d5
7
- data.tar.gz: f45972e8045fc0fd238032221e1098d4951edf84c6f860e95724ec4fef10b1b85dabd04cb14fd6661ca24c765cc70289a6ba5967781e7aa8af70b73bda806c2b
6
+ metadata.gz: 605882d5b7bb2f272dd34e495134bc7dea4709c7cb9772603685620abd68d47659ca2f97e146bf4b94a1855ae88af8c09cafb5afa5b1cbe75f1f582975df4fba
7
+ data.tar.gz: 9551e4c2bb782ca4e39a762281d405d41f2a4838ca301f01197d51edbe342998d5eb50c0f3ef6c1e35ac2113daf428428e9848f77c1f26c582e4f27d2666a75f
data/CHANGELOG.md CHANGED
@@ -1,3 +1,72 @@
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
+
1
70
  ### v2.78.0 (2026-07-30)
2
71
  * * *
3
72
  ### New Resources:
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- chargebee (2.78.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.78.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.78.0'
8
- s.date = '2026-07-30'
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 = {
@@ -84,6 +84,7 @@ Gem::Specification.new do |s|
84
84
  lib/chargebee/models/feature.rb
85
85
  lib/chargebee/models/filter_condition.rb
86
86
  lib/chargebee/models/gateway_error_detail.rb
87
+ lib/chargebee/models/gateway_payment_method_token.rb
87
88
  lib/chargebee/models/gift.rb
88
89
  lib/chargebee/models/grant_block.rb
89
90
  lib/chargebee/models/hierarchy.rb
@@ -113,6 +114,7 @@ Gem::Specification.new do |s|
113
114
  lib/chargebee/models/omnichannel_one_time_order_item.rb
114
115
  lib/chargebee/models/omnichannel_subscription.rb
115
116
  lib/chargebee/models/omnichannel_subscription_item.rb
117
+ lib/chargebee/models/omnichannel_subscription_item_metric.rb
116
118
  lib/chargebee/models/omnichannel_subscription_item_offer.rb
117
119
  lib/chargebee/models/omnichannel_subscription_item_scheduled_change.rb
118
120
  lib/chargebee/models/omnichannel_transaction.rb
@@ -160,6 +162,7 @@ Gem::Specification.new do |s|
160
162
  lib/chargebee/models/usage_event.rb
161
163
  lib/chargebee/models/usage_file.rb
162
164
  lib/chargebee/models/usage_summary.rb
165
+ lib/chargebee/models/vaulted_payment_method.rb
163
166
  lib/chargebee/models/virtual_bank_account.rb
164
167
  lib/chargebee/models/webhook_endpoint.rb
165
168
  lib/chargebee/native_request.rb
@@ -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
  }
@@ -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
@@ -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
  }
@@ -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;
@@ -499,6 +514,11 @@ module ChargeBee
499
514
  return omnichannel_subscription_item_scheduled_change;
500
515
  end
501
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
+
502
522
  def omnichannel_subscription()
503
523
  omnichannel_subscription = get(:omnichannel_subscription, OmnichannelSubscription, {},
504
524
  {:omnichannel_subscription_items => OmnichannelSubscriptionItem, :initial_purchase_transaction => OmnichannelTransaction});
data/lib/chargebee.rb CHANGED
@@ -57,6 +57,7 @@ require File.dirname(__FILE__) + '/chargebee/models/export'
57
57
  require File.dirname(__FILE__) + '/chargebee/models/feature'
58
58
  require File.dirname(__FILE__) + '/chargebee/models/filter_condition'
59
59
  require File.dirname(__FILE__) + '/chargebee/models/gateway_error_detail'
60
+ require File.dirname(__FILE__) + '/chargebee/models/gateway_payment_method_token'
60
61
  require File.dirname(__FILE__) + '/chargebee/models/gift'
61
62
  require File.dirname(__FILE__) + '/chargebee/models/grant_block'
62
63
  require File.dirname(__FILE__) + '/chargebee/models/hierarchy'
@@ -85,6 +86,7 @@ require File.dirname(__FILE__) + '/chargebee/models/omnichannel_one_time_order'
85
86
  require File.dirname(__FILE__) + '/chargebee/models/omnichannel_one_time_order_item'
86
87
  require File.dirname(__FILE__) + '/chargebee/models/omnichannel_subscription'
87
88
  require File.dirname(__FILE__) + '/chargebee/models/omnichannel_subscription_item'
89
+ require File.dirname(__FILE__) + '/chargebee/models/omnichannel_subscription_item_metric'
88
90
  require File.dirname(__FILE__) + '/chargebee/models/omnichannel_subscription_item_offer'
89
91
  require File.dirname(__FILE__) + '/chargebee/models/omnichannel_subscription_item_scheduled_change'
90
92
  require File.dirname(__FILE__) + '/chargebee/models/omnichannel_transaction'
@@ -105,6 +107,7 @@ require File.dirname(__FILE__) + '/chargebee/models/promotional_credit'
105
107
  require File.dirname(__FILE__) + '/chargebee/models/promotional_grant'
106
108
  require File.dirname(__FILE__) + '/chargebee/models/purchase'
107
109
  require File.dirname(__FILE__) + '/chargebee/models/quote'
110
+ require File.dirname(__FILE__) + '/chargebee/models/quote_entitlement'
108
111
  require File.dirname(__FILE__) + '/chargebee/models/quote_line_group'
109
112
  require File.dirname(__FILE__) + '/chargebee/models/quoted_charge'
110
113
  require File.dirname(__FILE__) + '/chargebee/models/quoted_delta_ramp'
@@ -131,12 +134,13 @@ require File.dirname(__FILE__) + '/chargebee/models/usage_charge'
131
134
  require File.dirname(__FILE__) + '/chargebee/models/usage_event'
132
135
  require File.dirname(__FILE__) + '/chargebee/models/usage_file'
133
136
  require File.dirname(__FILE__) + '/chargebee/models/usage_summary'
137
+ require File.dirname(__FILE__) + '/chargebee/models/vaulted_payment_method'
134
138
  require File.dirname(__FILE__) + '/chargebee/models/virtual_bank_account'
135
139
  require File.dirname(__FILE__) + '/chargebee/models/webhook_endpoint'
136
140
 
137
141
  module ChargeBee
138
142
 
139
- VERSION = '2.78.0'
143
+ VERSION = '2.79.0'
140
144
 
141
145
  @@default_env = nil
142
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.78.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-30 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
@@ -125,6 +125,7 @@ files:
125
125
  - lib/chargebee/models/feature.rb
126
126
  - lib/chargebee/models/filter_condition.rb
127
127
  - lib/chargebee/models/gateway_error_detail.rb
128
+ - lib/chargebee/models/gateway_payment_method_token.rb
128
129
  - lib/chargebee/models/gift.rb
129
130
  - lib/chargebee/models/grant_block.rb
130
131
  - lib/chargebee/models/hierarchy.rb
@@ -154,6 +155,7 @@ files:
154
155
  - lib/chargebee/models/omnichannel_one_time_order_item.rb
155
156
  - lib/chargebee/models/omnichannel_subscription.rb
156
157
  - lib/chargebee/models/omnichannel_subscription_item.rb
158
+ - lib/chargebee/models/omnichannel_subscription_item_metric.rb
157
159
  - lib/chargebee/models/omnichannel_subscription_item_offer.rb
158
160
  - lib/chargebee/models/omnichannel_subscription_item_scheduled_change.rb
159
161
  - lib/chargebee/models/omnichannel_transaction.rb
@@ -201,6 +203,7 @@ files:
201
203
  - lib/chargebee/models/usage_event.rb
202
204
  - lib/chargebee/models/usage_file.rb
203
205
  - lib/chargebee/models/usage_summary.rb
206
+ - lib/chargebee/models/vaulted_payment_method.rb
204
207
  - lib/chargebee/models/virtual_bank_account.rb
205
208
  - lib/chargebee/models/webhook_endpoint.rb
206
209
  - lib/chargebee/native_request.rb