chargebee 2.55.0 → 2.56.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
  SHA1:
3
- metadata.gz: 08c00f3c33087b3539f16d88e278b1d1f0e49d41
4
- data.tar.gz: 14cca643852e1b99872d80f46e749e914f9fa018
3
+ metadata.gz: 001c016fe4fc0205f06fb61eb647d42281538059
4
+ data.tar.gz: f833505b1779675814ddc724904de2cb9f12cb8d
5
5
  SHA512:
6
- metadata.gz: 8e706d3f71e25154f4e2712e3977b5269d0aefa7ac63a8c7c6f4f63119b2159f4a3da4739b67785e08dc4f2c6d41ed8606fa0adb33a8f6d863a8fb1ff1791a88
7
- data.tar.gz: ba9875acbd1b53b3e207cc4fa6f2a790b493a6d3a2a623447ac8ba989cb050eb39140ef3f1aafc13a75109a41bfe94eedb20b92df859b52fa5007b639c37696b
6
+ metadata.gz: 37f8ec23a423df351454d67c8d1a74eb4cd595b2364ac4b31033afa7fe318b815d0f07676c380e6916a1470182347d2d3c3c45cf1aa9fabecb695dcef9a2ed86
7
+ data.tar.gz: 3b3c3d6dbfe8556c2d1b4679aaf7316c966180b5b596295873edb219967adc51ced19e0ac7dd5c99a97160a4a3b96d88b63cef3d9fb60821a784fe5b24b5d732
data/CHANGELOG.md CHANGED
@@ -1,3 +1,68 @@
1
+ ### v2.56.0 (2025-06-19)
2
+ * * *
3
+
4
+ ### New Resources
5
+ * QuotedRamp has been added.
6
+
7
+ ### New Attributes
8
+ * chargebee_response_schema_type has been added to Configuration.
9
+ * linked_item has been added to OmnichannelSubscriptionItem.
10
+ * resumes_at has been added to OmnichannelSubscriptionItem.
11
+
12
+ ### Changed Attributes
13
+ * percentage changed to is_percentage_pricing in CreditNote.
14
+ * percentage changed to is_percentage_pricing in QuoteLineGroup.
15
+ * percentage changed to is_percentage_pricing in CreditNoteEstimate.
16
+ * percentage changed to is_percentage_pricing in Invoice.
17
+ * percentage changed to is_percentage_pricing in InvoiceEstimate.
18
+ * percentage changed to is_percentage_pricing in Quote.
19
+
20
+
21
+ ### New Input Parameters
22
+ * is_percentage_pricing has been added to Item#UpdateRequest.
23
+ * line_item[subscription_id] has been added to CreditNote#RetrieveRequest.
24
+ * line_item[customer_id] has been added to CreditNote#RetrieveRequest.
25
+ * line_item[subscription_id] has been added to Invoice#RetrieveRequest.
26
+ * line_item[customer_id] has been added to Invoice#RetrieveRequest.
27
+ * billing_override[max_excess_payment_usage] has been added to Estimate#CreateSubItemForCustomerEstimateRequest.
28
+ * billing_override[max_refundable_credits_usage] has been added to Estimate#CreateSubItemForCustomerEstimateRequest.
29
+ * billing_override[max_excess_payment_usage] has been added to Estimate#UpdateSubscriptionForItemsRequest.
30
+ * billing_override[max_refundable_credits_usage] has been added to Estimate#UpdateSubscriptionForItemsRequest.
31
+ * billing_start_option has been added to Quote#CreateSubItemsForCustomerQuoteRequest.
32
+ * net_term_days has been added to Quote#CreateSubItemsForCustomerQuoteRequest.
33
+ * billing_address has been added to Quote#CreateSubItemsForCustomerQuoteRequest.
34
+ * subscription_items has been added to Quote#CreateSubItemsForCustomerQuoteRequest.
35
+ * discounts has been added to Quote#CreateSubItemsForCustomerQuoteRequest.
36
+ * billing_start_option has been added to Quote#EditCreateSubCustomerQuoteForItemsRequest.
37
+ * net_term_days has been added to Quote#EditCreateSubCustomerQuoteForItemsRequest.
38
+ * billing_address has been added to Quote#EditCreateSubCustomerQuoteForItemsRequest.
39
+ * subscription_items has been added to Quote#EditCreateSubCustomerQuoteForItemsRequest.
40
+ * discounts has been added to Quote#EditCreateSubCustomerQuoteForItemsRequest.
41
+ * net_term_days has been added to Quote#UpdateSubscriptionQuoteForItemsRequest.
42
+ * subscription_items has been added to Quote#UpdateSubscriptionQuoteForItemsRequest.
43
+ * discount has been added to Quote#UpdateSubscriptionQuoteForItemsRequest.
44
+ * coupons has been added to Quote#UpdateSubscriptionQuoteForItemsRequest.
45
+ * net_term_days has been added to Quote#EditUpdateSubscriptionQuoteForItemsRequest.
46
+ * subscription_items has been added to Quote#EditUpdateSubscriptionQuoteForItemsRequest.
47
+ * discounts has been added to Quote#EditUpdateSubscriptionQuoteForItemsRequest.
48
+ * coupons has been added to Quote#EditUpdateSubscriptionQuoteForItemsRequest.
49
+ * billing_address has been added to Quote#CreateForChargeItemsAndChargesRequest.
50
+ * billing_address has been added to Quote#EditForChargeItemsAndChargesRequest.
51
+ * sort_by[order] has been added to Subscription#SubscriptionContractTermsForSubscriptionRequest.
52
+ * item_tiers has been added to Quote#UpdateSubscriptionQuoteForItemsRequest.
53
+ * item_tiers has been added to Quote#EditUpdateSubscriptionQuoteForItemsRequest.
54
+ * item_tiers has been added to Quote#CreateSubItemsForCustomerQuoteRequest.
55
+ * item_tiers has been added to Quote#EditCreateSubCustomerQuoteForItemsRequest.
56
+
57
+ ### New Endpoints:
58
+ * PauseDunningRequest has been added to Invoice.
59
+ * ResumeDunningRequest has been added to Invoice.
60
+
61
+ ### Enum Attributes:
62
+ * BillingPeriodUnitEnum has been added.
63
+ * BillingStartOptionEnum has been added.
64
+ * OMNICHANNEL_SUBSCRIPTION_ITEM_RESUMED has been added to EventTypeEnum.
65
+
1
66
  ### v2.55.0 (2025-06-03)
