chargebee 2.58.0 → 2.60.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: b1cc3386050b2ab1aa940939ce4cdec99d99ae1a78be90f459fbb482ee1fb195
4
- data.tar.gz: cd3b659db1ea6cd510ae3ca186c6e35dfe567b370ce12b747d8a1caed608d75b
3
+ metadata.gz: 89511842fcf87804ad314ffc5855ca7276ed7199b0d05a871708ef257df2251d
4
+ data.tar.gz: c4e8c06243a6fb738694fc3151e6decd6610e0ce3b35e9abbb12ee802ca143bb
5
5
  SHA512:
6
- metadata.gz: 4b6a6f971e017279014fcfeebf66ad88c1e897ae7d4e243ba5bf6014796f9635c224a3a584498b4f3611718651d9feb7eeae0d6ea891c5e2115c9a8f8c78def9
7
- data.tar.gz: 849b22407cce88891250aa6e623462a0adcf827c47f17d75017d7465e30196806d9144250a6da32c3816dcb7e1c715f96c2b1c469deade720beeb4aef738df6b
6
+ metadata.gz: 4c939f8360d39a32fd1268ca5b724d245f5d520c846c4512ae53fce910d9fe5744690c20ca480a038744f41261521cbac0226127283710e4ba423bcab8adae1e
7
+ data.tar.gz: 177cc70fc3d6f6eb68007a5250107c2842ee7915cc20e3b44351de822255607cc38599f9517581febbde8309a090dad98aa8da2262082feba5cfc26ee25e0354
data/CHANGELOG.md CHANGED
@@ -1,3 +1,65 @@
1
+ ### v2.60.0 (2025-08-25)
2
+ * * *
3
+
4
+ ### New enhancement:
5
+ * Updated the `./lib/ssl/ca-certs.crt` to use the latest version of `DigiCert Global Root G2`.
6
+
7
+ ### v2.59.0 (2025-07-18)
8
+ * * *
9
+
10
+ ### New Resources:
11
+ * WebhookEndpoints has been added.
12
+ * OmnichannelOneTimeOrder has been added.
13
+ * OmnichannelOneTimeOrderItem has been added.
14
+
15
+ ### New Attributes:
16
+ * business_entity_id has been added to Comment.
17
+ * business_entity_id has been added to PromotionalCredit.
18
+ * quantity has been added to Discount.
19
+ * business_entity_id has been added to PromotionalCredit.
20
+ * coupon_applicability_mappings[] has been added to QuotedCharge.
21
+ * linked_omnichannel_one_time_orders[] has been added to RecordedPurchase.
22
+ * quantity has been added to Subscripiton#Discount.
23
+
24
+ ### New Input Parameters:
25
+ * transaction[id] has been added to Customer#RecordExcessPaymentRequest.
26
+ * discounts[quantity][] has been added to Estimate#CreateSubItemEstimateRequest.
27
+ * consolidate_entitlements has been added to CustomerEntitlement#EntitlementsForCustomer.
28
+ * discounts[quantity][] has been added to Estimate#CreateSubItemEstimateRequest.
29
+ * discounts[quantity][] has been added to Estimate#CreateSubItemForCustomerEstimateRequest.
30
+ * discounts[quantity][] has been added to Estimate#UpdateSubscriptionForItemsRequest.
31
+ * discounts[quantity][] has been added to Estimate#CreateInvoiceForItemsRequest.
32
+ * discounts[quantity][] has been added to HostedPage#CheckoutOneTimeForItemsRequest.
33
+ * discounts[quantity][] has been added to HostedPage#CheckoutNewForItemsRequest.
34
+ * discounts[quantity][] has been added to HostedPage#CheckoutExistingForItemsRequest.
35
+ * discounts[quantity][] has been added to PricingPageSession#CreateForNewSubscriptionRequest.
36
+ * discounts[quantity][] has been added to PricingPageSession#CreateForExistingSubscriptionRequest.
37
+ * discounts[quantity][] has been added to Purchase#CreateRequest.
38
+ * discounts[quantity][] has been added to Purchase#EstimateRequest.
39
+ * discounts[quantity][] has been added to Quote#CreateSubItemsForCustomerQuoteRequest.
40
+ * discounts[quantity][] has been added to Quote#EditCreateSubCustomerQuoteForItemsRequest.
41
+ * discounts[quantity][] has been added to Quote#UpdateSubscriptionQuoteForItemsRequest.
42
+ * discounts[quantity][] has been added to Quote#EditUpdateSubscriptionQuoteForItemsRequest.
43
+ * discounts[quantity][] has been added to Quote#CreateForChargeItemsAndChargesRequest.
44
+ * discounts[quantity][] has been added to Quote#EditForChargeItemsAndChargesRequest.
45
+ * discounts[quantity][] has been added to Subscription#CreateWithItemsRequest.
46
+ * discounts[quantity][] has been added to Subscription#UpdateForItemsRequest.
47
+ * discounts[quantity][] has been added to Subscription#ImportForItemsRequest.
48
+ * google_play_store[product_id] has been added to RecordedPurchase#CreateRequest.
49
+ * google_play_store[order_id] has been added to RecordedPurchase#CreateRequest.
50
+
51
+ ### New Enums
52
+ * PAUSE has been added to OmnichannelSubscriptionItemScheduledChange#ChangeType.
53
+ * OFFER_QUANTITY has been added to Discount#Type.
54
+ * OFFER_QUANTITY has been added to Subscription#Discount#Type.
55
+ * OMNICHANNEL_ONE_TIME_ORDER has been added to EntityType.
56
+ * OMNICHANNEL_ONE_TIME_ORDER_ITEM has been added to EntityType.
57
+ * USAGE_FILE has been added to EntityType.
58
+ * OMNICHANNEL_ONE_TIME_ORDER_CREATED has been added to EventType.
59
+ * OMNICHANNEL_ONE_TIME_ORDER_ITEM_CANCELLED has been added to EventType.
60
+ * USAGE_FILE_INGESTED has been added to EventType.
61
+ * OMNICHANNEL_SUBSCRIPTION_ITEM_PAUSE_SCHEDULED has been added to EventType.
62
+
1
63
  ### v2.58.0 (2025-07-18)
2
64
  * * *
3
65
 
data/Gemfile CHANGED
@@ -3,6 +3,7 @@ source "https://rubygems.org"
3
3
  gemspec
4
4
 
5
5
  group :development, :test do
