chargebee 2.79.0 → 2.80.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 +190 -0
- data/Gemfile.lock +1 -1
- data/VERSION +1 -1
- data/chargebee.gemspec +11 -2
- data/lib/chargebee/models/applied_business_rule.rb +11 -0
- data/lib/chargebee/models/applied_rule.rb +10 -0
- data/lib/chargebee/models/apply_rule.rb +15 -0
- data/lib/chargebee/models/business_rule.rb +113 -0
- data/lib/chargebee/models/business_ruleset.rb +99 -0
- data/lib/chargebee/models/business_ruleset_rule.rb +10 -0
- data/lib/chargebee/models/credit_note.rb +11 -2
- data/lib/chargebee/models/custom_data_schema.rb +11 -0
- data/lib/chargebee/models/customer.rb +11 -1
- data/lib/chargebee/models/dispute.rb +25 -0
- data/lib/chargebee/models/einvoice.rb +21 -1
- data/lib/chargebee/models/email_log.rb +18 -0
- data/lib/chargebee/models/event.rb +1 -1
- data/lib/chargebee/models/grant_block.rb +10 -2
- data/lib/chargebee/models/hosted_page.rb +1 -1
- data/lib/chargebee/models/invoice.rb +10 -1
- data/lib/chargebee/models/ledger_entry.rb +1 -1
- data/lib/chargebee/models/payment_intent.rb +1 -1
- data/lib/chargebee/models/payment_schedule.rb +13 -2
- data/lib/chargebee/models/payment_schedule_estimate.rb +1 -1
- data/lib/chargebee/models/payment_schedule_scheme.rb +7 -0
- data/lib/chargebee/models/payment_source.rb +5 -1
- data/lib/chargebee/models/quoted_subscription.rb +1 -1
- data/lib/chargebee/models/ramp.rb +6 -1
- data/lib/chargebee/models/subscription.rb +2 -2
- data/lib/chargebee/models/third_party_payment_method.rb +1 -1
- data/lib/chargebee/models/transaction.rb +5 -1
- data/lib/chargebee/result.rb +66 -12
- data/lib/chargebee.rb +10 -1
- metadata +11 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: df69efc68ee684b76baea32d80f78c6ef54c72fda0cce77f550896978fbe1a51
|
|
4
|
+
data.tar.gz: 8748ad061ff0ed6bb00ca20be1a46a9406ea00e0263070f9b7aa0bb73aa541e9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ef600d711ad42d7e61e8d1a74fe0142c6c2dc13041d36ed23f47a0302ceefb7904221583e1bc7720341c97543fe45ce5cca0ade9994479f4fa62e47f7363f04d
|
|
7
|
+
data.tar.gz: 5b9a01d7daa9928175d310fd662b777b20f08bd9badb77df58cf612622e49457345ff7733d4f982ac648019c3efe282846623f8facb3e56027b2ecce67cf71d3
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,193 @@
|
|
|
1
|
+
### v2.80.0 (2026-09-24)
|
|
2
|
+
* * *
|
|
3
|
+
### New Resources:
|
|
4
|
+
- [`AppliedBusinessRule`](https://apidocs.chargebee.com/docs/api/applied_business_rules) has been added.
|
|
5
|
+
- [`AppliedRule`](https://apidocs.chargebee.com/docs/api/applied_rules) has been added.
|
|
6
|
+
- [`ApplyRule`](https://apidocs.chargebee.com/docs/api/apply_rules) has been added.
|
|
7
|
+
- [`BusinessRule`](https://apidocs.chargebee.com/docs/api/business_rules) has been added.
|
|
8
|
+
- [`BusinessRuleset`](https://apidocs.chargebee.com/docs/api/business_rulesets) has been added.
|
|
9
|
+
- [`BusinessRulesetRule`](https://apidocs.chargebee.com/docs/api/business_ruleset_rules) has been added.
|
|
10
|
+
- [`CustomDataSchema`](https://apidocs.chargebee.com/docs/api/custom_data_schemas) has been added.
|
|
11
|
+
- [`Dispute`](https://apidocs.chargebee.com/docs/api/disputes) has been added.
|
|
12
|
+
- [`EmailLog`](https://apidocs.chargebee.com/docs/api/email_logs) has been added.
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### New Actions:
|
|
16
|
+
- [`send_credit_note_email`](https://apidocs.chargebee.com/docs/api/credit_notes/send-credit-note-email) has been added to [`CreditNote`](https://apidocs.chargebee.com/docs/api/credit_notes).
|
|
17
|
+
- [`send_payment_request_email`](https://apidocs.chargebee.com/docs/api/customers/send-payment-request-email) has been added to [`Customer`](https://apidocs.chargebee.com/docs/api/customers).
|
|
18
|
+
- [`list_e-invoices`](https://apidocs.chargebee.com/docs/api/einvoices/list-e-invoices) has been added to [`Einvoice`](https://apidocs.chargebee.com/docs/api/einvoices).
|
|
19
|
+
- [`retrieve_an_e-invoice`](https://apidocs.chargebee.com/docs/api/einvoices/retrieve-an-e-invoice) has been added to [`Einvoice`](https://apidocs.chargebee.com/docs/api/einvoices).
|
|
20
|
+
- [`send_invoice_email`](https://apidocs.chargebee.com/docs/api/invoices/send-invoice-email) has been added to [`Invoice`](https://apidocs.chargebee.com/docs/api/invoices).
|
|
21
|
+
- [`list_payment_schedules`](https://apidocs.chargebee.com/docs/api/payment_schedules/list-payment-schedules) has been added to [`PaymentSchedule`](https://apidocs.chargebee.com/docs/api/payment_schedules).
|
|
22
|
+
- [`list_payment_schedule_schemes`](https://apidocs.chargebee.com/docs/api/payment_schedule_schemes/list-payment-schedule-schemes) has been added to [`PaymentScheduleScheme`](https://apidocs.chargebee.com/docs/api/payment_schedule_schemes).
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### New Attributes:
|
|
26
|
+
- [`brand_id`](https://apidocs.chargebee.com/docs/api/credit_notes/credit-note-object#brand_id) has been added to [`CreditNote`](https://apidocs.chargebee.com/docs/api/credit_notes).
|
|
27
|
+
- [`brand_id`](https://apidocs.chargebee.com/docs/api/customers/customer-object#brand_id) has been added to [`Customer`](https://apidocs.chargebee.com/docs/api/customers).
|
|
28
|
+
- [`entity_type`](https://apidocs.chargebee.com/docs/api/einvoices/einvoice-object#entity_type) has been added to [`Einvoice`](https://apidocs.chargebee.com/docs/api/einvoices).
|
|
29
|
+
- [`entity_id`](https://apidocs.chargebee.com/docs/api/einvoices/einvoice-object#entity_id) has been added to [`Einvoice`](https://apidocs.chargebee.com/docs/api/einvoices).
|
|
30
|
+
- [`created_at`](https://apidocs.chargebee.com/docs/api/einvoices/einvoice-object#created_at) has been added to [`Einvoice`](https://apidocs.chargebee.com/docs/api/einvoices).
|
|
31
|
+
- [`resource_version`](https://apidocs.chargebee.com/docs/api/einvoices/einvoice-object#resource_version) has been added to [`Einvoice`](https://apidocs.chargebee.com/docs/api/einvoices).
|
|
32
|
+
- [`updated_at`](https://apidocs.chargebee.com/docs/api/einvoices/einvoice-object#updated_at) has been added to [`Einvoice`](https://apidocs.chargebee.com/docs/api/einvoices).
|
|
33
|
+
- [`deleted`](https://apidocs.chargebee.com/docs/api/einvoices/einvoice-object#deleted) has been added to [`Einvoice`](https://apidocs.chargebee.com/docs/api/einvoices).
|
|
34
|
+
- [`business_entity_id`](https://apidocs.chargebee.com/docs/api/einvoices/einvoice-object#business_entity_id) has been added to [`Einvoice`](https://apidocs.chargebee.com/docs/api/einvoices).
|
|
35
|
+
- [`artifacts`](https://apidocs.chargebee.com/docs/api/einvoices/einvoice-object#artifacts) has been added to [`Einvoice`](https://apidocs.chargebee.com/docs/api/einvoices).
|
|
36
|
+
- [`site_id`](https://apidocs.chargebee.com/docs/api/events/event-object#site_id) has been added to [`Event`](https://apidocs.chargebee.com/docs/api/events).
|
|
37
|
+
- [`provisioned_block_balance`](https://apidocs.chargebee.com/docs/api/grant_blocks/grant-block-object#provisioned_block_balance) has been added to [`GrantBlock`](https://apidocs.chargebee.com/docs/api/grant_blocks).
|
|
38
|
+
- [`overdraft_block_balance`](https://apidocs.chargebee.com/docs/api/grant_blocks/grant-block-object#overdraft_block_balance) has been added to [`GrantBlock`](https://apidocs.chargebee.com/docs/api/grant_blocks).
|
|
39
|
+
- [`brand_id`](https://apidocs.chargebee.com/docs/api/hosted_pages/hosted-page-object#brand_id) has been added to [`HostedPage`](https://apidocs.chargebee.com/docs/api/hosted_pages).
|
|
40
|
+
- [`brand_id`](https://apidocs.chargebee.com/docs/api/invoices/invoice-object#brand_id) has been added to [`Invoice`](https://apidocs.chargebee.com/docs/api/invoices).
|
|
41
|
+
- [`brand_id`](https://apidocs.chargebee.com/docs/api/payment_intents/payment-intent-object#brand_id) has been added to [`PaymentIntent`](https://apidocs.chargebee.com/docs/api/payment_intents).
|
|
42
|
+
- [`reference_transactions`](https://apidocs.chargebee.com/docs/api/payment_schedules/payment-schedule-object#reference_transactions) has been added to [`PaymentSchedule`](https://apidocs.chargebee.com/docs/api/payment_schedules).
|
|
43
|
+
- [`brand_id`](https://apidocs.chargebee.com/docs/api/payment_sources/payment-source-object#brand_id) has been added to [`PaymentSource`](https://apidocs.chargebee.com/docs/api/payment_sources).
|
|
44
|
+
- [`network_transaction_reference`](https://apidocs.chargebee.com/docs/api/payment_sources/payment-source-object#network_transaction_reference) has been added to [`PaymentSource`](https://apidocs.chargebee.com/docs/api/payment_sources).
|
|
45
|
+
- [`billing_configuration`](https://apidocs.chargebee.com/docs/api/ramps/ramp-object#billing_configuration) has been added to [`Ramp`](https://apidocs.chargebee.com/docs/api/ramps).
|
|
46
|
+
- [`brand_id`](https://apidocs.chargebee.com/docs/api/subscriptions/subscription-object#brand_id) has been added to [`Subscription`](https://apidocs.chargebee.com/docs/api/subscriptions).
|
|
47
|
+
- [`network_transaction_reference`](https://apidocs.chargebee.com/docs/api/third_party_payment_methods/third-party-payment-method-object#network_transaction_reference) has been added to [`ThirdPartyPaymentMethod`](https://apidocs.chargebee.com/docs/api/third_party_payment_methods).
|
|
48
|
+
- [`network_transaction_details`](https://apidocs.chargebee.com/docs/api/transactions/transaction-object#network_transaction_details) has been added to [`Transaction`](https://apidocs.chargebee.com/docs/api/transactions).
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
### New Parameters:
|
|
52
|
+
- [`limit`](https://apidocs.chargebee.com/docs/api/einvoices/list-e-invoices#limit) has been added as query parameter to [`list_e-invoices`](https://apidocs.chargebee.com/docs/api/einvoices/list-e-invoices) in [`Einvoice`](https://apidocs.chargebee.com/docs/api/einvoices).
|
|
53
|
+
- [`offset`](https://apidocs.chargebee.com/docs/api/einvoices/list-e-invoices#offset) has been added as query parameter to [`list_e-invoices`](https://apidocs.chargebee.com/docs/api/einvoices/list-e-invoices) in [`Einvoice`](https://apidocs.chargebee.com/docs/api/einvoices).
|
|
54
|
+
- [`id`](https://apidocs.chargebee.com/docs/api/einvoices/list-e-invoices#id) has been added as query parameter to [`list_e-invoices`](https://apidocs.chargebee.com/docs/api/einvoices/list-e-invoices) in [`Einvoice`](https://apidocs.chargebee.com/docs/api/einvoices).
|
|
55
|
+
- [`reference_id`](https://apidocs.chargebee.com/docs/api/einvoices/list-e-invoices#reference_id) has been added as query parameter to [`list_e-invoices`](https://apidocs.chargebee.com/docs/api/einvoices/list-e-invoices) in [`Einvoice`](https://apidocs.chargebee.com/docs/api/einvoices).
|
|
56
|
+
- [`updated_at`](https://apidocs.chargebee.com/docs/api/einvoices/list-e-invoices#updated_at) has been added as query parameter to [`list_e-invoices`](https://apidocs.chargebee.com/docs/api/einvoices/list-e-invoices) in [`Einvoice`](https://apidocs.chargebee.com/docs/api/einvoices).
|
|
57
|
+
- [`sort_by`](https://apidocs.chargebee.com/docs/api/einvoices/list-e-invoices#sort_by) has been added as query parameter to [`list_e-invoices`](https://apidocs.chargebee.com/docs/api/einvoices/list-e-invoices) in [`Einvoice`](https://apidocs.chargebee.com/docs/api/einvoices).
|
|
58
|
+
- [`invoice_id`](https://apidocs.chargebee.com/docs/api/einvoices/list-e-invoices#invoice_id) has been added as query parameter to [`list_e-invoices`](https://apidocs.chargebee.com/docs/api/einvoices/list-e-invoices) in [`Einvoice`](https://apidocs.chargebee.com/docs/api/einvoices).
|
|
59
|
+
- [`credit_note_id`](https://apidocs.chargebee.com/docs/api/einvoices/list-e-invoices#credit_note_id) has been added as query parameter to [`list_e-invoices`](https://apidocs.chargebee.com/docs/api/einvoices/list-e-invoices) in [`Einvoice`](https://apidocs.chargebee.com/docs/api/einvoices).
|
|
60
|
+
- [`limit`](https://apidocs.chargebee.com/docs/api/payment_schedules/list-payment-schedules#limit) has been added as query parameter to [`list_payment_schedules`](https://apidocs.chargebee.com/docs/api/payment_schedules/list-payment-schedules) in [`PaymentSchedule`](https://apidocs.chargebee.com/docs/api/payment_schedules).
|
|
61
|
+
- [`offset`](https://apidocs.chargebee.com/docs/api/payment_schedules/list-payment-schedules#offset) has been added as query parameter to [`list_payment_schedules`](https://apidocs.chargebee.com/docs/api/payment_schedules/list-payment-schedules) in [`PaymentSchedule`](https://apidocs.chargebee.com/docs/api/payment_schedules).
|
|
62
|
+
- [`invoice_id`](https://apidocs.chargebee.com/docs/api/payment_schedules/list-payment-schedules#invoice_id) has been added as query parameter to [`list_payment_schedules`](https://apidocs.chargebee.com/docs/api/payment_schedules/list-payment-schedules) in [`PaymentSchedule`](https://apidocs.chargebee.com/docs/api/payment_schedules).
|
|
63
|
+
- [`id`](https://apidocs.chargebee.com/docs/api/payment_schedules/list-payment-schedules#id) has been added as query parameter to [`list_payment_schedules`](https://apidocs.chargebee.com/docs/api/payment_schedules/list-payment-schedules) in [`PaymentSchedule`](https://apidocs.chargebee.com/docs/api/payment_schedules).
|
|
64
|
+
- [`updated_at`](https://apidocs.chargebee.com/docs/api/payment_schedules/list-payment-schedules#updated_at) has been added as query parameter to [`list_payment_schedules`](https://apidocs.chargebee.com/docs/api/payment_schedules/list-payment-schedules) in [`PaymentSchedule`](https://apidocs.chargebee.com/docs/api/payment_schedules).
|
|
65
|
+
- [`limit`](https://apidocs.chargebee.com/docs/api/payment_schedule_schemes/list-payment-schedule-schemes#limit) has been added as query parameter to [`list_payment_schedule_schemes`](https://apidocs.chargebee.com/docs/api/payment_schedule_schemes/list-payment-schedule-schemes) in [`PaymentScheduleScheme`](https://apidocs.chargebee.com/docs/api/payment_schedule_schemes).
|
|
66
|
+
- [`offset`](https://apidocs.chargebee.com/docs/api/payment_schedule_schemes/list-payment-schedule-schemes#offset) has been added as query parameter to [`list_payment_schedule_schemes`](https://apidocs.chargebee.com/docs/api/payment_schedule_schemes/list-payment-schedule-schemes) in [`PaymentScheduleScheme`](https://apidocs.chargebee.com/docs/api/payment_schedule_schemes).
|
|
67
|
+
- [`id`](https://apidocs.chargebee.com/docs/api/payment_schedule_schemes/list-payment-schedule-schemes#id) has been added as query parameter to [`list_payment_schedule_schemes`](https://apidocs.chargebee.com/docs/api/payment_schedule_schemes/list-payment-schedule-schemes) in [`PaymentScheduleScheme`](https://apidocs.chargebee.com/docs/api/payment_schedule_schemes).
|
|
68
|
+
- [`updated_at`](https://apidocs.chargebee.com/docs/api/payment_schedule_schemes/list-payment-schedule-schemes#updated_at) has been added as query parameter to [`list_payment_schedule_schemes`](https://apidocs.chargebee.com/docs/api/payment_schedule_schemes/list-payment-schedule-schemes) in [`PaymentScheduleScheme`](https://apidocs.chargebee.com/docs/api/payment_schedule_schemes).
|
|
69
|
+
- [`line_items.is_partial_tax_applied`](https://apidocs.chargebee.com/docs/api/credit_notes/import-credit-note#line_items_is_partial_tax_applied) has been added as request body parameter to [`import_credit_note`](https://apidocs.chargebee.com/docs/api/credit_notes/import-credit-note) in [`CreditNote`](https://apidocs.chargebee.com/docs/api/credit_notes).
|
|
70
|
+
- [`line_items.taxable_amount`](https://apidocs.chargebee.com/docs/api/credit_notes/import-credit-note#line_items_taxable_amount) has been added as request body parameter to [`import_credit_note`](https://apidocs.chargebee.com/docs/api/credit_notes/import-credit-note) in [`CreditNote`](https://apidocs.chargebee.com/docs/api/credit_notes).
|
|
71
|
+
- [`brand_id`](https://apidocs.chargebee.com/docs/api/customers/create-a-customer#brand_id) has been added as request body parameter to [`create_a_customer`](https://apidocs.chargebee.com/docs/api/customers/create-a-customer) in [`Customer`](https://apidocs.chargebee.com/docs/api/customers).
|
|
72
|
+
- [`subscription_items.description`](https://apidocs.chargebee.com/docs/api/estimates/estimate-for-creating-a-customer-and-subscription#subscription_items_description) has been added as request body parameter to [`estimate_for_creating_a_customer_and_subscription`](https://apidocs.chargebee.com/docs/api/estimates/estimate-for-creating-a-customer-and-subscription) in [`Estimate`](https://apidocs.chargebee.com/docs/api/estimates).
|
|
73
|
+
- [`subscription_items.description`](https://apidocs.chargebee.com/docs/api/estimates/estimate-for-updating-a-subscription#subscription_items_description) has been added as request body parameter to [`estimate_for_updating_a_subscription`](https://apidocs.chargebee.com/docs/api/estimates/estimate-for-updating-a-subscription) in [`Estimate`](https://apidocs.chargebee.com/docs/api/estimates).
|
|
74
|
+
- [`subscription_items.description`](https://apidocs.chargebee.com/docs/api/estimates/estimate-for-creating-a-subscription#subscription_items_description) has been added as request body parameter to [`estimate_for_creating_a_subscription`](https://apidocs.chargebee.com/docs/api/estimates/estimate-for-creating-a-subscription) in [`Estimate`](https://apidocs.chargebee.com/docs/api/estimates).
|
|
75
|
+
- [`brand_id`](https://apidocs.chargebee.com/docs/api/hosted_pages/checkout-charge-items-and-one-time-charges#brand_id) has been added as request body parameter to [`checkout_charge-items_and_one-time_charges`](https://apidocs.chargebee.com/docs/api/hosted_pages/checkout-charge-items-and-one-time-charges) in [`HostedPage`](https://apidocs.chargebee.com/docs/api/hosted_pages).
|
|
76
|
+
- [`brand_id`](https://apidocs.chargebee.com/docs/api/hosted_pages/extend-subscription#brand_id) has been added as request body parameter to [`extend_subscription`](https://apidocs.chargebee.com/docs/api/hosted_pages/extend-subscription) in [`HostedPage`](https://apidocs.chargebee.com/docs/api/hosted_pages).
|
|
77
|
+
- [`brand_id`](https://apidocs.chargebee.com/docs/api/hosted_pages/checkout-gift-subscription-for-items#brand_id) has been added as request body parameter to [`checkout_gift_subscription_for_items`](https://apidocs.chargebee.com/docs/api/hosted_pages/checkout-gift-subscription-for-items) in [`HostedPage`](https://apidocs.chargebee.com/docs/api/hosted_pages).
|
|
78
|
+
- [`brand_id`](https://apidocs.chargebee.com/docs/api/hosted_pages/collect-now#brand_id) has been added as request body parameter to [`collect_now`](https://apidocs.chargebee.com/docs/api/hosted_pages/collect-now) in [`HostedPage`](https://apidocs.chargebee.com/docs/api/hosted_pages).
|
|
79
|
+
- [`brand_id`](https://apidocs.chargebee.com/docs/api/hosted_pages/accept-a-quote#brand_id) has been added as request body parameter to [`accept_a_quote`](https://apidocs.chargebee.com/docs/api/hosted_pages/accept-a-quote) in [`HostedPage`](https://apidocs.chargebee.com/docs/api/hosted_pages).
|
|
80
|
+
- [`brand_id`](https://apidocs.chargebee.com/docs/api/hosted_pages/create-checkout-for-a-new-subscription#brand_id) has been added as request body parameter to [`create_checkout_for_a_new_subscription`](https://apidocs.chargebee.com/docs/api/hosted_pages/create-checkout-for-a-new-subscription) in [`HostedPage`](https://apidocs.chargebee.com/docs/api/hosted_pages).
|
|
81
|
+
- [`brand_id`](https://apidocs.chargebee.com/docs/api/hosted_pages/claim-a-gift-subscription#brand_id) has been added as request body parameter to [`claim_a_gift_subscription`](https://apidocs.chargebee.com/docs/api/hosted_pages/claim-a-gift-subscription) in [`HostedPage`](https://apidocs.chargebee.com/docs/api/hosted_pages).
|
|
82
|
+
- [`brand_id`](https://apidocs.chargebee.com/docs/api/hosted_pages/create-checkout-to-update-a-subscription#brand_id) has been added as request body parameter to [`create_checkout_to_update_a_subscription`](https://apidocs.chargebee.com/docs/api/hosted_pages/create-checkout-to-update-a-subscription) in [`HostedPage`](https://apidocs.chargebee.com/docs/api/hosted_pages).
|
|
83
|
+
- [`brand_id`](https://apidocs.chargebee.com/docs/api/hosted_pages/create-a-pre-cancel-hosted-page#brand_id) has been added as request body parameter to [`create_a_pre-cancel_hosted_page`](https://apidocs.chargebee.com/docs/api/hosted_pages/create-a-pre-cancel-hosted-page) in [`HostedPage`](https://apidocs.chargebee.com/docs/api/hosted_pages).
|
|
84
|
+
- [`brand_id`](https://apidocs.chargebee.com/docs/api/hosted_pages/manage-payment-sources#brand_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).
|
|
85
|
+
- [`line_items.is_partial_tax_applied`](https://apidocs.chargebee.com/docs/api/invoices/import-invoice#line_items_is_partial_tax_applied) has been added as request body parameter to [`import_invoice`](https://apidocs.chargebee.com/docs/api/invoices/import-invoice) in [`Invoice`](https://apidocs.chargebee.com/docs/api/invoices).
|
|
86
|
+
- [`line_items.taxable_amount`](https://apidocs.chargebee.com/docs/api/invoices/import-invoice#line_items_taxable_amount) has been added as request body parameter to [`import_invoice`](https://apidocs.chargebee.com/docs/api/invoices/import-invoice) in [`Invoice`](https://apidocs.chargebee.com/docs/api/invoices).
|
|
87
|
+
- [`id`](https://apidocs.chargebee.com/docs/api/ledger_operations/allocate#id) has been added as request body parameter to [`allocate`](https://apidocs.chargebee.com/docs/api/ledger_operations/allocate) in [`LedgerOperation`](https://apidocs.chargebee.com/docs/api/ledger_operations).
|
|
88
|
+
- [`effective_from`](https://apidocs.chargebee.com/docs/api/ledger_operations/allocate#effective_from) has been added as request body parameter to [`allocate`](https://apidocs.chargebee.com/docs/api/ledger_operations/allocate) in [`LedgerOperation`](https://apidocs.chargebee.com/docs/api/ledger_operations).
|
|
89
|
+
- [`brand_id`](https://apidocs.chargebee.com/docs/api/payment_intents/create-a-payment-intent#brand_id) has been added as request body parameter to [`create_a_payment_intent`](https://apidocs.chargebee.com/docs/api/payment_intents/create-a-payment-intent) in [`PaymentIntent`](https://apidocs.chargebee.com/docs/api/payment_intents).
|
|
90
|
+
- [`brand_id`](https://apidocs.chargebee.com/docs/api/payment_sources/create-using-permanent-token#brand_id) has been added as request body parameter to [`create_using_permanent_token`](https://apidocs.chargebee.com/docs/api/payment_sources/create-using-permanent-token) in [`PaymentSource`](https://apidocs.chargebee.com/docs/api/payment_sources).
|
|
91
|
+
- [`brand_id`](https://apidocs.chargebee.com/docs/api/payment_sources/create-a-card-payment-source#brand_id) has been added as request body parameter to [`create_a_card_payment_source`](https://apidocs.chargebee.com/docs/api/payment_sources/create-a-card-payment-source) in [`PaymentSource`](https://apidocs.chargebee.com/docs/api/payment_sources).
|
|
92
|
+
- [`brand_id`](https://apidocs.chargebee.com/docs/api/payment_sources/create-using-payment-intent#brand_id) has been added as request body parameter to [`create_using_payment_intent`](https://apidocs.chargebee.com/docs/api/payment_sources/create-using-payment-intent) in [`PaymentSource`](https://apidocs.chargebee.com/docs/api/payment_sources).
|
|
93
|
+
- [`brand_id`](https://apidocs.chargebee.com/docs/api/payment_sources/create-a-voucher-payment-method#brand_id) has been added as request body parameter to [`create_a_voucher_payment_method`](https://apidocs.chargebee.com/docs/api/payment_sources/create-a-voucher-payment-method) in [`PaymentSource`](https://apidocs.chargebee.com/docs/api/payment_sources).
|
|
94
|
+
- [`brand_id`](https://apidocs.chargebee.com/docs/api/payment_sources/create-using-gateway-temporary-token#brand_id) has been added as request body parameter to [`create_using_gateway_temporary_token`](https://apidocs.chargebee.com/docs/api/payment_sources/create-using-gateway-temporary-token) in [`PaymentSource`](https://apidocs.chargebee.com/docs/api/payment_sources).
|
|
95
|
+
- [`network_transaction_reference`](https://apidocs.chargebee.com/docs/api/payment_sources/update-a-card-payment-source#network_transaction_reference) has been added as request body parameter to [`update_a_card_payment_source`](https://apidocs.chargebee.com/docs/api/payment_sources/update-a-card-payment-source) in [`PaymentSource`](https://apidocs.chargebee.com/docs/api/payment_sources).
|
|
96
|
+
- [`brand_id`](https://apidocs.chargebee.com/docs/api/payment_sources/create-using-chargebee-token#brand_id) has been added as request body parameter to [`create_using_chargebee_token`](https://apidocs.chargebee.com/docs/api/payment_sources/create-using-chargebee-token) in [`PaymentSource`](https://apidocs.chargebee.com/docs/api/payment_sources).
|
|
97
|
+
- [`brand_id`](https://apidocs.chargebee.com/docs/api/payment_sources/create-a-bank-account-payment-source#brand_id) has been added as request body parameter to [`create_a_bank_account_payment_source`](https://apidocs.chargebee.com/docs/api/payment_sources/create-a-bank-account-payment-source) in [`PaymentSource`](https://apidocs.chargebee.com/docs/api/payment_sources).
|
|
98
|
+
- [`brand_id`](https://apidocs.chargebee.com/docs/api/pricing_page_sessions/create-pricing-page-for-new-subscription#brand_id) has been added as request body parameter to [`create_pricing_page_for_new_subscription`](https://apidocs.chargebee.com/docs/api/pricing_page_sessions/create-pricing-page-for-new-subscription) in [`PricingPageSession`](https://apidocs.chargebee.com/docs/api/pricing_page_sessions).
|
|
99
|
+
- [`id`](https://apidocs.chargebee.com/docs/api/promotional_grants/create-promotional-grant#id) has been added as request body parameter to [`create_promotional_grant`](https://apidocs.chargebee.com/docs/api/promotional_grants/create-promotional-grant) in [`PromotionalGrant`](https://apidocs.chargebee.com/docs/api/promotional_grants).
|
|
100
|
+
- [`effective_from`](https://apidocs.chargebee.com/docs/api/promotional_grants/create-promotional-grant#effective_from) has been added as request body parameter to [`create_promotional_grant`](https://apidocs.chargebee.com/docs/api/promotional_grants/create-promotional-grant) in [`PromotionalGrant`](https://apidocs.chargebee.com/docs/api/promotional_grants).
|
|
101
|
+
- [`billing_configuration`](https://apidocs.chargebee.com/docs/api/ramps/create-a-ramp#billing_configuration) has been added as request body parameter to [`create_a_ramp`](https://apidocs.chargebee.com/docs/api/ramps/create-a-ramp) in [`Ramp`](https://apidocs.chargebee.com/docs/api/ramps).
|
|
102
|
+
- [`billing_configuration`](https://apidocs.chargebee.com/docs/api/ramps/update-a-subscription-ramp#billing_configuration) has been added as request body parameter to [`update_a_subscription_ramp`](https://apidocs.chargebee.com/docs/api/ramps/update-a-subscription-ramp) in [`Ramp`](https://apidocs.chargebee.com/docs/api/ramps).
|
|
103
|
+
- [`subscription_items.description`](https://apidocs.chargebee.com/docs/api/subscriptions/update-subscription-for-items#subscription_items_description) has been added as request body parameter to [`update_subscription_for_items`](https://apidocs.chargebee.com/docs/api/subscriptions/update-subscription-for-items) in [`Subscription`](https://apidocs.chargebee.com/docs/api/subscriptions).
|
|
104
|
+
- [`brand_id`](https://apidocs.chargebee.com/docs/api/subscriptions/create-a-subscription#brand_id) has been added as request body parameter to [`create_a_subscription`](https://apidocs.chargebee.com/docs/api/subscriptions/create-a-subscription) in [`Subscription`](https://apidocs.chargebee.com/docs/api/subscriptions).
|
|
105
|
+
- [`brand_id`](https://apidocs.chargebee.com/docs/api/subscriptions/create-subscription-for-customer#brand_id) has been added as request body parameter to [`create_subscription_for_customer`](https://apidocs.chargebee.com/docs/api/subscriptions/create-subscription-for-customer) in [`Subscription`](https://apidocs.chargebee.com/docs/api/subscriptions).
|
|
106
|
+
- [`subscription_items.description`](https://apidocs.chargebee.com/docs/api/subscriptions/import-subscription-for-items#subscription_items_description) has been added as request body parameter to [`import_subscription_for_items`](https://apidocs.chargebee.com/docs/api/subscriptions/import-subscription-for-items) in [`Subscription`](https://apidocs.chargebee.com/docs/api/subscriptions).
|
|
107
|
+
- [`subscription_items.description`](https://apidocs.chargebee.com/docs/api/subscriptions/create-subscription-for-items#subscription_items_description) has been added as request body parameter to [`create_subscription_for_items`](https://apidocs.chargebee.com/docs/api/subscriptions/create-subscription-for-items) in [`Subscription`](https://apidocs.chargebee.com/docs/api/subscriptions).
|
|
108
|
+
- [`brand_id`](https://apidocs.chargebee.com/docs/api/subscriptions/create-subscription-for-items#brand_id) has been added as request body parameter to [`create_subscription_for_items`](https://apidocs.chargebee.com/docs/api/subscriptions/create-subscription-for-items) in [`Subscription`](https://apidocs.chargebee.com/docs/api/subscriptions).
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
### New Events:
|
|
112
|
+
- [`business_rule_deleted`](https://apidocs.chargebee.com/docs/api/events/webhook/business_rule_deleted) has been added.
|
|
113
|
+
- [`business_rules_applied`](https://apidocs.chargebee.com/docs/api/events/webhook/business_rules_applied) has been added.
|
|
114
|
+
- [`business_ruleset_updated`](https://apidocs.chargebee.com/docs/api/events/webhook/business_ruleset_updated) has been added.
|
|
115
|
+
- [`business_rule_created`](https://apidocs.chargebee.com/docs/api/events/webhook/business_rule_created) has been added.
|
|
116
|
+
- [`einvoice_created`](https://apidocs.chargebee.com/docs/api/events/webhook/einvoice_created) has been added.
|
|
117
|
+
- [`business_ruleset_deactivated`](https://apidocs.chargebee.com/docs/api/events/webhook/business_ruleset_deactivated) has been added.
|
|
118
|
+
- [`business_ruleset_deleted`](https://apidocs.chargebee.com/docs/api/events/webhook/business_ruleset_deleted) has been added.
|
|
119
|
+
- [`business_ruleset_created`](https://apidocs.chargebee.com/docs/api/events/webhook/business_ruleset_created) has been added.
|
|
120
|
+
- [`business_ruleset_activated`](https://apidocs.chargebee.com/docs/api/events/webhook/business_ruleset_activated) has been added.
|
|
121
|
+
- [`business_rule_deactivated`](https://apidocs.chargebee.com/docs/api/events/webhook/business_rule_deactivated) has been added.
|
|
122
|
+
- [`einvoice_updated`](https://apidocs.chargebee.com/docs/api/events/webhook/einvoice_updated) has been added.
|
|
123
|
+
- [`business_rule_released`](https://apidocs.chargebee.com/docs/api/events/webhook/business_rule_released) has been added.
|
|
124
|
+
- [`business_rule_activated`](https://apidocs.chargebee.com/docs/api/events/webhook/business_rule_activated) has been added.
|
|
125
|
+
- [`business_rule_updated`](https://apidocs.chargebee.com/docs/api/events/webhook/business_rule_updated) has been added.
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
### New Enums:
|
|
129
|
+
- `business_ruleset` and `price_ramp` have been added as new values enum `EntityType`.
|
|
130
|
+
- `einvoice_created`, `einvoice_updated`, `business_rule_created`, `business_rule_updated`, `business_rule_activated`, `business_rule_deactivated`, `business_rule_deleted`, `business_rule_released`, `business_rules_applied`, `business_ruleset_created`, `business_ruleset_updated`, `business_ruleset_activated`, `business_ruleset_deactivated`, and `business_ruleset_deleted` have been added as new values enum `EventType`.
|
|
131
|
+
- `payu` has been added as a new value enum `Gateway`.
|
|
132
|
+
- `payu` has been added as a new value enum `GatewayName`.
|
|
133
|
+
- `blik`, `fpx`, `wero`, `p24`, `ovo`, `momo`, `mercado_pago`, `nequi`, `nupay`, `picpay`, `thai_qr`, `affirm_pay`, and `rakuten_pay` have been added as new values enum `PaymentMethod`.
|
|
134
|
+
- `ovo`, `momo`, `mercado_pago`, `nequi`, `nupay`, `picpay`, `thai_qr`, `blik`, `fpx`, `wero`, `p24`, `affirm_pay`, and `rakuten_pay` have been added as new values enum `PaymentMethodType`.
|
|
135
|
+
- `rescheduled`, `succeeded`, `failed`, `deferred`, `delivered`, `opened`, `bounced`, and `dropped` have been added as new values enum `Status`.
|
|
136
|
+
- `zero_rated` has been added as a new value enum `Taxability`.
|
|
137
|
+
- `ovo`, `momo`, `mercado_pago`, `nequi`, `nupay`, `picpay`, `thai_qr`, `blik`, `fpx`, `wero`, `p24`, `affirm_pay`, and `rakuten_pay` have been added as new values enum `Type`.
|
|
138
|
+
- `cpq_quote` has been added as a new value to enum attribute [`entity_type`](https://apidocs.chargebee.com/docs/api/applied_business_rules/applied-business-rule-object#entity_type) in [`AppliedBusinessRule`](https://apidocs.chargebee.com/docs/api/applied_business_rules).
|
|
139
|
+
- `stop_on_first_true`, `stop_on_first_false`, `execute_all`, and `execute_all_true` have been added as new values to enum attribute [`execute_mode`](https://apidocs.chargebee.com/docs/api/business_rulesets/business-ruleset-object#execute_mode) in [`BusinessRuleset`](https://apidocs.chargebee.com/docs/api/business_rulesets).
|
|
140
|
+
- `active` and `archived` have been added as new values to enum attribute [`status`](https://apidocs.chargebee.com/docs/api/custom_data_schemas/custom-data-schema-object#status) in [`CustomDataSchema`](https://apidocs.chargebee.com/docs/api/custom_data_schemas).
|
|
141
|
+
- `initiated`, `funds_withdrawn`, `in_review`, `cancelled`, `lost`, and `won` have been added as new values to enum attribute [`status`](https://apidocs.chargebee.com/docs/api/disputes/dispute-object#status) in [`Dispute`](https://apidocs.chargebee.com/docs/api/disputes).
|
|
142
|
+
- `chargeback` and `inquiry` have been added as new values to enum attribute [`type`](https://apidocs.chargebee.com/docs/api/disputes/dispute-object#type) in [`Dispute`](https://apidocs.chargebee.com/docs/api/disputes).
|
|
143
|
+
- `invoice` and `credit_note` have been added as new values to enum attribute [`entity_type`](https://apidocs.chargebee.com/docs/api/einvoices/einvoice-object#entity_type) in [`Einvoice`](https://apidocs.chargebee.com/docs/api/einvoices).
|
|
144
|
+
- `overdraft_settlement` has been added as a new value to enum attribute [`type`](https://apidocs.chargebee.com/docs/api/ledger_operations/ledger-operation-object#type) in [`LedgerOperation`](https://apidocs.chargebee.com/docs/api/ledger_operations).
|
|
145
|
+
- `subscription_not_found_in_source` has been added as a new value to enum attribute [`expiration_reason`](https://apidocs.chargebee.com/docs/api/omnichannel_subscription_items/omnichannel-subscription-item-object#expiration_reason) in [`OmnichannelSubscriptionItem`](https://apidocs.chargebee.com/docs/api/omnichannel_subscription_items).
|
|
146
|
+
- `ovo`, `momo`, `mercado_pago`, `nequi`, `nupay`, `picpay`, `thai_qr`, `blik`, `fpx`, `wero`, `p24`, `affirm_pay`, and `rakuten_pay` have been added as new values 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).
|
|
147
|
+
- `ovo`, `momo`, `mercado_pago`, `nequi`, `nupay`, `picpay`, `thai_qr`, `blik`, `fpx`, `wero`, `p24`, `affirm_pay`, and `rakuten_pay` have been added as new values 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).
|
|
148
|
+
- `true` and `false` have been added as new values to enum query parameter `draft.is` in [`list_business_rules`](https://apidocs.chargebee.com/docs/api/business_rules/list-business-rules) of [`BusinessRule`](https://apidocs.chargebee.com/docs/api/business_rules).
|
|
149
|
+
- `true` and `false` have been added as new values to enum query parameter `active.is` in [`list_business_rules`](https://apidocs.chargebee.com/docs/api/business_rules/list-business-rules) of [`BusinessRule`](https://apidocs.chargebee.com/docs/api/business_rules).
|
|
150
|
+
- `stop_on_first_true`, `stop_on_first_false`, `execute_all`, and `execute_all_true` have been added as new values to enum request body parameter `execute_mode` in [`update_a_business_ruleset`](https://apidocs.chargebee.com/docs/api/business_rulesets/update-a-business-ruleset) of [`BusinessRuleset`](https://apidocs.chargebee.com/docs/api/business_rulesets).
|
|
151
|
+
- `true` and `false` have been added as new values to enum query parameter `active.is` in [`list_rules_in_a_business_ruleset`](https://apidocs.chargebee.com/docs/api/business_rulesets/list-rules-in-a-business-ruleset) of [`BusinessRuleset`](https://apidocs.chargebee.com/docs/api/business_rulesets).
|
|
152
|
+
- `true` and `false` have been added as new values to enum query parameter `active.is` in [`list_business_rulesets`](https://apidocs.chargebee.com/docs/api/business_rulesets/list-business-rulesets) of [`BusinessRuleset`](https://apidocs.chargebee.com/docs/api/business_rulesets).
|
|
153
|
+
- `stop_on_first_true`, `stop_on_first_false`, `execute_all`, and `execute_all_true` have been added as new values to enum request body parameter `execute_mode` in [`create_a_business_ruleset`](https://apidocs.chargebee.com/docs/api/business_rulesets/create-a-business-ruleset) of [`BusinessRuleset`](https://apidocs.chargebee.com/docs/api/business_rulesets).
|
|
154
|
+
- `dankort` has been added as a new value to enum request body parameter `preferred_scheme` in [`update_card_for_a_customer`](https://apidocs.chargebee.com/docs/api/cards/update-card-for-a-customer) of [`Card`](https://apidocs.chargebee.com/docs/api/cards).
|
|
155
|
+
- `dankort` has been added as a new value to enum request body parameter `card.preferred_scheme` in [`create_a_customer`](https://apidocs.chargebee.com/docs/api/customers/create-a-customer) of [`Customer`](https://apidocs.chargebee.com/docs/api/customers).
|
|
156
|
+
- `dankort` has been added as a new value to enum request body parameter `card.preferred_scheme` in [`collect_payment_for_customer`](https://apidocs.chargebee.com/docs/api/customers/collect-payment-for-customer) of [`Customer`](https://apidocs.chargebee.com/docs/api/customers).
|
|
157
|
+
- `initiated`, `in_review`, `lost`, `funds_withdrawn`, `won`, and `cancelled` have been added as new values to enum query parameter `status.is` in [`list_disputes`](https://apidocs.chargebee.com/docs/api/disputes/list-disputes) of [`Dispute`](https://apidocs.chargebee.com/docs/api/disputes).
|
|
158
|
+
- `initiated`, `in_review`, `lost`, `funds_withdrawn`, `won`, and `cancelled` have been added as new values to enum query parameter `status.is_not` in [`list_disputes`](https://apidocs.chargebee.com/docs/api/disputes/list-disputes) of [`Dispute`](https://apidocs.chargebee.com/docs/api/disputes).
|
|
159
|
+
- `initiated`, `in_review`, `lost`, `funds_withdrawn`, `won`, and `cancelled` have been added as new values to enum query parameter `status.in` in [`list_disputes`](https://apidocs.chargebee.com/docs/api/disputes/list-disputes) of [`Dispute`](https://apidocs.chargebee.com/docs/api/disputes).
|
|
160
|
+
- `initiated`, `in_review`, `lost`, `funds_withdrawn`, `won`, and `cancelled` have been added as new values to enum query parameter `status.not_in` in [`list_disputes`](https://apidocs.chargebee.com/docs/api/disputes/list-disputes) of [`Dispute`](https://apidocs.chargebee.com/docs/api/disputes).
|
|
161
|
+
- `inquiry` and `chargeback` have been added as new values to enum query parameter `type.is` in [`list_disputes`](https://apidocs.chargebee.com/docs/api/disputes/list-disputes) of [`Dispute`](https://apidocs.chargebee.com/docs/api/disputes).
|
|
162
|
+
- `inquiry` and `chargeback` have been added as new values to enum query parameter `type.is_not` in [`list_disputes`](https://apidocs.chargebee.com/docs/api/disputes/list-disputes) of [`Dispute`](https://apidocs.chargebee.com/docs/api/disputes).
|
|
163
|
+
- `inquiry` and `chargeback` have been added as new values to enum query parameter `type.in` in [`list_disputes`](https://apidocs.chargebee.com/docs/api/disputes/list-disputes) of [`Dispute`](https://apidocs.chargebee.com/docs/api/disputes).
|
|
164
|
+
- `inquiry` and `chargeback` have been added as new values to enum query parameter `type.not_in` in [`list_disputes`](https://apidocs.chargebee.com/docs/api/disputes/list-disputes) of [`Dispute`](https://apidocs.chargebee.com/docs/api/disputes).
|
|
165
|
+
- `updated_at` has been added as a new value to enum query parameter `sort_by.asc` in [`list_e-invoices`](https://apidocs.chargebee.com/docs/api/einvoices/list-e-invoices) of [`Einvoice`](https://apidocs.chargebee.com/docs/api/einvoices).
|
|
166
|
+
- `updated_at` has been added as a new value to enum query parameter `sort_by.desc` in [`list_e-invoices`](https://apidocs.chargebee.com/docs/api/einvoices/list-e-invoices) of [`Einvoice`](https://apidocs.chargebee.com/docs/api/einvoices).
|
|
167
|
+
- `dankort` has been added as a new value to enum request body parameter `card.preferred_scheme` in [`create_an_invoice`](https://apidocs.chargebee.com/docs/api/invoices/create-an-invoice) of [`Invoice`](https://apidocs.chargebee.com/docs/api/invoices).
|
|
168
|
+
- `dankort` has been added as a new value to enum request body parameter `card.preferred_scheme` in [`create_invoice_for_items_and_one-time_charges`](https://apidocs.chargebee.com/docs/api/invoices/create-invoice-for-items-and-one-time-charges) of [`Invoice`](https://apidocs.chargebee.com/docs/api/invoices).
|
|
169
|
+
- `overdraft_settlement` has been added as a new value to enum query parameter `type.is` in [`list_ledger_operations`](https://apidocs.chargebee.com/docs/api/ledger_operations/list-ledger-operations) of [`LedgerOperation`](https://apidocs.chargebee.com/docs/api/ledger_operations).
|
|
170
|
+
- `overdraft_settlement` has been added as a new value to enum query parameter `type.in` in [`list_ledger_operations`](https://apidocs.chargebee.com/docs/api/ledger_operations/list-ledger-operations) of [`LedgerOperation`](https://apidocs.chargebee.com/docs/api/ledger_operations).
|
|
171
|
+
- `ovo`, `momo`, `mercado_pago`, `nequi`, `nupay`, `picpay`, `thai_qr`, `blik`, `fpx`, `wero`, `p24`, `affirm_pay`, and `rakuten_pay` have been added as new values 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).
|
|
172
|
+
- `ovo`, `momo`, `mercado_pago`, `nequi`, `nupay`, `picpay`, `thai_qr`, `blik`, `fpx`, `wero`, `p24`, `affirm_pay`, and `rakuten_pay` have been added as new values 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).
|
|
173
|
+
- `dankort` has been added as a new value to enum request body parameter `card.preferred_scheme` in [`create_a_card_payment_source`](https://apidocs.chargebee.com/docs/api/payment_sources/create-a-card-payment-source) of [`PaymentSource`](https://apidocs.chargebee.com/docs/api/payment_sources).
|
|
174
|
+
- `dankort` has been added as a new value to enum request body parameter `card.preferred_scheme` in [`update_subscription_for_items`](https://apidocs.chargebee.com/docs/api/subscriptions/update-subscription-for-items) of [`Subscription`](https://apidocs.chargebee.com/docs/api/subscriptions).
|
|
175
|
+
- `dankort` has been added as a new value to enum request body parameter `card.preferred_scheme` in [`create_a_subscription`](https://apidocs.chargebee.com/docs/api/subscriptions/create-a-subscription) of [`Subscription`](https://apidocs.chargebee.com/docs/api/subscriptions).
|
|
176
|
+
- `dankort` has been added as a new value to enum request body parameter `card.preferred_scheme` in [`update_a_subscription`](https://apidocs.chargebee.com/docs/api/subscriptions/update-a-subscription) of [`Subscription`](https://apidocs.chargebee.com/docs/api/subscriptions).
|
|
177
|
+
- `dankort` has been added as a new value to enum request body parameter `card.preferred_scheme` in [`import_a_subscription`](https://apidocs.chargebee.com/docs/api/subscriptions/import-a-subscription) of [`Subscription`](https://apidocs.chargebee.com/docs/api/subscriptions).
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
### Deprecated Attributes:
|
|
181
|
+
- [`granted_amount`](https://apidocs.chargebee.com/docs/api/grant_blocks/grant-block-object#granted_amount) has been deprecated in [`GrantBlock`](https://apidocs.chargebee.com/docs/api/grant_blocks).
|
|
182
|
+
- [`balance`](https://apidocs.chargebee.com/docs/api/grant_blocks/grant-block-object#balance) has been deprecated in [`GrantBlock`](https://apidocs.chargebee.com/docs/api/grant_blocks).
|
|
183
|
+
- [`hold_amount`](https://apidocs.chargebee.com/docs/api/grant_blocks/grant-block-object#hold_amount) has been deprecated in [`GrantBlock`](https://apidocs.chargebee.com/docs/api/grant_blocks).
|
|
184
|
+
- [`used_amount`](https://apidocs.chargebee.com/docs/api/grant_blocks/grant-block-object#used_amount) has been deprecated in [`GrantBlock`](https://apidocs.chargebee.com/docs/api/grant_blocks).
|
|
185
|
+
- [`expired_amount`](https://apidocs.chargebee.com/docs/api/grant_blocks/grant-block-object#expired_amount) has been deprecated in [`GrantBlock`](https://apidocs.chargebee.com/docs/api/grant_blocks).
|
|
186
|
+
- [`rolled_over_amount`](https://apidocs.chargebee.com/docs/api/grant_blocks/grant-block-object#rolled_over_amount) has been deprecated in [`GrantBlock`](https://apidocs.chargebee.com/docs/api/grant_blocks).
|
|
187
|
+
- [`voided_amount`](https://apidocs.chargebee.com/docs/api/grant_blocks/grant-block-object#voided_amount) has been deprecated in [`GrantBlock`](https://apidocs.chargebee.com/docs/api/grant_blocks).
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
|
|
1
191
|
### v2.79.0 (2026-08-19)
|
|
2
192
|
* * *
|
|
3
193
|
### New Resources:
|
data/Gemfile.lock
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.
|
|
1
|
+
2.80.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-
|
|
7
|
+
s.version = '2.80.0'
|
|
8
|
+
s.date = '2026-09-24'
|
|
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 = {
|
|
@@ -47,6 +47,9 @@ Gem::Specification.new do |s|
|
|
|
47
47
|
lib/chargebee/models/advance_invoice_schedule.rb
|
|
48
48
|
lib/chargebee/models/alert.rb
|
|
49
49
|
lib/chargebee/models/alert_status.rb
|
|
50
|
+
lib/chargebee/models/applied_business_rule.rb
|
|
51
|
+
lib/chargebee/models/applied_rule.rb
|
|
52
|
+
lib/chargebee/models/apply_rule.rb
|
|
50
53
|
lib/chargebee/models/async_response.rb
|
|
51
54
|
lib/chargebee/models/async_response_list.rb
|
|
52
55
|
lib/chargebee/models/attached_item.rb
|
|
@@ -55,6 +58,9 @@ Gem::Specification.new do |s|
|
|
|
55
58
|
lib/chargebee/models/brand.rb
|
|
56
59
|
lib/chargebee/models/business_entity.rb
|
|
57
60
|
lib/chargebee/models/business_entity_transfer.rb
|
|
61
|
+
lib/chargebee/models/business_rule.rb
|
|
62
|
+
lib/chargebee/models/business_ruleset.rb
|
|
63
|
+
lib/chargebee/models/business_ruleset_rule.rb
|
|
58
64
|
lib/chargebee/models/card.rb
|
|
59
65
|
lib/chargebee/models/column_definition.rb
|
|
60
66
|
lib/chargebee/models/comment.rb
|
|
@@ -70,12 +76,15 @@ Gem::Specification.new do |s|
|
|
|
70
76
|
lib/chargebee/models/credit_unit.rb
|
|
71
77
|
lib/chargebee/models/csv_tax_rule.rb
|
|
72
78
|
lib/chargebee/models/currency.rb
|
|
79
|
+
lib/chargebee/models/custom_data_schema.rb
|
|
73
80
|
lib/chargebee/models/customer.rb
|
|
74
81
|
lib/chargebee/models/customer_entitlement.rb
|
|
75
82
|
lib/chargebee/models/differential_price.rb
|
|
76
83
|
lib/chargebee/models/discount.rb
|
|
84
|
+
lib/chargebee/models/dispute.rb
|
|
77
85
|
lib/chargebee/models/download.rb
|
|
78
86
|
lib/chargebee/models/einvoice.rb
|
|
87
|
+
lib/chargebee/models/email_log.rb
|
|
79
88
|
lib/chargebee/models/entitlement.rb
|
|
80
89
|
lib/chargebee/models/entitlement_override.rb
|
|
81
90
|
lib/chargebee/models/estimate.rb
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
module ChargeBee
|
|
2
|
+
class ApplyRule < Model
|
|
3
|
+
|
|
4
|
+
class Rule < Model
|
|
5
|
+
attr_accessor :id, :version, :name, :description, :evaluation_result, :error_message, :actions
|
|
6
|
+
end
|
|
7
|
+
|
|
8
|
+
attr_accessor :evaluate, :rule_id, :ruleset_id, :skip_failed_rules, :structured_expression,
|
|
9
|
+
:context, :rules
|
|
10
|
+
|
|
11
|
+
# OPERATIONS
|
|
12
|
+
#-----------
|
|
13
|
+
|
|
14
|
+
end # ~ApplyRule
|
|
15
|
+
end # ~ChargeBee
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
module ChargeBee
|
|
2
|
+
class BusinessRule < Model
|
|
3
|
+
|
|
4
|
+
attr_accessor :id, :name, :description, :latest_version, :active, :released_at, :released_by,
|
|
5
|
+
:updated_at, :updated_by, :created_by, :created_at, :tags, :structured_expression, :actions_on_success,
|
|
6
|
+
:resource_version
|
|
7
|
+
|
|
8
|
+
# OPERATIONS
|
|
9
|
+
#-----------
|
|
10
|
+
|
|
11
|
+
def self.create(params, env=nil, headers={})
|
|
12
|
+
jsonKeys = {
|
|
13
|
+
:tags => 0,
|
|
14
|
+
:structured_expression => 0,
|
|
15
|
+
:actions_on_success => 0,
|
|
16
|
+
}
|
|
17
|
+
options = {
|
|
18
|
+
:isIdempotent => true
|
|
19
|
+
}
|
|
20
|
+
Request.send('post', uri_path("business_rules"), params, env, headers,nil, false, jsonKeys, options, "businessRule", "create")
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
def self.delete(id, env=nil, headers={})
|
|
24
|
+
jsonKeys = {
|
|
25
|
+
}
|
|
26
|
+
options = {
|
|
27
|
+
:isIdempotent => true
|
|
28
|
+
}
|
|
29
|
+
Request.send('post', uri_path("business_rules",id.to_s,"delete"), {}, env, headers,nil, false, jsonKeys, options, "businessRule", "delete")
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
def self.update_draft(id, params, env=nil, headers={})
|
|
33
|
+
jsonKeys = {
|
|
34
|
+
:tags => 0,
|
|
35
|
+
:structured_expression => 0,
|
|
36
|
+
:actions_on_success => 0,
|
|
37
|
+
}
|
|
38
|
+
options = {
|
|
39
|
+
:isIdempotent => true
|
|
40
|
+
}
|
|
41
|
+
Request.send('post', uri_path("business_rules",id.to_s,"draft"), params, env, headers,nil, false, jsonKeys, options, "businessRule", "updateDraft")
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
def self.list(params={}, env=nil, headers={})
|
|
45
|
+
jsonKeys = {
|
|
46
|
+
}
|
|
47
|
+
options = {}
|
|
48
|
+
Request.send_list_request('get', uri_path("business_rules"), params, env, headers,nil, false, jsonKeys, options, "businessRule", "list")
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
def self.retrieve(id, env=nil, headers={})
|
|
52
|
+
jsonKeys = {
|
|
53
|
+
}
|
|
54
|
+
options = {}
|
|
55
|
+
Request.send('get', uri_path("business_rules",id.to_s), {}, env, headers,nil, false, jsonKeys, options, "businessRule", "retrieve")
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
def self.retrieve_draft(id, env=nil, headers={})
|
|
59
|
+
jsonKeys = {
|
|
60
|
+
}
|
|
61
|
+
options = {}
|
|
62
|
+
Request.send('get', uri_path("business_rules",id.to_s,"draft"), {}, env, headers,nil, false, jsonKeys, options, "businessRule", "retrieveDraft")
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
def self.delete_draft(id, env=nil, headers={})
|
|
66
|
+
jsonKeys = {
|
|
67
|
+
}
|
|
68
|
+
options = {
|
|
69
|
+
:isIdempotent => true
|
|
70
|
+
}
|
|
71
|
+
Request.send('post', uri_path("business_rules",id.to_s,"delete_draft"), {}, env, headers,nil, false, jsonKeys, options, "businessRule", "deleteDraft")
|
|
72
|
+
end
|
|
73
|
+
|
|
74
|
+
def self.activate_rule(id, env=nil, headers={})
|
|
75
|
+
jsonKeys = {
|
|
76
|
+
}
|
|
77
|
+
options = {
|
|
78
|
+
:isIdempotent => true
|
|
79
|
+
}
|
|
80
|
+
Request.send('post', uri_path("business_rules",id.to_s,"activate"), {}, env, headers,nil, false, jsonKeys, options, "businessRule", "activateRule")
|
|
81
|
+
end
|
|
82
|
+
|
|
83
|
+
def self.deactivate_rule(id, env=nil, headers={})
|
|
84
|
+
jsonKeys = {
|
|
85
|
+
}
|
|
86
|
+
options = {
|
|
87
|
+
:isIdempotent => true
|
|
88
|
+
}
|
|
89
|
+
Request.send('post', uri_path("business_rules",id.to_s,"deactivate"), {}, env, headers,nil, false, jsonKeys, options, "businessRule", "deactivateRule")
|
|
90
|
+
end
|
|
91
|
+
|
|
92
|
+
def self.release_rule(id, env=nil, headers={})
|
|
93
|
+
jsonKeys = {
|
|
94
|
+
}
|
|
95
|
+
options = {
|
|
96
|
+
:isIdempotent => true
|
|
97
|
+
}
|
|
98
|
+
Request.send('post', uri_path("business_rules",id.to_s,"release"), {}, env, headers,nil, false, jsonKeys, options, "businessRule", "releaseRule")
|
|
99
|
+
end
|
|
100
|
+
|
|
101
|
+
def self.apply_rules(params={}, env=nil, headers={})
|
|
102
|
+
jsonKeys = {
|
|
103
|
+
:structured_expression => 0,
|
|
104
|
+
:context => 0,
|
|
105
|
+
}
|
|
106
|
+
options = {
|
|
107
|
+
:isIdempotent => true
|
|
108
|
+
}
|
|
109
|
+
Request.send('post', uri_path("business_rules","apply_rules"), params, env, headers,nil, false, jsonKeys, options, "businessRule", "applyRules")
|
|
110
|
+
end
|
|
111
|
+
|
|
112
|
+
end # ~BusinessRule
|
|
113
|
+
end # ~ChargeBee
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
module ChargeBee
|
|
2
|
+
class BusinessRuleset < Model
|
|
3
|
+
|
|
4
|
+
attr_accessor :id, :name, :description, :active, :execute_mode, :updated_at, :updated_by, :created_by,
|
|
5
|
+
:created_at, :rules, :resource_version
|
|
6
|
+
|
|
7
|
+
# OPERATIONS
|
|
8
|
+
#-----------
|
|
9
|
+
|
|
10
|
+
def self.create(params, env=nil, headers={})
|
|
11
|
+
jsonKeys = {
|
|
12
|
+
:rules => 0,
|
|
13
|
+
}
|
|
14
|
+
options = {
|
|
15
|
+
:isIdempotent => true
|
|
16
|
+
}
|
|
17
|
+
Request.send('post', uri_path("business_rulesets"), params, env, headers,nil, false, jsonKeys, options, "businessRuleset", "create")
|
|
18
|
+
end
|
|
19
|
+
|
|
20
|
+
def self.update(id, params, env=nil, headers={})
|
|
21
|
+
jsonKeys = {
|
|
22
|
+
:rules => 0,
|
|
23
|
+
}
|
|
24
|
+
options = {
|
|
25
|
+
:isIdempotent => true
|
|
26
|
+
}
|
|
27
|
+
Request.send('post', uri_path("business_rulesets",id.to_s), params, env, headers,nil, false, jsonKeys, options, "businessRuleset", "update")
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
def self.delete(id, env=nil, headers={})
|
|
31
|
+
jsonKeys = {
|
|
32
|
+
}
|
|
33
|
+
options = {
|
|
34
|
+
:isIdempotent => true
|
|
35
|
+
}
|
|
36
|
+
Request.send('post', uri_path("business_rulesets",id.to_s,"delete"), {}, env, headers,nil, false, jsonKeys, options, "businessRuleset", "delete")
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
def self.activate(id, env=nil, headers={})
|
|
40
|
+
jsonKeys = {
|
|
41
|
+
}
|
|
42
|
+
options = {
|
|
43
|
+
:isIdempotent => true
|
|
44
|
+
}
|
|
45
|
+
Request.send('post', uri_path("business_rulesets",id.to_s,"activate"), {}, env, headers,nil, false, jsonKeys, options, "businessRuleset", "activate")
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
def self.deactivate(id, env=nil, headers={})
|
|
49
|
+
jsonKeys = {
|
|
50
|
+
}
|
|
51
|
+
options = {
|
|
52
|
+
:isIdempotent => true
|
|
53
|
+
}
|
|
54
|
+
Request.send('post', uri_path("business_rulesets",id.to_s,"deactivate"), {}, env, headers,nil, false, jsonKeys, options, "businessRuleset", "deactivate")
|
|
55
|
+
end
|
|
56
|
+
|
|
57
|
+
def self.add_rules(id, params={}, env=nil, headers={})
|
|
58
|
+
jsonKeys = {
|
|
59
|
+
:rules => 0,
|
|
60
|
+
}
|
|
61
|
+
options = {
|
|
62
|
+
:isIdempotent => true
|
|
63
|
+
}
|
|
64
|
+
Request.send('post', uri_path("business_rulesets",id.to_s,"add_rules"), params, env, headers,nil, false, jsonKeys, options, "businessRuleset", "addRules")
|
|
65
|
+
end
|
|
66
|
+
|
|
67
|
+
def self.remove_rules(id, params={}, env=nil, headers={})
|
|
68
|
+
jsonKeys = {
|
|
69
|
+
:rules => 0,
|
|
70
|
+
}
|
|
71
|
+
options = {
|
|
72
|
+
:isIdempotent => true
|
|
73
|
+
}
|
|
74
|
+
Request.send('post', uri_path("business_rulesets",id.to_s,"remove_rules"), params, env, headers,nil, false, jsonKeys, options, "businessRuleset", "removeRules")
|
|
75
|
+
end
|
|
76
|
+
|
|
77
|
+
def self.list_rules(id, params={}, env=nil, headers={})
|
|
78
|
+
jsonKeys = {
|
|
79
|
+
}
|
|
80
|
+
options = {}
|
|
81
|
+
Request.send('get', uri_path("business_rulesets",id.to_s,"rules"), params, env, headers,nil, false, jsonKeys, options, "businessRuleset", "listRules")
|
|
82
|
+
end
|
|
83
|
+
|
|
84
|
+
def self.list(params={}, env=nil, headers={})
|
|
85
|
+
jsonKeys = {
|
|
86
|
+
}
|
|
87
|
+
options = {}
|
|
88
|
+
Request.send_list_request('get', uri_path("business_rulesets"), params, env, headers,nil, false, jsonKeys, options, "businessRuleset", "list")
|
|
89
|
+
end
|
|
90
|
+
|
|
91
|
+
def self.retrieve(id, env=nil, headers={})
|
|
92
|
+
jsonKeys = {
|
|
93
|
+
}
|
|
94
|
+
options = {}
|
|
95
|
+
Request.send('get', uri_path("business_rulesets",id.to_s), {}, env, headers,nil, false, jsonKeys, options, "businessRuleset", "retrieve")
|
|
96
|
+
end
|
|
97
|
+
|
|
98
|
+
end # ~BusinessRuleset
|
|
99
|
+
end # ~ChargeBee
|
|
@@ -68,8 +68,8 @@ module ChargeBee
|
|
|
68
68
|
:local_currency_code, :round_off_amount, :fractional_correction, :notes, :line_items, :line_item_tiers,
|
|
69
69
|
:line_item_discounts, :line_item_taxes, :line_item_addresses, :discounts, :taxes, :tax_origin,
|
|
70
70
|
:linked_refunds, :allocations, :deleted, :tax_category, :local_currency_exchange_rate, :exchange_rates,
|
|
71
|
-
:create_reason_code, :vat_number_prefix, :business_entity_id, :
|
|
72
|
-
:einvoice, :site_details_at_creation
|
|
71
|
+
:create_reason_code, :vat_number_prefix, :business_entity_id, :brand_id, :shipping_address,
|
|
72
|
+
:billing_address, :einvoice, :site_details_at_creation
|
|
73
73
|
|
|
74
74
|
# OPERATIONS
|
|
75
75
|
#-----------
|
|
@@ -133,6 +133,15 @@ module ChargeBee
|
|
|
133
133
|
Request.send('post', uri_path("credit_notes",id.to_s,"void"), params, env, headers,nil, false, jsonKeys, options, "creditNote", "voidCreditNote")
|
|
134
134
|
end
|
|
135
135
|
|
|
136
|
+
def self.send_email(id, env=nil, headers={})
|
|
137
|
+
jsonKeys = {
|
|
138
|
+
}
|
|
139
|
+
options = {
|
|
140
|
+
:isIdempotent => true
|
|
141
|
+
}
|
|
142
|
+
Request.send('post', uri_path("credit_notes",id.to_s,"send_email"), {}, env, headers,nil, false, jsonKeys, options, "creditNote", "sendEmail")
|
|
143
|
+
end
|
|
144
|
+
|
|
136
145
|
def self.list(params={}, env=nil, headers={})
|
|
137
146
|
jsonKeys = {
|
|
138
147
|
}
|