2
67
  * * *
3
68
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- chargebee (2.55.0)
4
+ chargebee (2.56.0)
5
5
  cgi (>= 0.1.0, < 1.0.0)
6
6
 
7
7
  GEM
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.55.0'
8
- s.date = '2025-06-03'
7
+ s.version = '2.56.0'
8
+ s.date = '2025-06-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 = {
@@ -108,6 +108,7 @@ Gem::Specification.new do |s|
108
108
  lib/chargebee/models/quote.rb
109
109
  lib/chargebee/models/quote_line_group.rb
110
110
  lib/chargebee/models/quoted_charge.rb
111
+ lib/chargebee/models/quoted_ramp.rb
111
112
  lib/chargebee/models/quoted_subscription.rb
112
113
  lib/chargebee/models/ramp.rb
113
114
  lib/chargebee/models/recorded_purchase.rb
@@ -1,7 +1,7 @@
1
1
  module ChargeBee
2
2
  class Configuration < Model
3
3
 
4
- attr_accessor :domain, :product_catalog_version
4
+ attr_accessor :domain, :product_catalog_version, :chargebee_response_schema_type
5
5
 
6
6
  # OPERATIONS
7
7
  #-----------
@@ -6,7 +6,7 @@ module ChargeBee
6
6
  end
7
7
 
8
8
  class LineItem < Model
9
- 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, :percentage, :reference_line_item_id, :description, :entity_description, :entity_type, :tax_exempt_reason, :entity_id, :customer_id
9
+ 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
10
  end
11
11
 
12
12
  class Discount < Model
@@ -75,10 +75,10 @@ module ChargeBee
75
75
  Request.send('post', uri_path("credit_notes"), params, env, headers,nil, false, jsonKeys)
76
76
  end
77
77
 
78
- def self.retrieve(id, env=nil, headers={})
78
+ def self.retrieve(id, params={}, env=nil, headers={})
79
79
  jsonKeys = {
80
80
  }
81
- Request.send('get', uri_path("credit_notes",id.to_s), {}, env, headers,nil, false, jsonKeys)
81
+ Request.send('get', uri_path("credit_notes",id.to_s), params, env, headers,nil, false, jsonKeys)
82
82
  end
83
83
 
84
84
  def self.pdf(id, params={}, env=nil, headers={})
@@ -2,7 +2,7 @@ module ChargeBee
2
2
  class CreditNoteEstimate < Model
3
3
 
4
4
  class LineItem < Model
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, :percentage, :reference_line_item_id, :description, :entity_description, :entity_type, :tax_exempt_reason, :entity_id, :customer_id
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
8
  class Discount < Model