6
- gem 'rspec', '~> 3.12'
7
- gem 'webmock'
8
- end
6
+ gem 'rspec', '~> 3.0.0'
7
+ gem 'webmock', '~> 3.14.0'
8
+ gem 'public_suffix', '< 5.0.0'
9
+ end
data/Gemfile.lock CHANGED
@@ -1,23 +1,24 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- chargebee (2.58.0)
4
+ chargebee (2.60.0)
5
5
  cgi (>= 0.1.0, < 1.0.0)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
+ addressable (2.8.7)
11
+ public_suffix (>= 2.0.2, < 7.0)
12
+ bigdecimal (3.2.2)
10
13
  cgi (0.3.2)
11
- diff-lcs (1.4.4)
12
- domain_name (0.5.20190701)
13
- unf (>= 0.0.5, < 1.0.0)
14
- http-cookie (1.0.5)
15
- domain_name (~> 0.5)
16
- mime-types (3.4.1)
17
- mime-types-data (~> 3.2015)
18
- mime-types-data (3.2022.0105)
14
+ crack (1.0.0)
15
+ bigdecimal
16
+ rexml
17
+ diff-lcs (1.6.2)
18
+ hashdiff (1.2.0)
19
19
  mocha (1.13.0)
20
- netrc (0.11.0)
20
+ public_suffix (4.0.7)
21
+ rexml (3.4.1)
21
22
  rspec (3.0.0)
22
23
  rspec-core (~> 3.0.0)
23
24
  rspec-expectations (~> 3.0.0)
@@ -30,9 +31,10 @@ GEM
30
31
  rspec-mocks (3.0.4)
31
32
  rspec-support (~> 3.0.0)
32
33
  rspec-support (3.0.4)
33
- unf (0.1.4)
34
- unf_ext
35
- unf_ext (0.0.8.2)
34
+ webmock (3.14.0)
35
+ addressable (>= 2.8.0)
36
+ crack (>= 0.3.2)
37
+ hashdiff (>= 0.4.0, < 2.0.0)
36
38
 
37
39
  PLATFORMS
38
40
  arm64-darwin-21
@@ -43,7 +45,9 @@ PLATFORMS
43
45
  DEPENDENCIES
44
46
  chargebee!
45
47
  mocha
48
+ public_suffix (< 5.0.0)
46
49
  rspec (~> 3.0.0)
50
+ webmock (~> 3.14.0)
47
51
 
48
52
  BUNDLED WITH
