diff --git a/CHANGELOG.md b/CHANGELOG.md index d221053..002f820 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) * * * @@ -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. @@ -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. @@ -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. diff --git a/chargebee/models/invoice.py b/chargebee/models/invoice.py index 3b13a88..ed807c5 100644 --- a/chargebee/models/invoice.py +++ b/chargebee/models/invoice.py @@ -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"] diff --git a/chargebee/models/invoice_estimate.py b/chargebee/models/invoice_estimate.py index 68b5fc3..b9ffd4f 100644 --- a/chargebee/models/invoice_estimate.py +++ b/chargebee/models/invoice_estimate.py @@ -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"] diff --git a/chargebee/models/item_price.py b/chargebee/models/item_price.py index 95dcc64..9e564c7 100644 --- a/chargebee/models/item_price.py +++ b/chargebee/models/item_price.py @@ -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", \ diff --git a/chargebee/models/order.py b/chargebee/models/order.py index 7384cc1..849ec77 100644 --- a/chargebee/models/order.py +++ b/chargebee/models/order.py @@ -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"] diff --git a/chargebee/version.py b/chargebee/version.py index 19cf08a..93313fb 100644 --- a/chargebee/version.py +++ b/chargebee/version.py @@ -1 +1 @@ -VERSION = '2.34.0' +VERSION = '2.35.0'