@@ -2,7 +2,7 @@ module ChargeBee
2
2
  class Invoice < Model
3
3
 
4
4
  class LineItem < Model
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, :percentage, :reference_line_item_id, :description, :entity_description, :entity_type, :tax_exempt_reason, :entity_id, :customer_id
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
8
  class Discount < Model
@@ -54,7 +54,7 @@ module ChargeBee
54
54
  end
55
55
 
56
56
  class Note < Model
57
- attr_accessor :entity_type, :note, :entity_id
57
+ attr_accessor :note, :entity_id, :entity_type
58
58
  end
59
59
 
60
60
  class ShippingAddress < Model
@@ -141,6 +141,18 @@ module ChargeBee
141
141
  Request.send('post', uri_path("invoices",id.to_s,"stop_dunning"), params, env, headers,nil, false, jsonKeys)
142
142
  end
143
143
 
144
+ def self.pause_dunning(id, params, env=nil, headers={})
145
+ jsonKeys = {
146
+ }
147
+ Request.send('post', uri_path("invoices",id.to_s,"pause_dunning"), params, env, headers,nil, false, jsonKeys)
148
+ end
149
+
150
+ def self.resume_dunning(id, params={}, env=nil, headers={})
151
+ jsonKeys = {
152
+ }
153
+ Request.send('post', uri_path("invoices",id.to_s,"resume_dunning"), params, env, headers,nil, false, jsonKeys)
154
+ end
155
+
144
156
  def self.import_invoice(params, env=nil, headers={})
145
157
  jsonKeys = {
146
158
  }
@@ -189,10 +201,10 @@ module ChargeBee
189
201
  Request.send('get', uri_path("subscriptions",id.to_s,"invoices"), params, env, headers,nil, false, jsonKeys)
190
202
  end
191
203
 
192
- def self.retrieve(id, env=nil, headers={})
204
+ def self.retrieve(id, params={}, env=nil, headers={})
193
205
  jsonKeys = {
194
206
  }
195
- Request.send('get', uri_path("invoices",id.to_s), {}, env, headers,nil, false, jsonKeys)
207
+ Request.send('get', uri_path("invoices",id.to_s), params, env, headers,nil, false, jsonKeys)
196
208
  end
197
209
 
198
210
  def self.pdf(id, params={}, env=nil, headers={})
@@ -2,7 +2,7 @@ module ChargeBee
2
2
  class InvoiceEstimate < Model
3
3
 
4
4
  class LineItem < Model
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, :percentage, :reference_line_item_id, :description, :entity_description, :entity_type, :tax_exempt_reason, :entity_id, :customer_id
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
8
  class Discount < Model
@@ -5,9 +5,14 @@ module ChargeBee
5
5
  attr_accessor :price_currency, :price_units, :price_nanos
6
6
  end
7
7
 
8
+ class LinkedItem < Model
9
+ attr_accessor :id, :linked_at
10
+ end
11
+
8
12
  attr_accessor :id, :item_id_at_source, :item_parent_id_at_source, :status, :auto_renew_status,
9
13
  :current_term_start, :current_term_end, :expired_at, :expiration_reason, :cancelled_at, :cancellation_reason,
10
- :grace_period_expires_at, :has_scheduled_changes, :resource_version, :upcoming_renewal
14
+ :grace_period_expires_at, :resumes_at, :has_scheduled_changes, :resource_version, :upcoming_renewal,
15
+ :linked_item
11
16
 
12
17
  # OPERATIONS
13
18
  #-----------
@@ -2,7 +2,7 @@ module ChargeBee
2
2
  class Quote < Model
3
3
 
4
4
  class LineItem < Model
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, :percentage, :reference_line_item_id, :description, :entity_description, :entity_type, :tax_exempt_reason, :entity_id, :customer_id
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
8
  class Discount < Model
@@ -39,7 +39,7 @@ module ChargeBee
39
39
  :updated_at, :vat_number_prefix, :line_items, :discounts, :line_item_discounts, :taxes, :line_item_taxes,
40
40
  :line_item_tiers, :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
42
+ :deleted, :total_contract_value, :total_discount
43
43
 
44
44
  # OPERATIONS
45
45
  #-----------
@@ -2,7 +2,7 @@ module ChargeBee
2
2
  class QuoteLineGroup < Model
3
3
 
4
4
  class LineItem < Model
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, :percentage, :reference_line_item_id, :description, :entity_description, :entity_type, :tax_exempt_reason, :entity_id, :customer_id
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
8
  class Discount < Model