49
53
  2.3.17
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.58.0'
8
- s.date = '2025-07-21'
7
+ s.version = '2.60.0'
8
+ s.date = '2025-08-25'
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 = {
@@ -76,6 +76,7 @@ Gem::Specification.new do |s|
76
76
  lib/chargebee/models/gift.rb
77
77
  lib/chargebee/models/hierarchy.rb
78
78
  lib/chargebee/models/hosted_page.rb
79
+ lib/chargebee/models/impacted_customer.rb
79
80
  lib/chargebee/models/impacted_item.rb
80
81
  lib/chargebee/models/impacted_item_price.rb
81
82
  lib/chargebee/models/impacted_subscription.rb
@@ -89,6 +90,8 @@ Gem::Specification.new do |s|
89
90
  lib/chargebee/models/metadata.rb
90
91
  lib/chargebee/models/model.rb
91
92
  lib/chargebee/models/non_subscription.rb
93
+ lib/chargebee/models/omnichannel_one_time_order.rb
94
+ lib/chargebee/models/omnichannel_one_time_order_item.rb
92
95
  lib/chargebee/models/omnichannel_subscription.rb
93
96
  lib/chargebee/models/omnichannel_subscription_item.rb
94
97
  lib/chargebee/models/omnichannel_subscription_item_scheduled_change.rb
@@ -119,6 +122,8 @@ Gem::Specification.new do |s|
119
122
  lib/chargebee/models/site_migration_detail.rb
120
123
  lib/chargebee/models/subscription.rb
121
124
  lib/chargebee/models/subscription_entitlement.rb
125
+ lib/chargebee/models/subscription_entitlements_created_detail.rb
126
+ lib/chargebee/models/subscription_entitlements_updated_detail.rb
122
127
  lib/chargebee/models/subscription_estimate.rb
123
128
  lib/chargebee/models/tax_withheld.rb
124
129
  lib/chargebee/models/third_party_payment_method.rb
@@ -130,6 +135,7 @@ Gem::Specification.new do |s|
130
135
  lib/chargebee/models/usage_event.rb
131
136
  lib/chargebee/models/usage_file.rb
132
137
  lib/chargebee/models/virtual_bank_account.rb
138
+ lib/chargebee/models/webhook_endpoint.rb
133
139
  lib/chargebee/nativeRequest.rb
134
140
  lib/chargebee/request.rb
135
141
  lib/chargebee/rest.rb
@@ -1,7 +1,7 @@
1
1
  module ChargeBee
2
2
  class Comment < Model
3
3
 
4
- attr_accessor :id, :entity_type, :added_by, :notes, :created_at, :type, :entity_id
4
+ attr_accessor :id, :entity_type, :added_by, :notes, :created_at, :type, :entity_id, :business_entity_id
5
5
 
6
6
  # OPERATIONS
7
7
  #-----------
@@ -1,32 +1,36 @@
1
1
  module ChargeBee
2
2
  class CreditNote < Model
3
3
 
4
- class Einvoice < Model
5
- attr_accessor :id, :reference_number, :status, :message
6
- end
7
-
8
4
  class LineItem < Model
9
5
  attr_accessor :id, :subscription_id, :date_from, :date_to, :unit_amount, :quantity, :amount, :pricing_model, :is_taxed, :tax_amount, :tax_rate, :unit_amount_in_decimal, :quantity_in_decimal, :amount_in_decimal, :discount_amount, :item_level_discount_amount, :metered, :is_percentage_pricing, :reference_line_item_id, :description, :entity_description, :entity_type, :tax_exempt_reason, :entity_id, :customer_id
10
6
  end
11
7
 
12
- class Discount < Model
13
- attr_accessor :amount, :description, :entity_type, :discount_type, :entity_id, :coupon_set_code
8
+ class LineItemTier < Model
9
+ attr_accessor :line_item_id, :starting_unit, :ending_unit, :quantity_used, :unit_amount, :starting_unit_in_decimal, :ending_unit_in_decimal, :quantity_used_in_decimal, :unit_amount_in_decimal, :pricing_type, :package_size
14
10
  end
15
11
 
16
12
  class LineItemDiscount < Model
17
13
  attr_accessor :line_item_id, :discount_type, :coupon_id, :entity_id, :discount_amount
18
14
  end
19
15
 
20
- class LineItemTier < Model
21
- attr_accessor :line_item_id, :starting_unit, :ending_unit, :quantity_used, :unit_amount, :starting_unit_in_decimal, :ending_unit_in_decimal, :quantity_used_in_decimal, :unit_amount_in_decimal, :pricing_type, :package_size
16
+ class LineItemTax < Model
17
+ attr_accessor :line_item_id, :tax_name, :tax_rate, :date_to, :date_from, :prorated_taxable_amount, :is_partial_tax_applied, :is_non_compliance_tax, :taxable_amount, :tax_amount, :tax_juris_type, :tax_juris_name, :tax_juris_code, :tax_amount_in_local_currency, :local_currency_code
18
+ end
19
+
20
+ class LineItemAddress < Model
21
+ attr_accessor :line_item_id, :first_name, :last_name, :email, :company, :phone, :line1, :line2, :line3, :city, :state_code, :state, :country, :zip, :validation_status
22
+ end
23
+
24
+ class Discount < Model
25
+ attr_accessor :amount, :description, :entity_type, :discount_type, :entity_id, :coupon_set_code
22
26
  end
23
27
 
24
28
  class Tax < Model
25
29
  attr_accessor :name, :amount, :description
26
30
  end
27
31
 
28
- class LineItemTax < Model
29
- attr_accessor :line_item_id, :tax_name, :tax_rate, :date_to, :date_from, :prorated_taxable_amount, :is_partial_tax_applied, :is_non_compliance_tax, :taxable_amount, :tax_amount, :tax_juris_type, :tax_juris_name, :tax_juris_code, :tax_amount_in_local_currency, :local_currency_code
32
+ class TaxOrigin < Model
33
+ attr_accessor :country, :registration_number
30
34
  end
31
35
 
32
36
  class LinkedRefund < Model
@@ -45,26 +49,22 @@ module ChargeBee
45
49
  attr_accessor :first_name, :last_name, :email, :company, :phone, :line1, :line2, :line3, :city, :state_code, :state, :country, :zip, :validation_status
46
50
  end
47
51
 
48
- class SiteDetailsAtCreation < Model
49
- attr_accessor :timezone, :organization_address
50
- end
51
-
52
- class TaxOrigin < Model
53
- attr_accessor :country, :registration_number
52
+ class Einvoice < Model
53
+ attr_accessor :id, :reference_number, :status, :message
54
54
  end
55
55
 
56
- class LineItemAddress < Model
57
- attr_accessor :line_item_id, :first_name, :last_name, :email, :company, :phone, :line1, :line2, :line3, :city, :state_code, :state, :country, :zip, :validation_status
56
+ class SiteDetailsAtCreation < Model
57
+ attr_accessor :timezone, :organization_address
58
58
  end
59
59
 
60
60
  attr_accessor :id, :customer_id, :subscription_id, :reference_invoice_id, :type, :reason_code,
61
61
  :status, :vat_number, :date, :price_type, :currency_code, :total, :amount_allocated, :amount_refunded,
62
62
  :amount_available, :refunded_at, :voided_at, :generated_at, :resource_version, :updated_at,
63
- :channel, :einvoice, :sub_total, :sub_total_in_local_currency, :total_in_local_currency, :local_currency_code,
64
- :round_off_amount, :fractional_correction, :line_items, :discounts, :line_item_discounts, :line_item_tiers,
65
- :taxes, :line_item_taxes, :linked_refunds, :allocations, :deleted, :tax_category, :local_currency_exchange_rate,
66
- :create_reason_code, :vat_number_prefix, :business_entity_id, :shipping_address, :billing_address,
67
- :site_details_at_creation, :tax_origin, :line_item_addresses
63
+ :channel, :sub_total, :sub_total_in_local_currency, :total_in_local_currency, :local_currency_code,
64
+ :round_off_amount, :fractional_correction, :line_items, :line_item_tiers, :line_item_discounts,
65
+ :line_item_taxes, :line_item_addresses, :discounts, :taxes, :tax_origin, :linked_refunds, :allocations,
66
+ :deleted, :tax_category, :local_currency_exchange_rate, :create_reason_code, :vat_number_prefix,
67
+ :business_entity_id, :shipping_address, :billing_address, :einvoice, :site_details_at_creation
68
68
 
69
69
  # OPERATIONS
70
70
  #-----------
@@ -1,7 +1,7 @@
1
1
  module ChargeBee
2
2
  class Discount < Model
3
3
 
4
- attr_accessor :id, :invoice_name, :type, :percentage, :amount, :currency_code, :duration_type,
4
+ attr_accessor :id, :invoice_name, :type, :percentage, :amount, :quantity, :currency_code, :duration_type,
5
5
  :period, :period_unit, :included_in_mrr, :apply_on, :item_price_id, :created_at, :apply_till,
6
6
  :applied_count, :coupon_id, :index
7
7
 
@@ -0,0 +1,14 @@
1
+ module ChargeBee
2
+ class ImpactedCustomer < Model
3
+
4
+ class Download < Model
5
+ attr_accessor :download_url, :valid_till, :mime_type
6
+ end
7
+
8
+ attr_accessor :action_type, :download
9
+
10
+ # OPERATIONS
11
+ #-----------
12
+
13
+ end # ~ImpactedCustomer
14
+ end # ~ChargeBee
@@ -5,18 +5,14 @@ module ChargeBee
5
5
  attr_accessor :id, :subscription_id, :date_from, :date_to, :unit_amount, :quantity, :amount, :pricing_model, :is_taxed, :tax_amount, :tax_rate, :unit_amount_in_decimal, :quantity_in_decimal, :amount_in_decimal, :discount_amount, :item_level_discount_amount, :metered, :is_percentage_pricing, :reference_line_item_id, :description, :entity_description, :entity_type, :tax_exempt_reason, :entity_id, :customer_id
6
6
  end
7
7
 
8
- class Discount < Model
9
- attr_accessor :amount, :description, :entity_type, :discount_type, :entity_id, :coupon_set_code
8
+ class LineItemTier < Model
9
+ attr_accessor :line_item_id, :starting_unit, :ending_unit, :quantity_used, :unit_amount, :starting_unit_in_decimal, :ending_unit_in_decimal, :quantity_used_in_decimal, :unit_amount_in_decimal, :pricing_type, :package_size
10
10
  end
11
11
 
12
12
  class LineItemDiscount < Model
13
13
  attr_accessor :line_item_id, :discount_type, :coupon_id, :entity_id, :discount_amount
14
14
  end
15
15
 
16
- class Tax < Model
17
- attr_accessor :name, :amount, :description
18
- end
19
-
20
16
  class LineItemTax < Model
21
17
  attr_accessor :line_item_id, :tax_name, :tax_rate, :date_to, :date_from, :prorated_taxable_amount, :is_partial_tax_applied, :is_non_compliance_tax, :taxable_amount, :tax_amount, :tax_juris_type, :tax_juris_name, :tax_juris_code, :tax_amount_in_local_currency, :local_currency_code
22
18
  end
@@ -25,8 +21,20 @@ module ChargeBee
25
21
  attr_accessor :cn_id, :applied_amount, :line_item_id
26
22
  end
27
23
 
28
- class LineItemTier < Model
29
- attr_accessor :line_item_id, :starting_unit, :ending_unit, :quantity_used, :unit_amount, :starting_unit_in_decimal, :ending_unit_in_decimal, :quantity_used_in_decimal, :unit_amount_in_decimal, :pricing_type, :package_size
24
+ class LineItemAddress < Model
25
+ attr_accessor :line_item_id, :first_name, :last_name, :email, :company, :phone, :line1, :line2, :line3, :city, :state_code, :state, :country, :zip, :validation_status
26
+ end
27
+
28
+ class Discount < Model
29
+ attr_accessor :amount, :description, :entity_type, :discount_type, :entity_id, :coupon_set_code
30
+ end
31
+
32
+ class Tax < Model
33
+ attr_accessor :name, :amount, :description
34
+ end
35
+
36
+ class TaxOrigin < Model
37
+ attr_accessor :country, :registration_number
30
38
  end
31
39
 
32
40
  class LinkedPayment < Model
@@ -61,14 +69,14 @@ module ChargeBee
61
69
  attr_accessor :first_name, :last_name, :email, :company, :phone, :line1, :line2, :line3, :city, :state_code, :state, :country, :zip, :validation_status, :index
62
70
  end
63
71
 
64
- class StatementDescriptor < Model
65
- attr_accessor :id, :descriptor
66
- end
67
-
68
72
  class BillingAddress < Model
69
73
  attr_accessor :first_name, :last_name, :email, :company, :phone, :line1, :line2, :line3, :city, :state_code, :state, :country, :zip, :validation_status
70
74
  end
71
75
 
76
+ class StatementDescriptor < Model
77
+ attr_accessor :id, :descriptor
78
+ end
79
+
72
80
  class Einvoice < Model
73
81
  attr_accessor :id, :reference_number, :status, :message
74
82
  end
@@ -77,26 +85,18 @@ module ChargeBee
77
85
  attr_accessor :timezone, :organization_address
78
86
  end
79
87
 
80
- class TaxOrigin < Model
81
- attr_accessor :country, :registration_number
82
- end
83
-
84
- class LineItemAddress < Model
85
- attr_accessor :line_item_id, :first_name, :last_name, :email, :company, :phone, :line1, :line2, :line3, :city, :state_code, :state, :country, :zip, :validation_status
86
- end
87
-
88
- attr_accessor :id, :po_number, :customer_id, :subscription_id, :recurring, :status, :vat_number,
89
- :price_type, :date, :due_date, :net_term_days, :exchange_rate, :currency_code, :total, :amount_paid,
90
- :amount_adjusted, :write_off_amount, :credits_applied, :amount_due, :paid_at, :dunning_status,
91
- :next_retry_at, :voided_at, :resource_version, :updated_at, :sub_total, :sub_total_in_local_currency,
92
- :total_in_local_currency, :local_currency_code, :tax, :local_currency_exchange_rate, :first_invoice,
93
- :new_sales_amount, :has_advance_charges, :term_finalized, :is_gifted, :generated_at, :expected_payment_date,
94
- :amount_to_collect, :round_off_amount, :line_items, :discounts, :line_item_discounts, :taxes,
95
- :line_item_taxes, :line_item_credits, :line_item_tiers, :linked_payments, :dunning_attempts,
96
- :applied_credits, :adjustment_credit_notes, :issued_credit_notes, :linked_orders, :notes, :shipping_address,
97
- :statement_descriptor, :billing_address, :einvoice, :payment_owner, :void_reason_code, :deleted,
98
- :tax_category, :vat_number_prefix, :channel, :business_entity_id, :site_details_at_creation,
99
- :tax_origin, :line_item_addresses
88
+ attr_accessor :id, :customer_id, :payment_owner, :subscription_id, :recurring, :status, :date,
89
+ :due_date, :net_term_days, :po_number, :vat_number, :price_type, :exchange_rate, :local_currency_exchange_rate,
90
+ :currency_code, :local_currency_code, :tax, :sub_total, :sub_total_in_local_currency, :total,
91
+ :total_in_local_currency, :amount_due, :amount_adjusted, :amount_paid, :paid_at, :write_off_amount,
92
+ :credits_applied, :dunning_status, :next_retry_at, :voided_at, :resource_version, :updated_at,
93
+ :first_invoice, :new_sales_amount, :has_advance_charges, :term_finalized, :is_gifted, :generated_at,
94
+ :expected_payment_date, :amount_to_collect, :round_off_amount, :line_items, :line_item_tiers,
95
+ :line_item_discounts, :line_item_taxes, :line_item_credits, :line_item_addresses, :discounts,
96
+ :taxes, :tax_origin, :linked_payments, :dunning_attempts, :applied_credits, :adjustment_credit_notes,
97
+ :issued_credit_notes, :linked_orders, :notes, :shipping_address, :billing_address, :statement_descriptor,
98
+ :einvoice, :void_reason_code, :deleted, :tax_category, :vat_number_prefix, :channel, :business_entity_id,
99
+ :site_details_at_creation
100
100
 
101
101
  # OPERATIONS
102
102
  #-----------
@@ -0,0 +1,29 @@
1
+ module ChargeBee
2
+ class OmnichannelOneTimeOrder < Model
3
+
4
+ class OmnichannelTransaction < Model
5
+ attr_accessor :id, :id_at_source, :app_id, :price_currency, :price_units, :price_nanos, :type, :transacted_at, :created_at, :resource_version
6
+ end
7
+
8
+ attr_accessor :id, :app_id, :customer_id, :id_at_source, :origin, :source, :created_at, :resource_version,
9
+ :omnichannel_one_time_order_items, :purchase_transaction
10
+
11
+ # OPERATIONS
12
+ #-----------
13
+
14
+ def self.retrieve(id, env=nil, headers={})
15
+ jsonKeys = {
16
+ }
17
+ options = {}
18
+ Request.send('get', uri_path("omnichannel_one_time_orders",id.to_s), {}, env, headers,nil, false, jsonKeys, options)
19
+ end
20
+
21
+ def self.list(params={}, env=nil, headers={})
22
+ jsonKeys = {
23
+ }
24
+ options = {}
25
+ Request.send_list_request('get', uri_path("omnichannel_one_time_orders"), params, env, headers,nil, false, jsonKeys, options)
26
+ end
27
+
28
+ end # ~OmnichannelOneTimeOrder
29
+ end # ~ChargeBee
@@ -0,0 +1,11 @@
1
+ module ChargeBee
2
+ class OmnichannelOneTimeOrderItem < Model
3
+
4
+ attr_accessor :id, :item_id_at_source, :item_type_at_source, :quantity, :cancelled_at, :cancellation_reason,
5
+ :created_at, :resource_version
6
+
7
+ # OPERATIONS
8
+ #-----------
9
+
10
+ end # ~OmnichannelOneTimeOrderItem
11
+ end # ~ChargeBee
@@ -2,7 +2,7 @@ module ChargeBee
2
2
  class PromotionalCredit < Model
3
3
 
4
4
  attr_accessor :id, :customer_id, :type, :amount_in_decimal, :amount, :currency_code, :description,
5
- :credit_type, :reference, :closing_balance, :done_by, :created_at
5
+ :credit_type, :reference, :closing_balance, :done_by, :created_at, :business_entity_id
6
6
 
7
7
  # OPERATIONS
8
8
  #-----------
@@ -21,7 +21,11 @@ module ChargeBee
21
21
  attr_accessor :coupon_id
22
22
  end
23
23
 
24
- attr_accessor :charges, :addons, :invoice_items, :item_tiers, :coupons
24
+ class CouponApplicabilityMapping < Model
25
+ attr_accessor :coupon_id, :applicable_item_price_ids
26
+ end
27
+
28
+ attr_accessor :charges, :addons, :invoice_items, :item_tiers, :coupons, :coupon_applicability_mappings
25
29
 
26
30
  # OPERATIONS
27
31
  #-----------
@@ -10,7 +10,7 @@ module ChargeBee
10
10
  end
11
11
 
12
12
  class ItemTier < Model
13
- attr_accessor :item_price_id, :starting_unit, :ending_unit, :price, :starting_unit_in_decimal, :ending_unit_in_decimal, :price_in_decimal, :ramp_tier_id
13
+ attr_accessor :item_price_id, :starting_unit, :ending_unit, :price, :starting_unit_in_decimal, :ending_unit_in_decimal, :price_in_decimal, :ramp_tier_id, :pricing_type, :package_size
14
14
  end
15
15
 
16
16
  class CouponApplicabilityMapping < Model
@@ -5,12 +5,16 @@ module ChargeBee
5
5
  attr_accessor :omnichannel_subscription_id
6
6
  end
7
7
 
8
+ class LinkedOmnichannelOneTimeOrder < Model
9
+ attr_accessor :omnichannel_one_time_order_id
10
+ end
11
+
8
12
  class ErrorDetail < Model
9
13
  attr_accessor :error_message
10
14
  end
11
15
 
12
16
  attr_accessor :id, :customer_id, :app_id, :source, :status, :omnichannel_transaction_id, :created_at,
13
- :resource_version, :linked_omnichannel_subscriptions, :error_detail
17
+ :resource_version, :linked_omnichannel_subscriptions, :linked_omnichannel_one_time_orders, :error_detail
14
18
 
15
19
  # OPERATIONS
16
20
  #-----------
@@ -46,7 +46,7 @@ module ChargeBee
46
46
  end
47
47
 
48
48
  class Discount < Model
49
- attr_accessor :id, :invoice_name, :type, :percentage, :amount, :currency_code, :duration_type, :period, :period_unit, :included_in_mrr, :apply_on, :item_price_id, :created_at, :apply_till, :applied_count, :coupon_id, :index
49
+ attr_accessor :id, :invoice_name, :type, :percentage, :amount, :quantity, :currency_code, :duration_type, :period, :period_unit, :included_in_mrr, :apply_on, :item_price_id, :created_at, :apply_till, :applied_count, :coupon_id, :index
50
50
  end
51
51
 
52
52
  attr_accessor :id, :currency_code, :plan_id, :plan_quantity, :plan_unit_price, :setup_fee, :billing_period,
@@ -0,0 +1,10 @@
1
+ module ChargeBee
2
+ class SubscriptionEntitlementsCreatedDetail < Model
3
+
4
+ attr_accessor :subscription_id, :has_next
5
+
6
+ # OPERATIONS
7
+ #-----------
8
+
9
+ end # ~SubscriptionEntitlementsCreatedDetail
10
+ end # ~ChargeBee
@@ -0,0 +1,10 @@
1
+ module ChargeBee
2
+ class SubscriptionEntitlementsUpdatedDetail < Model
3
+
4
+ attr_accessor :subscription_id, :has_next
5
+
6
+ # OPERATIONS
7
+ #-----------
8
+
9
+ end # ~SubscriptionEntitlementsUpdatedDetail
10
+ end # ~ChargeBee
@@ -12,18 +12,18 @@ module ChargeBee
12
12
  # OPERATIONS
13
13
  #-----------
14
14
 
15
- def self.upload(params, env=nil, headers={})
15
+ def self.upload_url(params, env=nil, headers={})
16
16
  jsonKeys = {
17
17
  }
18
18
  options = {}
19
- Request.send('post', uri_path("usage_files","upload"), params, env, headers, "file-ingest", false, jsonKeys, options)
19
+ Request.send('post', uri_path("usage_files","upload_url"), params, env, headers, "file-ingest", false, jsonKeys, options)
20
20
  end
21
21
 
22
- def self.status(id, env=nil, headers={})
22
+ def self.processing_status(id, env=nil, headers={})
23
23
  jsonKeys = {
24
24
  }
25
25
  options = {}
26
- Request.send('get', uri_path("usage_files",id.to_s,"status"), {}, env, headers, "file-ingest", false, jsonKeys, options)
26
+ Request.send('get', uri_path("usage_files",id.to_s,"processing_status"), {}, env, headers, "file-ingest", false, jsonKeys, options)
27
27
  end
28
28
 
29
29
  end # ~UsageFile
@@ -0,0 +1,52 @@
1
+ module ChargeBee
2
+ class WebhookEndpoint < Model
3
+
4
+ attr_accessor :id, :name, :url, :send_card_resource, :disabled, :primary_url, :api_version,
5
+ :chargebee_response_schema_type, :enabled_events
6
+
7
+ # OPERATIONS
8
+ #-----------
9
+
10
+ def self.create(params, env=nil, headers={})
11
+ jsonKeys = {
12
+ }
13
+ options = {
14
+ :isIdempotent => true
15
+ }
16
+ Request.send('post', uri_path("webhook_endpoints"), params, env, headers,nil, false, jsonKeys, options)
17
+ end
18
+
19
+ def self.update(id, params={}, env=nil, headers={})
20
+ jsonKeys = {
21
+ }
22
+ options = {
23
+ :isIdempotent => true
24
+ }
25
+ Request.send('post', uri_path("webhook_endpoints",id.to_s), params, env, headers,nil, false, jsonKeys, options)
26
+ end
27
+
28
+ def self.retrieve(id, env=nil, headers={})
29
+ jsonKeys = {
30
+ }
31
+ options = {}
32
+ Request.send('get', uri_path("webhook_endpoints",id.to_s), {}, env, headers,nil, false, jsonKeys, options)
33
+ end
34
+
35
+ def self.delete(id, env=nil, headers={})
36
+ jsonKeys = {
37
+ }
38
+ options = {
39
+ :isIdempotent => true
40
+ }
41
+ Request.send('post', uri_path("webhook_endpoints",id.to_s,"delete"), {}, env, headers,nil, false, jsonKeys, options)
42
+ end
43
+
44
+ def self.list(params={}, env=nil, headers={})
45
+ jsonKeys = {
46
+ }
47
+ options = {}
48
+ Request.send_list_request('get', uri_path("webhook_endpoints"), params, env, headers,nil, false, jsonKeys, options)
49
+ end
50
+
51
+ end # ~WebhookEndpoint
52
+ end # ~ChargeBee
@@ -106,7 +106,7 @@ module ChargeBee
106
106
 
107
107
  def invoice()
108
108
  invoice = get(:invoice, Invoice,
109
- {:line_items => Invoice::LineItem, :discounts => Invoice::Discount, :line_item_discounts => Invoice::LineItemDiscount, :taxes => Invoice::Tax, :line_item_taxes => Invoice::LineItemTax, :line_item_credits => Invoice::LineItemCredit, :line_item_tiers => Invoice::LineItemTier, :linked_payments => Invoice::LinkedPayment, :dunning_attempts => Invoice::DunningAttempt, :applied_credits => Invoice::AppliedCredit, :adjustment_credit_notes => Invoice::AdjustmentCreditNote, :issued_credit_notes => Invoice::IssuedCreditNote, :linked_orders => Invoice::LinkedOrder, :notes => Invoice::Note, :shipping_address => Invoice::ShippingAddress, :statement_descriptor => Invoice::StatementDescriptor, :billing_address => Invoice::BillingAddress, :einvoice => Invoice::Einvoice, :site_details_at_creation => Invoice::SiteDetailsAtCreation, :tax_origin => Invoice::TaxOrigin, :line_item_addresses => Invoice::LineItemAddress});
109
+ {:line_items => Invoice::LineItem, :line_item_tiers => Invoice::LineItemTier, :line_item_discounts => Invoice::LineItemDiscount, :line_item_taxes => Invoice::LineItemTax, :line_item_credits => Invoice::LineItemCredit, :line_item_addresses => Invoice::LineItemAddress, :discounts => Invoice::Discount, :taxes => Invoice::Tax, :tax_origin => Invoice::TaxOrigin, :linked_payments => Invoice::LinkedPayment, :dunning_attempts => Invoice::DunningAttempt, :applied_credits => Invoice::AppliedCredit, :adjustment_credit_notes => Invoice::AdjustmentCreditNote, :issued_credit_notes => Invoice::IssuedCreditNote, :linked_orders => Invoice::LinkedOrder, :notes => Invoice::Note, :shipping_address => Invoice::ShippingAddress, :billing_address => Invoice::BillingAddress, :statement_descriptor => Invoice::StatementDescriptor, :einvoice => Invoice::Einvoice, :site_details_at_creation => Invoice::SiteDetailsAtCreation});
110
110
  return invoice;
