chargebee 2.69.0 → 2.70.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 +54 -0
- data/Gemfile.lock +1 -1
- data/Makefile +2 -0
- data/VERSION +1 -1
- data/chargebee.gemspec +7 -2
- data/lib/chargebee/models/alert.rb +11 -0
- data/lib/chargebee/models/alert_status.rb +10 -0
- data/lib/chargebee/models/cpq_quote_signature.rb +11 -0
- data/lib/chargebee/models/credit_note.rb +1 -1
- data/lib/chargebee/models/einvoice.rb +1 -1
- data/lib/chargebee/models/estimate.rb +2 -2
- data/lib/chargebee/models/invoice.rb +1 -1
- data/lib/chargebee/models/quote.rb +58 -0
- data/lib/chargebee/models/unbilled_charge.rb +2 -2
- data/lib/chargebee/models/usage_charge.rb +18 -0
- data/lib/chargebee/models/usage_summary.rb +17 -0
- data/lib/chargebee/result.rb +15 -0
- data/lib/chargebee.rb +1 -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: 8ea7abaa2a717c2c42a35f60f47e6f9a6f0911300def9cdb7ec3eb523575dabf
|
|
4
|
+
data.tar.gz: 8aa0e9b2c26acd9859ff9d9a455787bb1b2c5f5f5c765309bd9b307861173fa3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c24f512eb35cc073a5168eda4393c8e33b334da458a016ffe716bef6977918fb6c8b3f8de5eac84ca01983657452ad5d8a07aeb2cbde73a97457c04b2700c288
|
|
7
|
+
data.tar.gz: c76a0414927337ed5753a155f30dbf44b00e5baba25824204f2e55af1c3ab2f1427082793aeea4098199a9d011e3f094ce8b68b354e2e5d9eb27d5bacc02c36d
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,57 @@
|
|
|
1
|
+
### v2.70.0 (2026-03-27)
|
|
2
|
+
* * *
|
|
3
|
+
### New Resources:
|
|
4
|
+
- [`Alert`](https://apidocs.chargebee.com/docs/api/alerts) has been added.
|
|
5
|
+
- [`AlertStatus`](https://apidocs.chargebee.com/docs/api/alert_statuses) has been added.
|
|
6
|
+
- [`CpqQuoteSignature`](https://apidocs.chargebee.com/docs/api/cpq_quote_signatures) has been added.
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### New Actions:
|
|
10
|
+
- [`update_a_quote_signature_status`](https://apidocs.chargebee.com/docs/api/quotes/update-a-quote-signature-status) has been added to [`Quote`](https://apidocs.chargebee.com/docs/api/quotes).
|
|
11
|
+
- [`update_a_quote_signature`](https://apidocs.chargebee.com/docs/api/quotes/update-a-quote-signature) has been added to [`Quote`](https://apidocs.chargebee.com/docs/api/quotes).
|
|
12
|
+
- [`retrieve_a_quote_signature_signed_pdf`](https://apidocs.chargebee.com/docs/api/quotes/retrieve-a-quote-signature-signed-pdf) has been added to [`Quote`](https://apidocs.chargebee.com/docs/api/quotes).
|
|
13
|
+
- [`retrieve_a_quote_signature`](https://apidocs.chargebee.com/docs/api/quotes/retrieve-a-quote-signature) has been added to [`Quote`](https://apidocs.chargebee.com/docs/api/quotes).
|
|
14
|
+
- [`create_a_quote_signature`](https://apidocs.chargebee.com/docs/api/quotes/create-a-quote-signature) has been added to [`Quote`](https://apidocs.chargebee.com/docs/api/quotes).
|
|
15
|
+
- [`refresh_a_quote_signature_link`](https://apidocs.chargebee.com/docs/api/quotes/refresh-a-quote-signature-link) has been added to [`Quote`](https://apidocs.chargebee.com/docs/api/quotes).
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### New Attributes:
|
|
19
|
+
- [`reference_id`](https://apidocs.chargebee.com/docs/api/einvoices/einvoice-object#reference_id) has been added to [`Einvoice`](https://apidocs.chargebee.com/docs/api/einvoices).
|
|
20
|
+
- [`provider_references`](https://apidocs.chargebee.com/docs/api/einvoices/einvoice-object#provider_references) has been added to [`Einvoice`](https://apidocs.chargebee.com/docs/api/einvoices).
|
|
21
|
+
- [`created_at`](https://apidocs.chargebee.com/docs/api/unbilled_charges/unbilled-charge-object#created_at) has been added to [`UnbilledCharge`](https://apidocs.chargebee.com/docs/api/unbilled_charges).
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### New Parameters:
|
|
25
|
+
- [`include_usage_charges`](https://apidocs.chargebee.com/docs/api/estimates/upcoming-invoices-estimate#include_usage_charges) has been added as query parameter to [`upcoming_invoices_estimate`](https://apidocs.chargebee.com/docs/api/estimates/upcoming-invoices-estimate) in [`Estimate`](https://apidocs.chargebee.com/docs/api/estimates).
|
|
26
|
+
- [`business_entity_id`](https://apidocs.chargebee.com/docs/api/hosted_pages/manage-payment-sources#business_entity_id) has been added as request body parameter to [`manage_payment_sources`](https://apidocs.chargebee.com/docs/api/hosted_pages/manage-payment-sources) in [`HostedPage`](https://apidocs.chargebee.com/docs/api/hosted_pages).
|
|
27
|
+
- [`cpq_quote_signature`](https://apidocs.chargebee.com/docs/api/quotes/update-a-quote-signature-status#cpq_quote_signature) has been added as request body parameter to [`update_a_quote_signature_status`](https://apidocs.chargebee.com/docs/api/quotes/update-a-quote-signature-status) in [`Quote`](https://apidocs.chargebee.com/docs/api/quotes).
|
|
28
|
+
- [`gateway_account_id`](https://apidocs.chargebee.com/docs/api/virtual_bank_accounts/create-a-virtual-bank-account#gateway_account_id) has been added as request body parameter to [`create_a_virtual_bank_account`](https://apidocs.chargebee.com/docs/api/virtual_bank_accounts/create-a-virtual-bank-account) in [`VirtualBankAccount`](https://apidocs.chargebee.com/docs/api/virtual_bank_accounts).
|
|
29
|
+
- [`gateway_account_id`](https://apidocs.chargebee.com/docs/api/virtual_bank_accounts/create-a-virtual-bank-account-using-permanent-token#gateway_account_id) has been added as request body parameter to [`create_a_virtual_bank_account_using_permanent_token`](https://apidocs.chargebee.com/docs/api/virtual_bank_accounts/create-a-virtual-bank-account-using-permanent-token) in [`VirtualBankAccount`](https://apidocs.chargebee.com/docs/api/virtual_bank_accounts).
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
### New Events:
|
|
33
|
+
- [`alert_status_changed`](https://apidocs.chargebee.com/docs/api/events/webhook/alert_status_changed) has been added.
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
### New Enums:
|
|
37
|
+
- `alert_status` has been added as a new value enum `EntityType`.
|
|
38
|
+
- `alert_status_changed` has been added as a new value enum `EventType`.
|
|
39
|
+
- `pix` has been added as a new value enum `PaymentMethod`.
|
|
40
|
+
- `pix` has been added as a new value enum `PaymentMethodType`.
|
|
41
|
+
- `pix` and `usage_exceeded` have been added as new values enum `Type`.
|
|
42
|
+
- `enabled` and `disabled` have been added as new values to enum attribute [`status`](https://apidocs.chargebee.com/docs/api/alerts/alert-object#status) in [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
|
|
43
|
+
- `global` and `subscription` have been added as new values to enum attribute [`scope`](https://apidocs.chargebee.com/docs/api/alerts/alert-object#scope) in [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
|
|
44
|
+
- `draft`, `active`, `signed`, `expired`, `cancelled`, and `declined` have been added as new values to enum attribute [`status`](https://apidocs.chargebee.com/docs/api/cpq_quote_signatures/cpq-quote-signature-object#status) in [`CpqQuoteSignature`](https://apidocs.chargebee.com/docs/api/cpq_quote_signatures).
|
|
45
|
+
- `esign_and_pay`, `esign`, and `pay` have been added as new values to enum attribute [`customer_acceptance_method`](https://apidocs.chargebee.com/docs/api/cpq_quote_signatures/cpq-quote-signature-object#customer_acceptance_method) in [`CpqQuoteSignature`](https://apidocs.chargebee.com/docs/api/cpq_quote_signatures).
|
|
46
|
+
- `consolidated` and `detailed` have been added as new values to enum attribute [`quote_type`](https://apidocs.chargebee.com/docs/api/cpq_quote_signatures/cpq-quote-signature-object#quote_type) in [`CpqQuoteSignature`](https://apidocs.chargebee.com/docs/api/cpq_quote_signatures).
|
|
47
|
+
- `pix` has been added as a new value to enum attribute [`payment_method_type`](https://apidocs.chargebee.com/docs/api/payment_intents/payment-intent-object#payment_method_type) in [`PaymentIntent`](https://apidocs.chargebee.com/docs/api/payment_intents).
|
|
48
|
+
- `pix` has been added as a new value to enum attribute [`active_payment_attempt.payment_method_type`](https://apidocs.chargebee.com/docs/api/payment_intents/payment-intent-object#active_payment_attempt_payment_method_type) in [`PaymentIntent`](https://apidocs.chargebee.com/docs/api/payment_intents).
|
|
49
|
+
- `pix` has been added as a new value to enum request body parameter `payment_method_type` in [`update_a_payment_intent`](https://apidocs.chargebee.com/docs/api/payment_intents/update-a-payment-intent) of [`PaymentIntent`](https://apidocs.chargebee.com/docs/api/payment_intents).
|
|
50
|
+
- `pix` has been added as a new value to enum request body parameter `payment_method_type` in [`create_a_payment_intent`](https://apidocs.chargebee.com/docs/api/payment_intents/create-a-payment-intent) of [`PaymentIntent`](https://apidocs.chargebee.com/docs/api/payment_intents).
|
|
51
|
+
- `expired`, `declined`, `draft`, `active`, `signed`, and `cancelled` have been added as new values to enum request body parameter `cpq_quote_signature.status` in [`update_a_quote_signature_status`](https://apidocs.chargebee.com/docs/api/quotes/update-a-quote-signature-status) of [`Quote`](https://apidocs.chargebee.com/docs/api/quotes).
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
|
|
1
55
|
### v2.69.0 (2026-03-02)
|
|
2
56
|
* * *
|
|
3
57
|
### New Resources:
|
data/Gemfile.lock
CHANGED
data/Makefile
CHANGED
|
@@ -99,6 +99,8 @@ format:
|
|
|
99
99
|
@echo "Formatter not configured."
|
|
100
100
|
|
|
101
101
|
update-manifest:
|
|
102
|
+
@echo "Staging new model files..."
|
|
103
|
+
@git add lib/chargebee/models/ lib/chargebee.rb lib/chargebee/result.rb 2>/dev/null || true
|
|
102
104
|
@echo "Updating file manifest in $(GEMSPEC_FILE)..."
|
|
103
105
|
@$(RUBY) -e \
|
|
104
106
|
'files = `git ls-files`.split("\n").sort \
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.
|
|
1
|
+
2.70.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-03-
|
|
7
|
+
s.version = '2.70.0'
|
|
8
|
+
s.date = '2026-03-27'
|
|
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 = {
|
|
@@ -45,6 +45,8 @@ Gem::Specification.new do |s|
|
|
|
45
45
|
lib/chargebee/models/addon.rb
|
|
46
46
|
lib/chargebee/models/address.rb
|
|
47
47
|
lib/chargebee/models/advance_invoice_schedule.rb
|
|
48
|
+
lib/chargebee/models/alert.rb
|
|
49
|
+
lib/chargebee/models/alert_status.rb
|
|
48
50
|
lib/chargebee/models/attached_item.rb
|
|
49
51
|
lib/chargebee/models/attribute.rb
|
|
50
52
|
lib/chargebee/models/billing_configuration.rb
|
|
@@ -59,6 +61,7 @@ Gem::Specification.new do |s|
|
|
|
59
61
|
lib/chargebee/models/coupon.rb
|
|
60
62
|
lib/chargebee/models/coupon_code.rb
|
|
61
63
|
lib/chargebee/models/coupon_set.rb
|
|
64
|
+
lib/chargebee/models/cpq_quote_signature.rb
|
|
62
65
|
lib/chargebee/models/credit_note.rb
|
|
63
66
|
lib/chargebee/models/credit_note_estimate.rb
|
|
64
67
|
lib/chargebee/models/csv_tax_rule.rb
|
|
@@ -140,8 +143,10 @@ Gem::Specification.new do |s|
|
|
|
140
143
|
lib/chargebee/models/transaction.rb
|
|
141
144
|
lib/chargebee/models/unbilled_charge.rb
|
|
142
145
|
lib/chargebee/models/usage.rb
|
|
146
|
+
lib/chargebee/models/usage_charge.rb
|
|
143
147
|
lib/chargebee/models/usage_event.rb
|
|
144
148
|
lib/chargebee/models/usage_file.rb
|
|
149
|
+
lib/chargebee/models/usage_summary.rb
|
|
145
150
|
lib/chargebee/models/virtual_bank_account.rb
|
|
146
151
|
lib/chargebee/models/webhook_endpoint.rb
|
|
147
152
|
lib/chargebee/native_request.rb
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
module ChargeBee
|
|
2
|
+
class Alert < Model
|
|
3
|
+
|
|
4
|
+
attr_accessor :id, :type, :name, :description, :metered_feature_id, :subscription_id, :status,
|
|
5
|
+
:alarm_triggered_at, :scope, :meta, :created_at, :updated_at
|
|
6
|
+
|
|
7
|
+
# OPERATIONS
|
|
8
|
+
#-----------
|
|
9
|
+
|
|
10
|
+
end # ~Alert
|
|
11
|
+
end # ~ChargeBee
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
module ChargeBee
|
|
2
|
+
class CpqQuoteSignature < Model
|
|
3
|
+
|
|
4
|
+
attr_accessor :id, :status, :name, :document_name, :customer_acceptance_method, :quote_type,
|
|
5
|
+
:expires_at, :timezone, :provider_request_id, :provider_document_id, :created_at, :modified_at
|
|
6
|
+
|
|
7
|
+
# OPERATIONS
|
|
8
|
+
#-----------
|
|
9
|
+
|
|
10
|
+
end # ~CpqQuoteSignature
|
|
11
|
+
end # ~ChargeBee
|
|
@@ -73,11 +73,11 @@ module ChargeBee
|
|
|
73
73
|
Request.send('post', uri_path("subscriptions",id.to_s,"regenerate_invoice_estimate"), params, env, headers,nil, false, jsonKeys, options)
|
|
74
74
|
end
|
|
75
75
|
|
|
76
|
-
def self.upcoming_invoices_estimate(id, env=nil, headers={})
|
|
76
|
+
def self.upcoming_invoices_estimate(id, params={}, env=nil, headers={})
|
|
77
77
|
jsonKeys = {
|
|
78
78
|
}
|
|
79
79
|
options = {}
|
|
80
|
-
Request.send('get', uri_path("customers",id.to_s,"upcoming_invoices_estimate"),
|
|
80
|
+
Request.send('get', uri_path("customers",id.to_s,"upcoming_invoices_estimate"), params, env, headers,nil, false, jsonKeys, options)
|
|
81
81
|
end
|
|
82
82
|
|
|
83
83
|
def self.change_term_end(id, params, env=nil, headers={})
|
|
@@ -218,5 +218,63 @@ module ChargeBee
|
|
|
218
218
|
Request.send('post', uri_path("quotes",id.to_s,"pdf"), params, env, headers,nil, false, jsonKeys, options)
|
|
219
219
|
end
|
|
220
220
|
|
|
221
|
+
# @deprecated This method is deprecated and will be removed in a future version.
|
|
222
|
+
def self.retrieve_signature(id, env=nil, headers={})
|
|
223
|
+
jsonKeys = {
|
|
224
|
+
}
|
|
225
|
+
options = {}
|
|
226
|
+
Request.send('get', uri_path("quotes",id.to_s,"retrieve_signature"), {}, env, headers,nil, false, jsonKeys, options)
|
|
227
|
+
end
|
|
228
|
+
|
|
229
|
+
# @deprecated This method is deprecated and will be removed in a future version.
|
|
230
|
+
def self.retrieve_signed_pdf(id, env=nil, headers={})
|
|
231
|
+
jsonKeys = {
|
|
232
|
+
}
|
|
233
|
+
options = {
|
|
234
|
+
:isIdempotent => true
|
|
235
|
+
}
|
|
236
|
+
Request.send('post', uri_path("quotes",id.to_s,"retrieve_signed_pdf"), {}, env, headers,nil, false, jsonKeys, options)
|
|
237
|
+
end
|
|
238
|
+
|
|
239
|
+
# @deprecated This method is deprecated and will be removed in a future version.
|
|
240
|
+
def self.create_signature(id, env=nil, headers={})
|
|
241
|
+
jsonKeys = {
|
|
242
|
+
}
|
|
243
|
+
options = {
|
|
244
|
+
:isIdempotent => true
|
|
245
|
+
}
|
|
246
|
+
Request.send('post', uri_path("quotes",id.to_s,"create_signature"), {}, env, headers,nil, false, jsonKeys, options)
|
|
247
|
+
end
|
|
248
|
+
|
|
249
|
+
# @deprecated This method is deprecated and will be removed in a future version.
|
|
250
|
+
def self.update_signature(id, env=nil, headers={})
|
|
251
|
+
jsonKeys = {
|
|
252
|
+
}
|
|
253
|
+
options = {
|
|
254
|
+
:isIdempotent => true
|
|
255
|
+
}
|
|
256
|
+
Request.send('post', uri_path("quotes",id.to_s,"update_signature"), {}, env, headers,nil, false, jsonKeys, options)
|
|
257
|
+
end
|
|
258
|
+
|
|
259
|
+
# @deprecated This method is deprecated and will be removed in a future version.
|
|
260
|
+
def self.update_signature_status(id, params={}, env=nil, headers={})
|
|
261
|
+
jsonKeys = {
|
|
262
|
+
}
|
|
263
|
+
options = {
|
|
264
|
+
:isIdempotent => true
|
|
265
|
+
}
|
|
266
|
+
Request.send('post', uri_path("quotes",id.to_s,"update_signature_status"), params, env, headers,nil, false, jsonKeys, options)
|
|
267
|
+
end
|
|
268
|
+
|
|
269
|
+
# @deprecated This method is deprecated and will be removed in a future version.
|
|
270
|
+
def self.refresh_signature_link(id, env=nil, headers={})
|
|
271
|
+
jsonKeys = {
|
|
272
|
+
}
|
|
273
|
+
options = {
|
|
274
|
+
:isIdempotent => true
|
|
275
|
+
}
|
|
276
|
+
Request.send('post', uri_path("quotes",id.to_s,"refresh_signature_link"), {}, env, headers,nil, false, jsonKeys, options)
|
|
277
|
+
end
|
|
278
|
+
|
|
221
279
|
end # ~Quote
|
|
222
280
|
end # ~ChargeBee
|
|
@@ -7,8 +7,8 @@ module ChargeBee
|
|
|
7
7
|
|
|
8
8
|
attr_accessor :id, :customer_id, :subscription_id, :date_from, :date_to, :unit_amount, :pricing_model,
|
|
9
9
|
:quantity, :amount, :currency_code, :discount_amount, :description, :entity_type, :entity_id,
|
|
10
|
-
:is_voided, :voided_at, :unit_amount_in_decimal, :quantity_in_decimal, :amount_in_decimal, :
|
|
11
|
-
:tiers, :is_advance_charge, :business_entity_id, :deleted
|
|
10
|
+
:is_voided, :voided_at, :unit_amount_in_decimal, :quantity_in_decimal, :amount_in_decimal, :created_at,
|
|
11
|
+
:updated_at, :tiers, :is_advance_charge, :business_entity_id, :deleted
|
|
12
12
|
|
|
13
13
|
# OPERATIONS
|
|
14
14
|
#-----------
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
module ChargeBee
|
|
2
|
+
class UsageCharge < Model
|
|
3
|
+
|
|
4
|
+
attr_accessor :subscription_id, :feature_id, :included_usage, :total_usage, :on_demand_usage,
|
|
5
|
+
:metered_item_price_id, :amount, :currency_code, :usage_from, :usage_to
|
|
6
|
+
|
|
7
|
+
# OPERATIONS
|
|
8
|
+
#-----------
|
|
9
|
+
|
|
10
|
+
def self.retrieve_usage_charges_for_subscription(id, params={}, env=nil, headers={})
|
|
11
|
+
jsonKeys = {
|
|
12
|
+
}
|
|
13
|
+
options = {}
|
|
14
|
+
Request.send('get', uri_path("subscriptions",id.to_s,"usage_charges"), params, env, headers,nil, false, jsonKeys, options)
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
end # ~UsageCharge
|
|
18
|
+
end # ~ChargeBee
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
module ChargeBee
|
|
2
|
+
class UsageSummary < Model
|
|
3
|
+
|
|
4
|
+
attr_accessor :subscription_id, :feature_id, :aggregated_value, :aggregated_from, :aggregated_to
|
|
5
|
+
|
|
6
|
+
# OPERATIONS
|
|
7
|
+
#-----------
|
|
8
|
+
|
|
9
|
+
def self.retrieve_usage_summary_for_subscription(id, params, env=nil, headers={})
|
|
10
|
+
jsonKeys = {
|
|
11
|
+
}
|
|
12
|
+
options = {}
|
|
13
|
+
Request.send('get', uri_path("subscriptions",id.to_s,"usage_summary"), params, env, headers,nil, false, jsonKeys, options)
|
|
14
|
+
end
|
|
15
|
+
|
|
16
|
+
end # ~UsageSummary
|
|
17
|
+
end # ~ChargeBee
|
data/lib/chargebee/result.rb
CHANGED
|
@@ -230,6 +230,11 @@ module ChargeBee
|
|
|
230
230
|
return quote_line_group;
|
|
231
231
|
end
|
|
232
232
|
|
|
233
|
+
def cpq_quote_signature()
|
|
234
|
+
cpq_quote_signature = get(:cpq_quote_signature, CpqQuoteSignature);
|
|
235
|
+
return cpq_quote_signature;
|
|
236
|
+
end
|
|
237
|
+
|
|
233
238
|
def plan()
|
|
234
239
|
plan = get(:plan, Plan,
|
|
235
240
|
{:tiers => Plan::Tier, :tax_providers_fields => Plan::TaxProvidersField, :applicable_addons => Plan::ApplicableAddon, :attached_addons => Plan::AttachedAddon, :event_based_addons => Plan::EventBasedAddon});
|
|
@@ -573,6 +578,16 @@ module ChargeBee
|
|
|
573
578
|
return usage_charge;
|
|
574
579
|
end
|
|
575
580
|
|
|
581
|
+
def alert()
|
|
582
|
+
alert = get(:alert, Alert);
|
|
583
|
+
return alert;
|
|
584
|
+
end
|
|
585
|
+
|
|
586
|
+
def alert_status()
|
|
587
|
+
alert_status = get(:alert_status, AlertStatus);
|
|
588
|
+
return alert_status;
|
|
589
|
+
end
|
|
590
|
+
|
|
576
591
|
def impacted_customer()
|
|
577
592
|
impacted_customer = get(:impacted_customer, ImpactedCustomer,
|
|
578
593
|
{:download => ImpactedCustomer::Download});
|
data/lib/chargebee.rb
CHANGED
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.70.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-03-
|
|
12
|
+
date: 2026-03-27 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: cgi
|
|
@@ -86,6 +86,8 @@ files:
|
|
|
86
86
|
- lib/chargebee/models/addon.rb
|
|
87
87
|
- lib/chargebee/models/address.rb
|
|
88
88
|
- lib/chargebee/models/advance_invoice_schedule.rb
|
|
89
|
+
- lib/chargebee/models/alert.rb
|
|
90
|
+
- lib/chargebee/models/alert_status.rb
|
|
89
91
|
- lib/chargebee/models/attached_item.rb
|
|
90
92
|
- lib/chargebee/models/attribute.rb
|
|
91
93
|
- lib/chargebee/models/billing_configuration.rb
|
|
@@ -100,6 +102,7 @@ files:
|
|
|
100
102
|
- lib/chargebee/models/coupon.rb
|
|
101
103
|
- lib/chargebee/models/coupon_code.rb
|
|
102
104
|
- lib/chargebee/models/coupon_set.rb
|
|
105
|
+
- lib/chargebee/models/cpq_quote_signature.rb
|
|
103
106
|
- lib/chargebee/models/credit_note.rb
|
|
104
107
|
- lib/chargebee/models/credit_note_estimate.rb
|
|
105
108
|
- lib/chargebee/models/csv_tax_rule.rb
|
|
@@ -181,8 +184,10 @@ files:
|
|
|
181
184
|
- lib/chargebee/models/transaction.rb
|
|
182
185
|
- lib/chargebee/models/unbilled_charge.rb
|
|
183
186
|
- lib/chargebee/models/usage.rb
|
|
187
|
+
- lib/chargebee/models/usage_charge.rb
|
|
184
188
|
- lib/chargebee/models/usage_event.rb
|
|
185
189
|
- lib/chargebee/models/usage_file.rb
|
|
190
|
+
- lib/chargebee/models/usage_summary.rb
|
|
186
191
|
- lib/chargebee/models/virtual_bank_account.rb
|
|
187
192
|
- lib/chargebee/models/webhook_endpoint.rb
|
|
188
193
|
- lib/chargebee/native_request.rb
|