Skip to content

Commit

Permalink
Releasing v2.35.0. Please check the changelog for the updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
cb-thushitamariaselvan committed Jan 31, 2024
1 parent 5cf215b commit a46c3d6
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 19 deletions.
25 changes: 12 additions & 13 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
### v2.35.0 (2024-01-31)
* * *

#### New Enum values:
* item_price_entitlements_updated has been added to EventTypeEnum.
* item_price_entitlements_removed has been added to EventTypeEnum.

#### New Input parameters:
* layout has been added to HostedPage#AcceptQuoteRequest in HostedPage resource.

### v2.34.0 (2024-01-04)
* * *

Expand All @@ -15,7 +25,6 @@
* active_id has been added to customers.
* active_id has been added to subscriptions.
* reference_id has been made optional for payment_sources/create_using_permanent_token
* payment_method_token, customer_profile_token, network_transaction_id, mandate_id, skip_retrieval, card, billing_address has been added to payment_sources.
* custom_payment_method_id has been added to transactions.
* custom_payment_method_name has been added to transactions.
* error_detail has been added to transactions.
Expand All @@ -25,9 +34,6 @@
* CMR_FALABELLA, TARJETA_NARANJA, NATIVA, CENCOSUD, CABAL, ARGENCARD, ELO, HIPERCARD, CARNET, RUPAY, MAESTRO has been added to Card#CardTypeEnum
* Transferred has been added to Subscription#StatusEnum.
* Transferred has been added to SubscriptionEstimate#StatusEnum.
* proration_type has been added to Subscription#UpdateForItemsRequest.
* proration_type has been added to ItemPrice.
* payment_initiator has been added to Invoice.
* AutomatedBankTransfer has been added to PaymentMethodEnum.
* UsAutomatedBankTransfer, GbAutomatedBankTransfer, EuAutomatedBankTransfer, JpAutomatedBankTransfer, MxAutomatedBankTransfer has been added to VirtualBankAccount#SchemeEnum.
* CustomerBusinessEntityChanged, SubscriptionBusinessEntityChanged has been added to EventTypeEnum.
Expand All @@ -39,16 +45,9 @@
#### New Input parameters:
* custom_payment_method_name has been added to Transactions#RecordRefundRequest.
* proration_type has been added to Subscription#UpdateForItemsRequest.
* proration_type has been added to ItemPrice.
* payment_initiator has been added to Invoice.
* payment_method_token, customer_profile_token, network_transaction_id, mandate_id, skip_retrieval, card, billing_address has been added to PaymentSource#CreateUsingPermanentTokenRequest.
* date_to, date_from, prorated_taxable_amount has been added to QuoteLineGroup#LineItemTax.
* date_to, date_from, prorated_taxable_amount has been added to Quote#LineItemTax.
* date_to, date_from, prorated_taxable_amount has been added to CreditNoteEstimate#LineItemTax.
* date_to, date_from, prorated_taxable_amount has been added to CreditNote#LineItemTax.
* date_to, date_from, prorated_taxable_amount has been added to InvoiceEstimate#LineItemTax.
* date_to, date_from, prorated_taxable_amount has been added to Order#LineItemTax.
* date_to, date_from, prorated_taxable_amount has been added to Invoice#LineItemTax.
* active_id has been added to Customer.
* active_id has been added to Subscription.
* subscription_items[proration_type] has been added to Estimate#UpdateSubscriptionForItemsRequest.
* transaction[custom_payment_method_id] has been added to Customer#RecordExcessPaymentRequest.
* transaction[custom_payment_method_id] has been added to CreditNote#RecordRefundRequest.
Expand Down
2 changes: 1 addition & 1 deletion chargebee/models/invoice.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class Tax(Model):
fields = ["name", "amount", "description"]
pass
class LineItemTax(Model):
fields = ["line_item_id", "tax_name", "tax_rate", "is_partial_tax_applied", "is_non_compliance_tax", "taxable_amount", "tax_amount", "tax_juris_type", "tax_juris_name", "tax_juris_code", "tax_amount_in_local_currency", "local_currency_code"]
fields = ["line_item_id", "tax_name", "tax_rate", "date_to", "date_from", "prorated_taxable_amount", "is_partial_tax_applied", "is_non_compliance_tax", "taxable_amount", "tax_amount", "tax_juris_type", "tax_juris_name", "tax_juris_code", "tax_amount_in_local_currency", "local_currency_code"]
pass
class LineItemTier(Model):
fields = ["line_item_id", "starting_unit", "ending_unit", "quantity_used", "unit_amount", "starting_unit_in_decimal", "ending_unit_in_decimal", "quantity_used_in_decimal", "unit_amount_in_decimal"]
Expand Down
2 changes: 1 addition & 1 deletion chargebee/models/invoice_estimate.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class Tax(Model):
fields = ["name", "amount", "description"]
pass
class LineItemTax(Model):
fields = ["line_item_id", "tax_name", "tax_rate", "is_partial_tax_applied", "is_non_compliance_tax", "taxable_amount", "tax_amount", "tax_juris_type", "tax_juris_name", "tax_juris_code", "tax_amount_in_local_currency", "local_currency_code"]
fields = ["line_item_id", "tax_name", "tax_rate", "date_to", "date_from", "prorated_taxable_amount", "is_partial_tax_applied", "is_non_compliance_tax", "taxable_amount", "tax_amount", "tax_juris_type", "tax_juris_name", "tax_juris_code", "tax_amount_in_local_currency", "local_currency_code"]
pass
class LineItemTier(Model):
fields = ["line_item_id", "starting_unit", "ending_unit", "quantity_used", "unit_amount", "starting_unit_in_decimal", "ending_unit_in_decimal", "quantity_used_in_decimal", "unit_amount_in_decimal"]
Expand Down
4 changes: 2 additions & 2 deletions chargebee/models/item_price.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ class AccountingDetail(Model):
pass