111
111
  end
112
112
 
@@ -128,7 +128,7 @@ module ChargeBee
128
128
 
129
129
  def credit_note()
130
130
  credit_note = get(:credit_note, CreditNote,
131
- {:einvoice => CreditNote::Einvoice, :line_items => CreditNote::LineItem, :discounts => CreditNote::Discount, :line_item_discounts => CreditNote::LineItemDiscount, :line_item_tiers => CreditNote::LineItemTier, :taxes => CreditNote::Tax, :line_item_taxes => CreditNote::LineItemTax, :linked_refunds => CreditNote::LinkedRefund, :allocations => CreditNote::Allocation, :shipping_address => CreditNote::ShippingAddress, :billing_address => CreditNote::BillingAddress, :site_details_at_creation => CreditNote::SiteDetailsAtCreation, :tax_origin => CreditNote::TaxOrigin, :line_item_addresses => CreditNote::LineItemAddress});
131
+ {:line_items => CreditNote::LineItem, :line_item_tiers => CreditNote::LineItemTier, :line_item_discounts => CreditNote::LineItemDiscount, :line_item_taxes => CreditNote::LineItemTax, :line_item_addresses => CreditNote::LineItemAddress, :discounts => CreditNote::Discount, :taxes => CreditNote::Tax, :tax_origin => CreditNote::TaxOrigin, :linked_refunds => CreditNote::LinkedRefund, :allocations => CreditNote::Allocation, :shipping_address => CreditNote::ShippingAddress, :billing_address => CreditNote::BillingAddress, :einvoice => CreditNote::Einvoice, :site_details_at_creation => CreditNote::SiteDetailsAtCreation});
132
132
  return credit_note;
