diff --git a/CHANGELOG.md b/CHANGELOG.md index 1951b8e..8812d7d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,33 @@ +### v2.29.0 (2023-07-31) +* * * + +#### New Attributes: +* tax_category has been added to the CreditNote, Quote and Invoice resource. +* proration_type has been added in Addon resource. + +#### New Enum values: +* tax has been added to EntityType enum in Invoice resource. +* payment_source_locally_deleted has been added to EventType. + +#### New Input parameters: + +* CouponId and CouponApplyTill has been added to Subscritpion#CreateRequest in Subscritpion resource. +* CouponId and CouponApplyTill has been added to Subscritpion#CreateForCustomerRequest in Subscritpion resource. +* CouponId and CouponApplyTill has been added to Subscritpion#CreateWithItemsRequest in Subscritpion resource. +* CouponId and CouponApplyTill has been added to Subscritpion#UpdateRequest in Subscritpion resource. +* CouponId and CouponApplyTill has been added to Subscritpion#UpdateForItemsRequest in Subscritpion resource. +* CouponId and CouponApplyTill has been added to Subscritpion#ImportSubscriptionRequest in Subscritpion resource. +* CouponId and CouponApplyTill has been added to Subscritpion#ImportForCustomerRequest in Subscritpion resource. +* CouponId and CouponApplyTill has been added to Subscritpion#ImportForItemsRequest in Subscritpion resource. +* cancel_reason_code has been added to Subscritpion#ImportForItemsRequest in Subscritpion resource. +* proration_type has been added in addon#createRequest and addon#UpdateRequest in Addon resource. +* addons[proration_type] has been added in Estimate#UpdateSubscriptionRequest in Estimate resource. +* addons[proration_type] has been added in Subscription#UpdateRequest in Subscritpion resource. + +#### New Enum Class: +* ProrationType enum has been added to addon resource. +* ProrationType enum has been added. + ### v2.28.0 (2023-06-30) * * * diff --git a/README.md b/README.md index 6e1c98c..b3ae729 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Chargebee Python Client Library - API V2 -[![PyPI](https://img.shields.io/pypi/v/chargebee.svg?maxAge=29)](https://pypi.python.org/pypi/chargebee) -[![PyPI](https://img.shields.io/pypi/dm/chargebee.svg?maxAge=29)](https://pypi.python.org/pypi/chargebee) +[![PyPI](https://img.shields.io/pypi/v/chargebee.svg?maxAge=2)](https://pypi.python.org/pypi/chargebee) +[![PyPI](https://img.shields.io/pypi/dm/chargebee.svg?maxAge=2)](https://pypi.python.org/pypi/chargebee) This is the Python Library for integrating with Chargebee. Sign up for a Chargebee account [here](https://www.chargebee.com). diff --git a/chargebee/models/addon.py b/chargebee/models/addon.py index f07fb96..403991a 100644 --- a/chargebee/models/addon.py +++ b/chargebee/models/addon.py @@ -14,8 +14,8 @@ class Tier(Model): "avalara_service_type", "sku", "accounting_code", "accounting_category1", "accounting_category2", \ "accounting_category3", "accounting_category4", "is_shippable", "shipping_frequency_period", \ "shipping_frequency_period_unit", "resource_version", "updated_at", "price_in_decimal", "included_in_mrr", \ - "channel", "invoice_notes", "taxable", "tax_profile_id", "meta_data", "tiers", "show_description_in_invoices", \ - "show_description_in_quotes"] + "channel", "proration_type", "invoice_notes", "taxable", "tax_profile_id", "meta_data", "tiers", \ + "show_description_in_invoices", "show_description_in_quotes"] @staticmethod diff --git a/chargebee/models/credit_note.py b/chargebee/models/credit_note.py index 19e74c4..0da96ae 100644 --- a/chargebee/models/credit_note.py +++ b/chargebee/models/credit_note.py @@ -44,8 +44,8 @@ class BillingAddress(Model): "updated_at", "channel", "einvoice", "sub_total", "sub_total_in_local_currency", "total_in_local_currency", \ "local_currency_code", "round_off_amount", "fractional_correction", "line_items", "discounts", \ "line_item_discounts", "line_item_tiers", "taxes", "line_item_taxes", "linked_refunds", "allocations", \ - "deleted", "local_currency_exchange_rate", "create_reason_code", "vat_number_prefix", "business_entity_id", \ - "shipping_address", "billing_address"] + "deleted", "tax_category", "local_currency_exchange_rate", "create_reason_code", "vat_number_prefix", \ + "business_entity_id", "shipping_address", "billing_address"] @staticmethod diff --git a/chargebee/models/invoice.py b/chargebee/models/invoice.py index 7c262bf..a613ddc 100644 --- a/chargebee/models/invoice.py +++ b/chargebee/models/invoice.py @@ -63,7 +63,7 @@ class Einvoice(Model): "line_item_discounts", "taxes", "line_item_taxes", "line_item_tiers", "linked_payments", "dunning_attempts", \ "applied_credits", "adjustment_credit_notes", "issued_credit_notes", "linked_orders", "notes", \ "shipping_address", "billing_address", "einvoice", "payment_owner", "void_reason_code", "deleted", \ - "vat_number_prefix", "channel", "business_entity_id"] + "tax_category", "vat_number_prefix", "channel", "business_entity_id"] @staticmethod diff --git a/chargebee/models/quote.py b/chargebee/models/quote.py index d58bbe5..228a8e8 100644 --- a/chargebee/models/quote.py +++ b/chargebee/models/quote.py @@ -33,8 +33,9 @@ class BillingAddress(Model): "operation_type", "vat_number", "price_type", "valid_till", "date", "total_payable", "charge_on_acceptance", \ "sub_total", "total", "credits_applied", "amount_paid", "amount_due", "version", "resource_version", \ "updated_at", "vat_number_prefix", "line_items", "discounts", "line_item_discounts", "taxes", \ - "line_item_taxes", "line_item_tiers", "currency_code", "notes", "shipping_address", "billing_address", \ - "contract_term_start", "contract_term_end", "contract_term_termination_fee", "business_entity_id"] + "line_item_taxes", "line_item_tiers", "tax_category", "currency_code", "notes", "shipping_address", \ + "billing_address", "contract_term_start", "contract_term_end", "contract_term_termination_fee", \ + "business_entity_id"] @staticmethod diff --git a/chargebee/version.py b/chargebee/version.py index 123d169..deccfe3 100644 --- a/chargebee/version.py +++ b/chargebee/version.py @@ -1 +1 @@ -VERSION = '2.28.0' +VERSION = '2.29.0'