fields = ["id", "name", "item_family_id", "product_id", "item_id", "description", "status", \
"external_name", "pricing_model", "price", "price_in_decimal", "period", "currency_code", "period_unit", \
"trial_period", "trial_period_unit", "trial_end_action", "shipping_period", "shipping_period_unit", \
"external_name", "proration_type", "pricing_model", "price", "price_in_decimal", "period", "currency_code", \
"period_unit", "trial_period", "trial_period_unit", "trial_end_action", "shipping_period", "shipping_period_unit", \
"billing_cycles", "free_quantity", "free_quantity_in_decimal", "channel", "resource_version", \
"updated_at", "created_at", "archived_at", "invoice_notes", "tiers", "is_taxable", "tax_detail", \
"accounting_detail", "metadata", "item_type", "archivable", "parent_item_id", "show_description_in_invoices", \
Expand Down
2 changes: 1 addition & 1 deletion chargebee/models/order.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class BillingAddress(Model):
fields = ["first_name", "last_name", "email", "company", "phone", "line1", "line2", "line3", "city", "state_code", "state", "country", "zip", "validation_status"]
pass
class LineItemTax(Model):
fields = ["line_item_id", "tax_name", "tax_rate", "is_partial_tax_applied", "is_non_compliance_tax", "taxable_amount", "tax_amount", "tax_juris_type", "tax_juris_name", "tax_juris_code", "tax_amount_in_local_currency", "local_currency_code"]
fields = ["line_item_id", "tax_name", "tax_rate", "date_to", "date_from", "prorated_taxable_amount", "is_partial_tax_applied", "is_non_compliance_tax", "taxable_amount", "tax_amount", "tax_juris_type", "tax_juris_name", "tax_juris_code", "tax_amount_in_local_currency", "local_currency_code"]
pass
class LineItemDiscount(Model):
fields = ["line_item_id", "discount_type", "coupon_id", "entity_id", "discount_amount"]
Expand Down
2 changes: 1 addition & 1 deletion chargebee/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
VERSION = '2.34.0'
VERSION = '2.35.0'

0 comments on commit a46c3d6

Please sign in to comment.