133
133
  end
134
134
 
@@ -197,7 +197,7 @@ module ChargeBee
197
197
 
198
198
  def quoted_charge()
199
199
  quoted_charge = get(:quoted_charge, QuotedCharge,
200
- {:charges => QuotedCharge::Charge, :addons => QuotedCharge::Addon, :invoice_items => QuotedCharge::InvoiceItem, :item_tiers => QuotedCharge::ItemTier, :coupons => QuotedCharge::Coupon});
200
+ {:charges => QuotedCharge::Charge, :addons => QuotedCharge::Addon, :invoice_items => QuotedCharge::InvoiceItem, :item_tiers => QuotedCharge::ItemTier, :coupons => QuotedCharge::Coupon, :coupon_applicability_mappings => QuotedCharge::CouponApplicabilityMapping});
201
201
  return quoted_charge;
202
202
  end
203
203
 
@@ -479,10 +479,23 @@ module ChargeBee
479
479
 
480
480
  def recorded_purchase()
481
481
  recorded_purchase = get(:recorded_purchase, RecordedPurchase,
482
- {:linked_omnichannel_subscriptions => RecordedPurchase::LinkedOmnichannelSubscription, :error_detail => RecordedPurchase::ErrorDetail});
482
+ {:linked_omnichannel_subscriptions => RecordedPurchase::LinkedOmnichannelSubscription, :linked_omnichannel_one_time_orders => RecordedPurchase::LinkedOmnichannelOneTimeOrder, :error_detail => RecordedPurchase::ErrorDetail});
483
483
  return recorded_purchase;