@@ -0,0 +1,22 @@
1
+ module ChargeBee
2
+ class QuotedRamp < Model
3
+
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_amount, :md_discount_amount, :item_level_discount_amount, :md_item_level_discount_amount, :discount_per_billing_cycle, :discount_per_billing_cycle_in_decimal, :item_level_discount_per_billing_cycle, :item_level_discount_per_billing_cycle_in_decimal, :net_amount, :md_net_amount, :amount_per_billing_cycle, :amount_per_billing_cycle_in_decimal, :net_amount_per_billing_cycle, :net_amount_per_billing_cycle_in_decimal
6
+ end
7
+
8
+ class Discount < Model
9
+ attr_accessor :id, :name, :invoice_name, :type, :percentage, :amount, :duration_type, :entity_type, :entity_id, :period, :period_unit, :included_in_mrr, :apply_on, :apply_on_item_type, :item_price_id, :created_at, :updated_at, :start_date, :end_date
10
+ end
11
+
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
14
+ end
15
+
16
+ attr_accessor :id, :line_items, :discounts, :item_tiers
17
+
18
+ # OPERATIONS
19
+ #-----------
20
+
21
+ end # ~QuotedRamp
22
+ end # ~ChargeBee
@@ -201,6 +201,12 @@ module ChargeBee
201
201
  return quoted_charge;
202
202
  end
203
203
 
204
+ def quoted_ramp()
205
+ quoted_ramp = get(:quoted_ramp, QuotedRamp,
206
+ {:line_items => QuotedRamp::LineItem, :discounts => QuotedRamp::Discount, :item_tiers => QuotedRamp::ItemTier});
207
+ return quoted_ramp;
208
+ end
209
+
204
210
  def quote_line_group()
205
211
  quote_line_group = get(:quote_line_group, QuoteLineGroup,
206
212
  {:line_items => QuoteLineGroup::LineItem, :discounts => QuoteLineGroup::Discount, :line_item_discounts => QuoteLineGroup::LineItemDiscount, :taxes => QuoteLineGroup::Tax, :line_item_taxes => QuoteLineGroup::LineItemTax});
@@ -450,7 +456,7 @@ module ChargeBee
450
456
  omnichannel_subscription = get(:omnichannel_subscription, OmnichannelSubscription, {},
451
457
  {:omnichannel_subscription_items => OmnichannelSubscriptionItem});
452
458
  omnichannel_subscription.init_dependant_list(@response[:omnichannel_subscription], :omnichannel_subscription_items,
453
- {:upcoming_renewal => OmnichannelSubscriptionItem::UpcomingRenewal});
459
+ {:upcoming_renewal => OmnichannelSubscriptionItem::UpcomingRenewal, :linked_item => OmnichannelSubscriptionItem::LinkedItem});
454
460
  return omnichannel_subscription;
455
461
  end
456
462
 
@@ -461,7 +467,7 @@ module ChargeBee
461
467
 
462
468
  def omnichannel_subscription_item()
463
469
  omnichannel_subscription_item = get(:omnichannel_subscription_item, OmnichannelSubscriptionItem,
464
- {:upcoming_renewal => OmnichannelSubscriptionItem::UpcomingRenewal});
470
+ {:upcoming_renewal => OmnichannelSubscriptionItem::UpcomingRenewal, :linked_item => OmnichannelSubscriptionItem::LinkedItem});
465
471
  return omnichannel_subscription_item;
466
472
  end
467
473
 
data/lib/chargebee.rb CHANGED
@@ -87,11 +87,12 @@ require File.dirname(__FILE__) + '/chargebee/models/usage_event'
87
87
  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
+ require File.dirname(__FILE__) + '/chargebee/models/quoted_ramp'
90
91
 
91
92
 
92
93
  module ChargeBee
93
94
 
94
- VERSION = '2.55.0'
95
+ VERSION = '2.56.0'
95
96
 
96
97
  @@default_env = nil
97
98
  @@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.55.0
4
+ version: 2.56.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: 2025-06-03 00:00:00.000000000 Z
12
+ date: 2025-06-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: cgi
@@ -149,6 +149,7 @@ files:
149
149
  - lib/chargebee/models/quote.rb
150
150
  - lib/chargebee/models/quote_line_group.rb
151
151
  - lib/chargebee/models/quoted_charge.rb
152
+ - lib/chargebee/models/quoted_ramp.rb
152
153
  - lib/chargebee/models/quoted_subscription.rb
153
154
  - lib/chargebee/models/ramp.rb
154
155
  - lib/chargebee/models/recorded_purchase.rb