Skip to content

Commit

Permalink
Releasing v2.29.0. Please refer changelog for the updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
cb-khushbubibay committed Jul 31, 2023
1 parent 43d35a1 commit e4cbd3c
Show file tree
Hide file tree
Showing 7 changed files with 41 additions and 10 deletions.
30 changes: 30 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
* * *

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -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).

Expand Down
4 changes: 2 additions & 2 deletions chargebee/models/addon.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions chargebee/models/credit_note.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion chargebee/models/invoice.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 3 additions & 2 deletions chargebee/models/quote.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
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.28.0'
VERSION = '2.29.0'

0 comments on commit e4cbd3c

Please sign in to comment.