484
484
  end
485
485
 
486
+ def omnichannel_one_time_order()
487
+ omnichannel_one_time_order = get(:omnichannel_one_time_order, OmnichannelOneTimeOrder, {},
488
+ {:omnichannel_one_time_order_items => OmnichannelOneTimeOrderItem});
489
+ omnichannel_one_time_order.init_dependant_list(@response[:omnichannel_one_time_order], :omnichannel_one_time_order_items,
490
+ {});
491
+ return omnichannel_one_time_order;
492
+ end
493
+
494
+ def omnichannel_one_time_order_item()
495
+ omnichannel_one_time_order_item = get(:omnichannel_one_time_order_item, OmnichannelOneTimeOrderItem);
496
+ return omnichannel_one_time_order_item;
497
+ end
498
+
486
499
  def rule()
487
500
  rule = get(:rule, Rule);
488
501
  return rule;
@@ -510,6 +523,27 @@ module ChargeBee
510
523
  return brand;
511
524
  end
512
525
 
526
+ def webhook_endpoint()
527
+ webhook_endpoint = get(:webhook_endpoint, WebhookEndpoint);
528
+ return webhook_endpoint;
529
+ end
530
+
531
+ def impacted_customer()
532
+ impacted_customer = get(:impacted_customer, ImpactedCustomer,
533
+ {:download => ImpactedCustomer::Download});
534
+ return impacted_customer;
535
+ end
536
+
537
+ def subscription_entitlements_updated_detail()
538
+ subscription_entitlements_updated_detail = get(:subscription_entitlements_updated_detail, SubscriptionEntitlementsUpdatedDetail);
539
+ return subscription_entitlements_updated_detail;
540
+ end
541
+
542
+ def subscription_entitlements_created_detail()
543
+ subscription_entitlements_created_detail = get(:subscription_entitlements_created_detail, SubscriptionEntitlementsCreatedDetail);
544
+ return subscription_entitlements_created_detail;
545
+ end
546
+
513
547
  def advance_invoice_schedules()
