Skip to content

Commit 3998dc1

Browse files
committed
New attribute taxjar_product_code has been added in Addon and Plan resource.
* New input parameter taxjar_product_code has been added in create_an_addon, update_an_addon, create_a_plan and update_a_plan api * New input parameter taxjar_exemption_category has been added in create_a_customer, update_a_customer , create_a_subscription and import_a_subscription api * New input parameter no_expiry has been added in gift_subscription_estimate and create_a_gift api * New attribute no_expiry has been added in Gift resource * New endpoint update_gift has been added in Gift resource * New value BUSINESS_CHECKING has been added in AccountType enum * New value CCD has been added in EcheckType enum * New event type GIFT_UPDATED has been added * New enum taxjar_exemption_category has been added
1 parent fffc761 commit 3998dc1

5 files changed

Lines changed: 29 additions & 10 deletions

File tree

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
### v2.7.1(2020-01-08)
2+
* * *
3+
4+
* New attribute taxjar_product_code has been added in Addon and Plan resource.
5+
* New input parameter taxjar_product_code has been added in create_an_addon, update_an_addon, create_a_plan and update_a_plan api
6+
* New input parameter taxjar_exemption_category has been added in create_a_customer, update_a_customer , create_a_subscription and import_a_subscription api
7+
* New input parameter no_expiry has been added in gift_subscription_estimate and create_a_gift api
8+
* New attribute no_expiry has been added in Gift resource
9+
* New endpoint update_gift has been added in Gift resource
10+
* New value BUSINESS_CHECKING has been added in AccountType enum
11+
* New value CCD has been added in EcheckType enum
12+
* New event type GIFT_UPDATED has been added
13+
* New enum taxjar_exemption_category has been added
14+
115
### v2.7.0 (2019-09-13)
216
* * *
317

chargebee/models/addon.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ class Tier(Model):
1010

1111
fields = ["id", "name", "invoice_name", "description", "pricing_model", "type", "charge_type", \
1212
"price", "currency_code", "period", "period_unit", "unit", "status", "archived_at", "enabled_in_portal", \
13-
"tax_code", "avalara_sale_type", "avalara_transaction_type", "avalara_service_type", "sku", \
14-
"accounting_code", "accounting_category1", "accounting_category2", "is_shippable", "shipping_frequency_period", \
13+
"tax_code", "taxjar_product_code", "avalara_sale_type", "avalara_transaction_type", "avalara_service_type", \
14+
"sku", "accounting_code", "accounting_category1", "accounting_category2", "is_shippable", "shipping_frequency_period", \
1515
"shipping_frequency_period_unit", "resource_version", "updated_at", "invoice_notes", "taxable", \
1616
"tax_profile_id", "meta_data", "tiers"]
1717

chargebee/models/gift.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ class GiftTimeline(Model):
1414
fields = ["status", "occurred_at"]
1515
pass
1616

17-
fields = ["id", "status", "scheduled_at", "auto_claim", "claim_expiry_date", "resource_version", \
18-
"updated_at", "gifter", "gift_receiver", "gift_timelines"]
17+
fields = ["id", "status", "scheduled_at", "auto_claim", "no_expiry", "claim_expiry_date", \
18+
"resource_version", "updated_at", "gifter", "gift_receiver", "gift_timelines"]
1919

2020

2121
@staticmethod
@@ -37,3 +37,7 @@ def claim(id, env=None, headers=None):
3737
@staticmethod
3838
def cancel(id, env=None, headers=None):
3939
return request.send('post', request.uri_path("gifts",id,"cancel"), None, env, headers)
40+
41+
@staticmethod
42+
def update_gift(id, params, env=None, headers=None):
43+
return request.send('post', request.uri_path("gifts",id,"update_gift"), params, env, headers)

chargebee/models/plan.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,12 @@ class EventBasedAddon(Model):
2020
fields = ["id", "name", "invoice_name", "description", "price", "currency_code", "period", \
2121
"period_unit", "trial_period", "trial_period_unit", "pricing_model", "charge_model", "free_quantity", \
2222
"setup_cost", "downgrade_penalty", "status", "archived_at", "billing_cycles", "redirect_url", \
23-
"enabled_in_hosted_pages", "enabled_in_portal", "addon_applicability", "tax_code", "avalara_sale_type", \
24-
"avalara_transaction_type", "avalara_service_type", "sku", "accounting_code", "accounting_category1", \
25-
"accounting_category2", "is_shippable", "shipping_frequency_period", "shipping_frequency_period_unit", \
26-
"resource_version", "updated_at", "giftable", "claim_url", "invoice_notes", "taxable", "tax_profile_id", \
27-
"meta_data", "tiers", "applicable_addons", "attached_addons", "event_based_addons"]
23+
"enabled_in_hosted_pages", "enabled_in_portal", "addon_applicability", "tax_code", "taxjar_product_code", \
24+
"avalara_sale_type", "avalara_transaction_type", "avalara_service_type", "sku", "accounting_code", \
25+
"accounting_category1", "accounting_category2", "is_shippable", "shipping_frequency_period", \
26+
"shipping_frequency_period_unit", "resource_version", "updated_at", "giftable", "claim_url", \
27+
"invoice_notes", "taxable", "tax_profile_id", "meta_data", "tiers", "applicable_addons", "attached_addons", \
28+
"event_based_addons"]
2829

2930

3031
@staticmethod

chargebee/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
VERSION = '2.7.0'
1+
VERSION = '2.7.1'

0 commit comments

Comments
 (0)