chargebee 2.82.0 → 2.83.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 +4 -4
- data/CHANGELOG.md +61 -0
- data/Gemfile.lock +1 -1
- data/VERSION +1 -1
- data/chargebee.gemspec +7 -2
- data/lib/chargebee/models/billing_line_item.rb +10 -0
- data/lib/chargebee/models/billing_metadata.rb +10 -0
- data/lib/chargebee/models/discount.rb +3 -3
- data/lib/chargebee/models/gateway_request_log.rb +28 -0
- data/lib/chargebee/models/gateway_webhook_log.rb +27 -0
- data/lib/chargebee/models/grant_block.rb +5 -1
- data/lib/chargebee/models/invoice.rb +7 -6
- data/lib/chargebee/models/organization_detail.rb +35 -0
- data/lib/chargebee/models/subscription.rb +1 -1
- data/lib/chargebee/result.rb +25 -2
- data/lib/chargebee.rb +6 -1
- metadata +7 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 82f476960529c7df7919970b5bb91dc1af551b8907d137ffd71f22091f25f878
|
|
4
|
+
data.tar.gz: a67e247695f1304241d635c4170b7daa76854939527f17a0e8a00621e62d64f2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b103560ad6502f78ec37ab4f27d5c06c41406922b57c5c238674c8d068fa1c2449cd5dfcbcd0f0576393a837fd43beba222f6b91697f98db8f2094f436fa7e00
|
|
7
|
+
data.tar.gz: 7347d177122ae3f4a5fae77508350aecaabd545cf88b4238199ec6e1fa204188f75f84f0fbdff8bdcbbffa34b39d8949dc2466878e8a937cac654b4a81d11d9e
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,64 @@
|
|
|
1
|
+
### v2.83.0 (2026-11-13)
|
|
2
|
+
* * *
|
|
3
|
+
### New Resources:
|
|
4
|
+
- `BillingLineItem` has been added.
|
|
5
|
+
- `BillingMetadata` has been added.
|
|
6
|
+
- `GatewayRequestLog` has been added.
|
|
7
|
+
- `GatewayWebhookLog` has been added.
|
|
8
|
+
- `OrganizationDetail` has been added.
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### New Attributes:
|
|
12
|
+
- `description` has been added to `Discount`.
|
|
13
|
+
- `billing_metadata` has been added to `GrantBlock`.
|
|
14
|
+
- `offline_payment_method` has been added to `Invoice`.
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### New Parameters:
|
|
18
|
+
- `discounts.description` has been added as request body parameter to `estimate_for_creating_a_customer_and_subscription` in `Estimate`.
|
|
19
|
+
- `discounts.description` has been added as request body parameter to `estimate_for_updating_a_subscription` in `Estimate`.
|
|
20
|
+
- `discounts.description` has been added as request body parameter to `estimate_for_creating_a_subscription` in `Estimate`.
|
|
21
|
+
- `allowed_billing_frequencies` has been added as request body parameter to `checkout_gift_subscription_for_items` in `HostedPage`.
|
|
22
|
+
- `show_billing_frequency_selector` has been added as request body parameter to `checkout_gift_subscription_for_items` in `HostedPage`.
|
|
23
|
+
- `allowed_billing_frequencies` has been added as request body parameter to `create_checkout_for_a_new_subscription` in `HostedPage`.
|
|
24
|
+
- `show_billing_frequency_selector` has been added as request body parameter to `create_checkout_for_a_new_subscription` in `HostedPage`.
|
|
25
|
+
- `allowed_billing_frequencies` has been added as request body parameter to `create_checkout_to_update_a_subscription` in `HostedPage`.
|
|
26
|
+
- `show_billing_frequency_selector` has been added as request body parameter to `create_checkout_to_update_a_subscription` in `HostedPage`.
|
|
27
|
+
- `credit_notes.amount` has been added as request body parameter to `apply_credits_for_an_invoice` in `Invoice`.
|
|
28
|
+
- `credit_notes.applied_at` has been added as request body parameter to `apply_credits_for_an_invoice` in `Invoice`.
|
|
29
|
+
- `offline_payment_method` has been added as request body parameter to `create_invoice_for_items_and_one-time_charges` in `Invoice`.
|
|
30
|
+
- `discounts.description` has been added as request body parameter to `update_subscription_for_items` in `Subscription`.
|
|
31
|
+
- `discounts.description` has been added as request body parameter to `create_subscription_for_items` in `Subscription`.
|
|
32
|
+
- `group_by.window_size` has been added as request body parameter to `retrieve_usages_for_an_invoice_as_pdf` in `Usage`.
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
### New Events:
|
|
36
|
+
- `organization_details_updated` has been added.
|
|
37
|
+
- `organization_details_created` has been added.
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
### Deleted Actions:
|
|
41
|
+
- `list_citations_for_a_draft_request` has been removed from `DraftRequest`.
|
|
42
|
+
- `add_citations_to_a_draft_request` has been removed from `DraftRequest`.
|
|
43
|
+
- `execute_a_draft_request` has been removed from `DraftRequest`.
|
|
44
|
+
- `estimate_a_draft_request` has been removed from `DraftRequest`.
|
|
45
|
+
- `list_comments_for_a_draft_request` has been removed from `DraftRequest`.
|
|
46
|
+
- `add_comments_to_a_draft_request` has been removed from `DraftRequest`.
|
|
47
|
+
- `retrieve_a_draft_request` has been removed from `DraftRequest`.
|
|
48
|
+
- `update_a_draft_request` has been removed from `DraftRequest`.
|
|
49
|
+
- `create_a_draft_request` has been removed from `DraftRequest`.
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
### New Enums:
|
|
53
|
+
- `organization_details_created` and `organization_details_updated` have been added as new values enum `EventType`.
|
|
54
|
+
- `invocation_time` has been added as a new value to enum query parameter `sort_by.asc` in `list_gateway_request_logs` of `GatewayRequestLog`.
|
|
55
|
+
- `invocation_time` has been added as a new value to enum query parameter `sort_by.desc` in `list_gateway_request_logs` of `GatewayRequestLog`.
|
|
56
|
+
- `received_at` has been added as a new value to enum query parameter `sort_by.asc` in `list_gateway_webhook_logs` of `GatewayWebhookLog`.
|
|
57
|
+
- `received_at` has been added as a new value to enum query parameter `sort_by.desc` in `list_gateway_webhook_logs` of `GatewayWebhookLog`.
|
|
58
|
+
- `none` and `day` have been added as new values to enum request body parameter `group_by.window_size` in `retrieve_usages_for_an_invoice_as_pdf` of `Usage`.
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
|
|
1
62
|
### v2.82.0 (2026-11-02)
|
|
2
63
|
* * *
|
|
3
64
|
### New Resources:
|
data/Gemfile.lock
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.
|
|
1
|
+
2.83.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.
|
|
8
|
-
s.date = '2026-11-
|
|
7
|
+
s.version = '2.83.0'
|
|
8
|
+
s.date = '2026-11-13'
|
|
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 = {
|
|
@@ -55,6 +55,8 @@ Gem::Specification.new do |s|
|
|
|
55
55
|
lib/chargebee/models/attached_item.rb
|
|
56
56
|
lib/chargebee/models/attribute.rb
|
|
57
57
|
lib/chargebee/models/billing_configuration.rb
|
|
58
|
+
lib/chargebee/models/billing_line_item.rb
|
|
59
|
+
lib/chargebee/models/billing_metadata.rb
|
|
58
60
|
lib/chargebee/models/brand.rb
|
|
59
61
|
lib/chargebee/models/business_entity.rb
|
|
60
62
|
lib/chargebee/models/business_entity_transfer.rb
|
|
@@ -105,6 +107,8 @@ Gem::Specification.new do |s|
|
|
|
105
107
|
lib/chargebee/models/filter_condition.rb
|
|
106
108
|
lib/chargebee/models/gateway_error_detail.rb
|
|
107
109
|
lib/chargebee/models/gateway_payment_method_token.rb
|
|
110
|
+
lib/chargebee/models/gateway_request_log.rb
|
|
111
|
+
lib/chargebee/models/gateway_webhook_log.rb
|
|
108
112
|
lib/chargebee/models/gift.rb
|
|
109
113
|
lib/chargebee/models/grant_block.rb
|
|
110
114
|
lib/chargebee/models/group_by_attribute.rb
|
|
@@ -141,6 +145,7 @@ Gem::Specification.new do |s|
|
|
|
141
145
|
lib/chargebee/models/omnichannel_subscription_item_scheduled_change.rb
|
|
142
146
|
lib/chargebee/models/omnichannel_transaction.rb
|
|
143
147
|
lib/chargebee/models/order.rb
|
|
148
|
+
lib/chargebee/models/organization_detail.rb
|
|
144
149
|
lib/chargebee/models/payment_intent.rb
|
|
145
150
|
lib/chargebee/models/payment_reference_number.rb
|
|
146
151
|
lib/chargebee/models/payment_schedule.rb
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
module ChargeBee
|
|
2
2
|
class Discount < Model
|
|
3
3
|
|
|
4
|
-
attr_accessor :id, :invoice_name, :type, :percentage, :amount, :quantity, :currency_code,
|
|
5
|
-
:period, :period_unit, :included_in_mrr, :apply_on, :item_price_id, :created_at,
|
|
6
|
-
:applied_count, :coupon_id, :index
|
|
4
|
+
attr_accessor :id, :invoice_name, :description, :type, :percentage, :amount, :quantity, :currency_code,
|
|
5
|
+
:duration_type, :period, :period_unit, :included_in_mrr, :apply_on, :item_price_id, :created_at,
|
|
6
|
+
:apply_till, :applied_count, :coupon_id, :index
|
|
7
7
|
|
|
8
8
|
# OPERATIONS
|
|
9
9
|
#-----------
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
module ChargeBee
|
|
2
|
+
class GatewayRequestLog < Model
|
|
3
|
+
|
|
4
|
+
attr_accessor :log_id, :url, :status_code, :method, :request_body, :response_body, :request_headers,
|
|
5
|
+
:response_headers, :gateway, :customer_handle, :invoice_handle, :transaction_handle, :payment_method_handle,
|
|
6
|
+
:gateway_credential_handle, :payment_attempt_handle, :payment_intent_handle, :payment_method_name,
|
|
7
|
+
:operation_name, :operation_type, :action_type, :source, :trace_id_hash, :invocation_time, :response_received_at,
|
|
8
|
+
:response_time
|
|
9
|
+
|
|
10
|
+
# OPERATIONS
|
|
11
|
+
#-----------
|
|
12
|
+
|
|
13
|
+
def self.list(params={}, env=nil, headers={})
|
|
14
|
+
jsonKeys = {
|
|
15
|
+
}
|
|
16
|
+
options = {}
|
|
17
|
+
Request.send_list_request('get', uri_path("gateway_request_logs"), params, env, headers,nil, false, jsonKeys, options, "gatewayRequestLog", "list")
|
|
18
|
+
end
|
|
19
|
+
|
|
20
|
+
def self.retrieve(id, env=nil, headers={})
|
|
21
|
+
jsonKeys = {
|
|
22
|
+
}
|
|
23
|
+
options = {}
|
|
24
|
+
Request.send('get', uri_path("gateway_request_logs",id.to_s), {}, env, headers,nil, false, jsonKeys, options, "gatewayRequestLog", "retrieve")
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
end # ~GatewayRequestLog
|
|
28
|
+
end # ~ChargeBee
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
module ChargeBee
|
|
2
|
+
class GatewayWebhookLog < Model
|
|
3
|
+
|
|
4
|
+
attr_accessor :webhook_id, :url, :method, :status_code, :gateway, :id_at_gateway, :customer_handle,
|
|
5
|
+
:invoice_handle, :transaction_handle, :payment_method_handle, :gateway_credential_handle, :payment_attempt_handle,
|
|
6
|
+
:payment_intent_handle, :payment_method_name, :request_body, :response_body, :request_headers,
|
|
7
|
+
:response_headers, :received_at, :response_time
|
|
8
|
+
|
|
9
|
+
# OPERATIONS
|
|
10
|
+
#-----------
|
|
11
|
+
|
|
12
|
+
def self.list(params={}, env=nil, headers={})
|
|
13
|
+
jsonKeys = {
|
|
14
|
+
}
|
|
15
|
+
options = {}
|
|
16
|
+
Request.send_list_request('get', uri_path("gateway_webhook_logs"), params, env, headers,nil, false, jsonKeys, options, "gatewayWebhookLog", "list")
|
|
17
|
+
end
|
|
18
|
+
|
|
19
|
+
def self.retrieve(id, env=nil, headers={})
|
|
20
|
+
jsonKeys = {
|
|
21
|
+
}
|
|
22
|
+
options = {}
|
|
23
|
+
Request.send('get', uri_path("gateway_webhook_logs",id.to_s), {}, env, headers,nil, false, jsonKeys, options, "gatewayWebhookLog", "retrieve")
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
end # ~GatewayWebhookLog
|
|
27
|
+
end # ~ChargeBee
|
|
@@ -9,10 +9,14 @@ module ChargeBee
|
|
|
9
9
|
attr_accessor :is_unlimited, :limit, :total_balance, :usable_balance, :used_amount
|
|
10
10
|
end
|
|
11
11
|
|
|
12
|
+
class BillingMetadata < Model
|
|
13
|
+
attr_accessor :item_price_id, :line_items
|
|
14
|
+
end
|
|
15
|
+
|
|
12
16
|
attr_accessor :id, :subscription_id, :unit_id, :unit_type, :account_type, :granted_amount, :effective_from,
|
|
13
17
|
:expires_at, :balance, :hold_amount, :used_amount, :expired_amount, :rolled_over_amount, :voided_amount,
|
|
14
18
|
:origin_grant_block_id, :status, :grant_source, :created_at, :modified_at, :resource_version,
|
|
15
|
-
:provisioned_block_balance, :overdraft_block_balance, :metadata
|
|
19
|
+
:provisioned_block_balance, :overdraft_block_balance, :billing_metadata, :metadata
|
|
16
20
|
|
|
17
21
|
# OPERATIONS
|
|
18
22
|
#-----------
|
|
@@ -99,12 +99,13 @@ module ChargeBee
|
|
|
99
99
|
:total_in_local_currency, :amount_due, :amount_adjusted, :amount_paid, :paid_at, :write_off_amount,
|
|
100
100
|
:credits_applied, :dunning_status, :next_retry_at, :voided_at, :resource_version, :updated_at,
|
|
101
101
|
:line_items_next_offset, :exchange_rates, :first_invoice, :new_sales_amount, :has_advance_charges,
|
|
102
|
-
:term_finalized, :is_gifted, :generated_at, :expected_payment_date,
|
|
103
|
-
:
|
|
104
|
-
:
|
|
105
|
-
:
|
|
106
|
-
:
|
|
107
|
-
:
|
|
102
|
+
:offline_payment_method, :term_finalized, :is_gifted, :generated_at, :expected_payment_date,
|
|
103
|
+
:amount_to_collect, :round_off_amount, :line_items, :line_item_tiers, :line_item_discounts,
|
|
104
|
+
:line_item_taxes, :line_item_credits, :line_item_addresses, :discounts, :taxes, :tax_origin,
|
|
105
|
+
:linked_payments, :reference_transactions, :retry_segment_id, :dunning_attempts, :applied_credits,
|
|
106
|
+
:adjustment_credit_notes, :issued_credit_notes, :linked_orders, :notes, :shipping_address, :billing_address,
|
|
107
|
+
:statement_descriptor, :einvoice, :void_reason_code, :deleted, :tax_category, :vat_number_prefix,
|
|
108
|
+
:channel, :business_entity_id, :brand_id, :site_details_at_creation
|
|
108
109
|
|
|
109
110
|
# OPERATIONS
|
|
110
111
|
#-----------
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
module ChargeBee
|
|
2
|
+
class OrganizationDetail < Model
|
|
3
|
+
|
|
4
|
+
attr_accessor :id, :organization_name, :email, :address_line1, :address_line2, :address_line3,
|
|
5
|
+
:city, :state_code, :state, :country_code, :zip, :phone, :fax, :website, :is_vat_number_present,
|
|
6
|
+
:vat_number, :resource_version, :updated_at, :business_entity_id
|
|
7
|
+
|
|
8
|
+
# OPERATIONS
|
|
9
|
+
#-----------
|
|
10
|
+
|
|
11
|
+
def self.create(params, env=nil, headers={})
|
|
12
|
+
jsonKeys = {
|
|
13
|
+
}
|
|
14
|
+
options = {
|
|
15
|
+
:isIdempotent => true
|
|
16
|
+
}
|
|
17
|
+
Request.send('post', uri_path("organization_details"), params, env, headers,nil, false, jsonKeys, options, "organizationDetail", "create")
|
|
18
|
+
end
|
|
19
|
+
|
|
20
|
+
def self.retrieve(id, env=nil, headers={})
|
|
21
|
+
jsonKeys = {
|
|
22
|
+
}
|
|
23
|
+
options = {}
|
|
24
|
+
Request.send('get', uri_path("organization_details",id.to_s), {}, env, headers,nil, false, jsonKeys, options, "organizationDetail", "retrieve")
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
def self.list(params={}, env=nil, headers={})
|
|
28
|
+
jsonKeys = {
|
|
29
|
+
}
|
|
30
|
+
options = {}
|
|
31
|
+
Request.send_list_request('get', uri_path("organization_details"), params, env, headers,nil, false, jsonKeys, options, "organizationDetail", "list")
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
end # ~OrganizationDetail
|
|
35
|
+
end # ~ChargeBee
|
|
@@ -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, :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
|
|
49
|
+
attr_accessor :id, :invoice_name, :description, :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,
|
data/lib/chargebee/result.rb
CHANGED
|
@@ -133,6 +133,16 @@ module ChargeBee
|
|
|
133
133
|
return email_log;
|
|
134
134
|
end
|
|
135
135
|
|
|
136
|
+
def gateway_request_log()
|
|
137
|
+
gateway_request_log = get(:gateway_request_log, GatewayRequestLog);
|
|
138
|
+
return gateway_request_log;
|
|
139
|
+
end
|
|
140
|
+
|
|
141
|
+
def gateway_webhook_log()
|
|
142
|
+
gateway_webhook_log = get(:gateway_webhook_log, GatewayWebhookLog);
|
|
143
|
+
return gateway_webhook_log;
|
|
144
|
+
end
|
|
145
|
+
|
|
136
146
|
def invoice()
|
|
137
147
|
invoice = get(:invoice, Invoice,
|
|
138
148
|
{:exchange_rates => Invoice::ExchangeRate, :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, :reference_transactions => Invoice::ReferenceTransaction, :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});
|
|
@@ -502,6 +512,11 @@ module ChargeBee
|
|
|
502
512
|
return payment_voucher;
|
|
503
513
|
end
|
|
504
514
|
|
|
515
|
+
def organization_detail()
|
|
516
|
+
organization_detail = get(:organization_detail, OrganizationDetail);
|
|
517
|
+
return organization_detail;
|
|
518
|
+
end
|
|
519
|
+
|
|
505
520
|
def currency()
|
|
506
521
|
currency = get(:currency, Currency);
|
|
507
522
|
return currency;
|
|
@@ -795,9 +810,17 @@ module ChargeBee
|
|
|
795
810
|
return ledger_operation;
|
|
796
811
|
end
|
|
797
812
|
|
|
813
|
+
def billing_metadata()
|
|
814
|
+
billing_metadata = get(:billing_metadata, BillingMetadata, {},
|
|
815
|
+
{:line_items => BillingLineItem});
|
|
816
|
+
billing_metadata.init_dependant_list(@response[:billing_metadata], :line_items,
|
|
817
|
+
{});
|
|
818
|
+
return billing_metadata;
|
|
819
|
+
end
|
|
820
|
+
|
|
798
821
|
def grant_block()
|
|
799
822
|
grant_block = get(:grant_block, GrantBlock,
|
|
800
|
-
{:provisioned_block_balance => GrantBlock::ProvisionedBlockBalance, :overdraft_block_balance => GrantBlock::OverdraftBlockBalance});
|
|
823
|
+
{:provisioned_block_balance => GrantBlock::ProvisionedBlockBalance, :overdraft_block_balance => GrantBlock::OverdraftBlockBalance, :billing_metadata => GrantBlock::BillingMetadata});
|
|
801
824
|
return grant_block;
|
|
802
825
|
end
|
|
803
826
|
|
|
@@ -907,7 +930,7 @@ module ChargeBee
|
|
|
907
930
|
|
|
908
931
|
def grant_blocks()
|
|
909
932
|
grant_blocks = get_list(:grant_blocks, GrantBlock,
|
|
910
|
-
{:provisioned_block_balance => GrantBlock::ProvisionedBlockBalance, :overdraft_block_balance => GrantBlock::OverdraftBlockBalance});
|
|
933
|
+
{:provisioned_block_balance => GrantBlock::ProvisionedBlockBalance, :overdraft_block_balance => GrantBlock::OverdraftBlockBalance, :billing_metadata => GrantBlock::BillingMetadata});
|
|
911
934
|
return grant_blocks;
|
|
912
935
|
end
|
|
913
936
|
|
data/lib/chargebee.rb
CHANGED
|
@@ -28,6 +28,8 @@ require File.dirname(__FILE__) + '/chargebee/models/async_response_list'
|
|
|
28
28
|
require File.dirname(__FILE__) + '/chargebee/models/attached_item'
|
|
29
29
|
require File.dirname(__FILE__) + '/chargebee/models/attribute'
|
|
30
30
|
require File.dirname(__FILE__) + '/chargebee/models/billing_configuration'
|
|
31
|
+
require File.dirname(__FILE__) + '/chargebee/models/billing_line_item'
|
|
32
|
+
require File.dirname(__FILE__) + '/chargebee/models/billing_metadata'
|
|
31
33
|
require File.dirname(__FILE__) + '/chargebee/models/brand'
|
|
32
34
|
require File.dirname(__FILE__) + '/chargebee/models/business_entity'
|
|
33
35
|
require File.dirname(__FILE__) + '/chargebee/models/business_entity_transfer'
|
|
@@ -77,6 +79,8 @@ require File.dirname(__FILE__) + '/chargebee/models/feature'
|
|
|
77
79
|
require File.dirname(__FILE__) + '/chargebee/models/filter_condition'
|
|
78
80
|
require File.dirname(__FILE__) + '/chargebee/models/gateway_error_detail'
|
|
79
81
|
require File.dirname(__FILE__) + '/chargebee/models/gateway_payment_method_token'
|
|
82
|
+
require File.dirname(__FILE__) + '/chargebee/models/gateway_request_log'
|
|
83
|
+
require File.dirname(__FILE__) + '/chargebee/models/gateway_webhook_log'
|
|
80
84
|
require File.dirname(__FILE__) + '/chargebee/models/gift'
|
|
81
85
|
require File.dirname(__FILE__) + '/chargebee/models/grant_block'
|
|
82
86
|
require File.dirname(__FILE__) + '/chargebee/models/group_by_attribute'
|
|
@@ -112,6 +116,7 @@ require File.dirname(__FILE__) + '/chargebee/models/omnichannel_subscription_ite
|
|
|
112
116
|
require File.dirname(__FILE__) + '/chargebee/models/omnichannel_subscription_item_scheduled_change'
|
|
113
117
|
require File.dirname(__FILE__) + '/chargebee/models/omnichannel_transaction'
|
|
114
118
|
require File.dirname(__FILE__) + '/chargebee/models/order'
|
|
119
|
+
require File.dirname(__FILE__) + '/chargebee/models/organization_detail'
|
|
115
120
|
require File.dirname(__FILE__) + '/chargebee/models/payment_intent'
|
|
116
121
|
require File.dirname(__FILE__) + '/chargebee/models/payment_reference_number'
|
|
117
122
|
require File.dirname(__FILE__) + '/chargebee/models/payment_schedule'
|
|
@@ -166,7 +171,7 @@ require File.dirname(__FILE__) + '/chargebee/models/webhook_endpoint'
|
|
|
166
171
|
|
|
167
172
|
module ChargeBee
|
|
168
173
|
|
|
169
|
-
VERSION = '2.
|
|
174
|
+
VERSION = '2.83.0'
|
|
170
175
|
|
|
171
176
|
@@default_env = nil
|
|
172
177
|
@@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.
|
|
4
|
+
version: 2.83.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-11-
|
|
12
|
+
date: 2026-11-13 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: cgi
|
|
@@ -96,6 +96,8 @@ files:
|
|
|
96
96
|
- lib/chargebee/models/attached_item.rb
|
|
97
97
|
- lib/chargebee/models/attribute.rb
|
|
98
98
|
- lib/chargebee/models/billing_configuration.rb
|
|
99
|
+
- lib/chargebee/models/billing_line_item.rb
|
|
100
|
+
- lib/chargebee/models/billing_metadata.rb
|
|
99
101
|
- lib/chargebee/models/brand.rb
|
|
100
102
|
- lib/chargebee/models/business_entity.rb
|
|
101
103
|
- lib/chargebee/models/business_entity_transfer.rb
|
|
@@ -146,6 +148,8 @@ files:
|
|
|
146
148
|
- lib/chargebee/models/filter_condition.rb
|
|
147
149
|
- lib/chargebee/models/gateway_error_detail.rb
|
|
148
150
|
- lib/chargebee/models/gateway_payment_method_token.rb
|
|
151
|
+
- lib/chargebee/models/gateway_request_log.rb
|
|
152
|
+
- lib/chargebee/models/gateway_webhook_log.rb
|
|
149
153
|
- lib/chargebee/models/gift.rb
|
|
150
154
|
- lib/chargebee/models/grant_block.rb
|
|
151
155
|
- lib/chargebee/models/group_by_attribute.rb
|
|
@@ -182,6 +186,7 @@ files:
|
|
|
182
186
|
- lib/chargebee/models/omnichannel_subscription_item_scheduled_change.rb
|
|
183
187
|
- lib/chargebee/models/omnichannel_transaction.rb
|
|
184
188
|
- lib/chargebee/models/order.rb
|
|
189
|
+
- lib/chargebee/models/organization_detail.rb
|
|
185
190
|
- lib/chargebee/models/payment_intent.rb
|
|
186
191
|
- lib/chargebee/models/payment_reference_number.rb
|
|
187
192
|
- lib/chargebee/models/payment_schedule.rb
|