514
548
  advance_invoice_schedules = get_list(:advance_invoice_schedules, AdvanceInvoiceSchedule,
515
549
  {:fixed_interval_schedule => AdvanceInvoiceSchedule::FixedIntervalSchedule, :specific_dates_schedule => AdvanceInvoiceSchedule::SpecificDatesSchedule});
@@ -524,7 +558,7 @@ module ChargeBee
524
558
 
525
559
  def invoices()
526
560
  invoices = get_list(:invoices, Invoice,
527
- {:line_items => Invoice::LineItem, :discounts => Invoice::Discount, :line_item_discounts => Invoice::LineItemDiscount, :taxes => Invoice::Tax, :line_item_taxes => Invoice::LineItemTax, :line_item_credits => Invoice::LineItemCredit, :line_item_tiers => Invoice::LineItemTier, :linked_payments => Invoice::LinkedPayment, :dunning_attempts => Invoice::DunningAttempt, :applied_credits => Invoice::AppliedCredit, :adjustment_credit_notes => Invoice::AdjustmentCreditNote, :issued_credit_notes => Invoice::IssuedCreditNote, :linked_orders => Invoice::LinkedOrder, :notes => Invoice::Note, :shipping_address => Invoice::ShippingAddress, :statement_descriptor => Invoice::StatementDescriptor, :billing_address => Invoice::BillingAddress, :einvoice => Invoice::Einvoice, :site_details_at_creation => Invoice::SiteDetailsAtCreation, :tax_origin => Invoice::TaxOrigin, :line_item_addresses => Invoice::LineItemAddress});
561
+ {:line_items => Invoice::LineItem, :line_item_tiers => Invoice::LineItemTier, :line_item_discounts => Invoice::LineItemDiscount, :line_item_taxes => Invoice::LineItemTax, :line_item_credits => Invoice::LineItemCredit, :line_item_addresses => Invoice::LineItemAddress, :discounts => Invoice::Discount, :taxes => Invoice::Tax, :tax_origin => Invoice::TaxOrigin, :linked_payments => Invoice::LinkedPayment, :dunning_attempts => Invoice::DunningAttempt, :applied_credits => Invoice::AppliedCredit, :adjustment_credit_notes => Invoice::AdjustmentCreditNote, :issued_credit_notes => Invoice::IssuedCreditNote, :linked_orders => Invoice::LinkedOrder, :notes => Invoice::Note, :shipping_address => Invoice::ShippingAddress, :billing_address => Invoice::BillingAddress, :statement_descriptor => Invoice::StatementDescriptor, :einvoice => Invoice::Einvoice, :site_details_at_creation => Invoice::SiteDetailsAtCreation});
528
562
  return invoices;
529
563
  end
530
564
 
@@ -536,7 +570,7 @@ module ChargeBee
536
570
 
537
571
  def credit_notes()
538
572
  credit_notes = get_list(:credit_notes, CreditNote,
539
- {:einvoice => CreditNote::Einvoice, :line_items => CreditNote::LineItem, :discounts => CreditNote::Discount, :line_item_discounts => CreditNote::LineItemDiscount, :line_item_tiers => CreditNote::LineItemTier, :taxes => CreditNote::Tax, :line_item_taxes => CreditNote::LineItemTax, :linked_refunds => CreditNote::LinkedRefund, :allocations => CreditNote::Allocation, :shipping_address => CreditNote::ShippingAddress, :billing_address => CreditNote::BillingAddress, :site_details_at_creation => CreditNote::SiteDetailsAtCreation, :tax_origin => CreditNote::TaxOrigin, :line_item_addresses => CreditNote::LineItemAddress});
573
+ {:line_items => CreditNote::LineItem, :line_item_tiers => CreditNote::LineItemTier, :line_item_discounts => CreditNote::LineItemDiscount, :line_item_taxes => CreditNote::LineItemTax, :line_item_addresses => CreditNote::LineItemAddress, :discounts => CreditNote::Discount, :taxes => CreditNote::Tax, :tax_origin => CreditNote::TaxOrigin, :linked_refunds => CreditNote::LinkedRefund, :allocations => CreditNote::Allocation, :shipping_address => CreditNote::ShippingAddress, :billing_address => CreditNote::BillingAddress, :einvoice => CreditNote::Einvoice, :site_details_at_creation => CreditNote::SiteDetailsAtCreation});
540
574
  return credit_notes;
541
575
  end
542
576
 
data/lib/chargebee.rb CHANGED
@@ -88,11 +88,13 @@ require File.dirname(__FILE__) + '/chargebee/models/rule'
88
88
  require File.dirname(__FILE__) + '/chargebee/models/omnichannel_subscription_item_scheduled_change'
89
89
  require File.dirname(__FILE__) + '/chargebee/models/usage_file'
90
90
  require File.dirname(__FILE__) + '/chargebee/models/quoted_ramp'
91
-
91
+ require File.dirname(__FILE__) + '/chargebee/models/webhook_endpoint'
92
+ require File.dirname(__FILE__) + '/chargebee/models/omnichannel_one_time_order'
93
+ require File.dirname(__FILE__) + '/chargebee/models/omnichannel_one_time_order_item'
92
94
 
93
95
  module ChargeBee
94
96
 
95
- VERSION = '2.58.0'
97
+ VERSION = '2.60.0'
96
98
 
97
99
  @@default_env = nil
98
100
  @@verify_ca_certs = true
data/lib/ssl/ca-certs.crt CHANGED
@@ -3383,3 +3383,53 @@ A4GBAFjOKer89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7XUIOGZX1NG
3431
+ Fdtom/DzMNU+MeKNhJ7jitralj41E6Vf8PlwUHBHQRFXGU7Aj64GxJUTFy8bJZ91
3432
+ 8rGOmaFvE7FBcf6IKshPECBV1/MUReXgRPTqh5Uykw7+U0b6LJ3/iyK5S9kJRaTe
3433
+ pLiaWN0bfVKfjllDiIGknibVb63dDcY3fe0Dkhvld1927jyNxF1WW6LZZm6zNTfl
3434
+ MrY=
3435
+ -----END CERTIFICATE-----
metadata CHANGED
@@ -1,14 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chargebee
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.58.0
4
+ version: 2.60.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rajaraman S
8
8
  - Thiyagarajan T
9
+ autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2025-07-21 00:00:00.000000000 Z
12
+ date: 2025-08-25 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: cgi
@@ -65,8 +66,8 @@ email:
65
66
  executables: []
66
67
  extensions: []
67
68
  extra_rdoc_files:
68
- - LICENSE
69
69
  - README.md
70
+ - LICENSE
70
71
  files:
71
72
  - CHANGELOG.md
72
73
  - Gemfile
@@ -116,6 +117,7 @@ files:
116
117
  - lib/chargebee/models/gift.rb
117
118
  - lib/chargebee/models/hierarchy.rb
118
119
  - lib/chargebee/models/hosted_page.rb
120
+ - lib/chargebee/models/impacted_customer.rb
119
121
  - lib/chargebee/models/impacted_item.rb
120
122
  - lib/chargebee/models/impacted_item_price.rb
121
123
  - lib/chargebee/models/impacted_subscription.rb
@@ -129,6 +131,8 @@ files:
129
131
  - lib/chargebee/models/metadata.rb
130
132
  - lib/chargebee/models/model.rb
131
133
  - lib/chargebee/models/non_subscription.rb
134
+ - lib/chargebee/models/omnichannel_one_time_order.rb
135
+ - lib/chargebee/models/omnichannel_one_time_order_item.rb
132
136
  - lib/chargebee/models/omnichannel_subscription.rb
133
137
  - lib/chargebee/models/omnichannel_subscription_item.rb
134
138
  - lib/chargebee/models/omnichannel_subscription_item_scheduled_change.rb
@@ -159,6 +163,8 @@ files:
159
163
  - lib/chargebee/models/site_migration_detail.rb
160
164
  - lib/chargebee/models/subscription.rb
161
165
  - lib/chargebee/models/subscription_entitlement.rb
166
+ - lib/chargebee/models/subscription_entitlements_created_detail.rb
167
+ - lib/chargebee/models/subscription_entitlements_updated_detail.rb
162
168
  - lib/chargebee/models/subscription_estimate.rb
163
169
  - lib/chargebee/models/tax_withheld.rb
164
170
  - lib/chargebee/models/third_party_payment_method.rb
@@ -170,6 +176,7 @@ files:
170
176
  - lib/chargebee/models/usage_event.rb
171
177
  - lib/chargebee/models/usage_file.rb
172
178
  - lib/chargebee/models/virtual_bank_account.rb
179
+ - lib/chargebee/models/webhook_endpoint.rb
173
180
  - lib/chargebee/nativeRequest.rb
174
181
  - lib/chargebee/request.rb
175
182
  - lib/chargebee/rest.rb
@@ -187,6 +194,7 @@ licenses:
187
194
  - MIT
188
195
  metadata:
189
196
  changelog_uri: https://github.com/chargebee/chargebee-ruby/blob/master/CHANGELOG.md
197
+ post_install_message:
190
198
  rdoc_options:
191
199
  - "--charset=UTF-8"
192
200
  require_paths:
@@ -202,7 +210,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
202
210
  - !ruby/object:Gem::Version
203
211
  version: '0'
204
212
  requirements: []
205
- rubygems_version: 3.6.7
213
+ rubygems_version: 3.2.33
214
+ signing_key:
206
215
  specification_version: 2
207
216
  summary: Ruby client for Chargebee API.
208
217
  test_files: