[Python-modules-commits] [chargebee2-python] 01/04: Import chargebee2-python_2.2.1.orig.tar.gz

Scott Kitterman kitterman at moszumanska.debian.org
Sun Dec 11 03:44:46 UTC 2016


This is an automated email from the git hooks/post-receive script.

kitterman pushed a commit to branch master
in repository chargebee2-python.

commit b28bc40ae6e3f5c46876a70eda204843e1097c31
Author: Scott Kitterman <scott at kitterman.com>
Date:   Sat Dec 10 22:34:41 2016 -0500

    Import chargebee2-python_2.2.1.orig.tar.gz
---
 CHANGELOG.md                     | 28 ++++++++++++++++++++++++++++
 chargebee/models/addon.py        |  4 ++--
 chargebee/models/credit_note.py  |  5 +++--
 chargebee/models/customer.py     |  2 +-
 chargebee/models/invoice.py      |  7 ++++---
 chargebee/models/plan.py         |  4 ++--
 chargebee/models/subscription.py |  4 ++--
 chargebee/version.py             |  2 +-
 8 files changed, 43 insertions(+), 13 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index c308f44..0774b3a 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,31 @@
+###v2.2.1 (2016-12-09)
+* * * 
+
+** APIs updated**:
+A new attribute, 'locale' has been added to the Customer resource.
+See : https://apidocs.chargebee.com/docs/api/customers#customer_attributes
+
+A new parameter, 'locale' has been to Create a customer, Update a customer, Checkout new hosted page, Create a subscription and Import a subscription APIs.
+See : https://apidocs.chargebee.com/docs/api/customers#create_a_customer
+
+The attributes 'mrr', 'exchange_rate' and 'base_currency_code' have been added to the Subscription resource.
+See : https://apidocs.chargebee.com/docs/api/subscriptions#subscription_attributes
+
+A new filter parameter 'cancelled_at' has been added to List Subscription API.
+See : https://apidocs.chargebee.com/docs/api/subscriptions#list_subscriptions
+
+The attribute 'voided_at' has been added to the Invoice and the Credit Note resource and 'voided_at' filter has been added to List invoices and List credit notes APIs.
+See : https://apidocs.chargebee.com/docs/api/invoices#invoice_attributes
+
+The attributes 'sku', 'accounting_code', 'accounting_category1' and 'accounting_category2' have been added to the Plan and the Addon resource.
+See : https://apidocs.chargebee.com/docs/api/plans#plan_attributes
+
+The input parameters 'sku', 'accounting_code', 'accounting_category1' and 'accounting_category2' have been added to Create a plan, Update a plan, Create an addon and Update an addon APIs.
+See : https://apidocs.chargebee.com/docs/api/plans#create_a_plan
+
+The input parameters 'transaction_id_at_gateway', 'transaction_status', 'transaction_error_code' and 'transaction_error_text' have been added to Record payment for an invoice API.
+See : https://apidocs.chargebee.com/docs/api/invoices#record_an_invoice_payment
+
 ###v2.2.0 (2016-11-24)
 * * * 
 
diff --git a/chargebee/models/addon.py b/chargebee/models/addon.py
index 15c4818..605c25e 100644
--- a/chargebee/models/addon.py
+++ b/chargebee/models/addon.py
@@ -7,8 +7,8 @@ class Addon(Model):
 
     fields = ["id", "name", "invoice_name", "description", "type", "charge_type", "price", \
     "currency_code", "period", "period_unit", "unit", "status", "archived_at", "enabled_in_portal", \
-    "tax_code", "resource_version", "updated_at", "invoice_notes", "taxable", "tax_profile_id", \
-    "meta_data"]
+    "tax_code", "sku", "accounting_code", "accounting_category1", "accounting_category2", "resource_version", \
+    "updated_at", "invoice_notes", "taxable", "tax_profile_id", "meta_data"]
 
 
     @staticmethod
diff --git a/chargebee/models/credit_note.py b/chargebee/models/credit_note.py
index 213642a..ab52ab4 100644
--- a/chargebee/models/credit_note.py
+++ b/chargebee/models/credit_note.py
@@ -25,8 +25,9 @@ class CreditNote(Model):
 
     fields = ["id", "customer_id", "subscription_id", "reference_invoice_id", "type", "reason_code", \
     "status", "vat_number", "date", "price_type", "currency_code", "total", "amount_allocated", \
-    "amount_refunded", "amount_available", "refunded_at", "resource_version", "updated_at", "sub_total", \
-    "line_items", "discounts", "taxes", "line_item_taxes", "linked_refunds", "allocations", "deleted"]
+    "amount_refunded", "amount_available", "refunded_at", "voided_at", "resource_version", "updated_at", \
+    "sub_total", "line_items", "discounts", "taxes", "line_item_taxes", "linked_refunds", "allocations", \
+    "deleted"]
 
 
     @staticmethod
diff --git a/chargebee/models/customer.py b/chargebee/models/customer.py
index daf79df..9fb3dcf 100644
--- a/chargebee/models/customer.py
+++ b/chargebee/models/customer.py
@@ -16,7 +16,7 @@ class Customer(Model):
 
     fields = ["id", "first_name", "last_name", "email", "phone", "company", "vat_number", "auto_collection", \
     "net_term_days", "allow_direct_debit", "created_at", "created_from_ip", "taxability", "entity_code", \
-    "exempt_number", "resource_version", "updated_at", "card_status", "fraud_flag", "billing_address", \
+    "exempt_number", "resource_version", "updated_at", "locale", "card_status", "fraud_flag", "billing_address", \
     "contacts", "payment_method", "invoice_notes", "preferred_currency_code", "promotional_credits", \
     "refundable_credits", "excess_payments", "meta_data", "deleted"]
 
diff --git a/chargebee/models/invoice.py b/chargebee/models/invoice.py
index 17663cc..17f4d69 100644
--- a/chargebee/models/invoice.py
+++ b/chargebee/models/invoice.py
@@ -44,9 +44,10 @@ class Invoice(Model):
     fields = ["id", "po_number", "customer_id", "subscription_id", "recurring", "status", "vat_number", \
     "price_type", "date", "due_date", "net_term_days", "currency_code", "total", "amount_paid", \
     "amount_adjusted", "write_off_amount", "credits_applied", "amount_due", "paid_at", "dunning_status", \
-    "next_retry_at", "resource_version", "updated_at", "sub_total", "tax", "first_invoice", "line_items", \
-    "discounts", "taxes", "line_item_taxes", "linked_payments", "applied_credits", "adjustment_credit_notes", \
-    "issued_credit_notes", "linked_orders", "notes", "shipping_address", "billing_address", "deleted"]
+    "next_retry_at", "voided_at", "resource_version", "updated_at", "sub_total", "tax", "first_invoice", \
+    "line_items", "discounts", "taxes", "line_item_taxes", "linked_payments", "applied_credits", \
+    "adjustment_credit_notes", "issued_credit_notes", "linked_orders", "notes", "shipping_address", \
+    "billing_address", "deleted"]
 
 
     @staticmethod
diff --git a/chargebee/models/plan.py b/chargebee/models/plan.py
index ba39a65..346b339 100644
--- a/chargebee/models/plan.py
+++ b/chargebee/models/plan.py
@@ -8,8 +8,8 @@ class Plan(Model):
     fields = ["id", "name", "invoice_name", "description", "price", "currency_code", "period", \
     "period_unit", "trial_period", "trial_period_unit", "charge_model", "free_quantity", "setup_cost", \
     "downgrade_penalty", "status", "archived_at", "billing_cycles", "redirect_url", "enabled_in_hosted_pages", \
-    "enabled_in_portal", "tax_code", "resource_version", "updated_at", "invoice_notes", "taxable", \
-    "tax_profile_id", "meta_data"]
+    "enabled_in_portal", "tax_code", "sku", "accounting_code", "accounting_category1", "accounting_category2", \
+    "resource_version", "updated_at", "invoice_notes", "taxable", "tax_profile_id", "meta_data"]
 
 
     @staticmethod
diff --git a/chargebee/models/subscription.py b/chargebee/models/subscription.py
index 60a0b95..fcac7e7 100644
--- a/chargebee/models/subscription.py
+++ b/chargebee/models/subscription.py
@@ -18,8 +18,8 @@ class Subscription(Model):
     "trial_start", "trial_end", "current_term_start", "current_term_end", "remaining_billing_cycles", \
     "po_number", "created_at", "started_at", "activated_at", "cancelled_at", "cancel_reason", "affiliate_token", \
     "created_from_ip", "resource_version", "updated_at", "has_scheduled_changes", "due_invoices_count", \
-    "due_since", "total_dues", "addons", "coupon", "coupons", "shipping_address", "invoice_notes", \
-    "meta_data", "deleted"]
+    "due_since", "total_dues", "mrr", "exchange_rate", "base_currency_code", "addons", "coupon", \
+    "coupons", "shipping_address", "invoice_notes", "meta_data", "deleted"]
 
 
     @staticmethod
diff --git a/chargebee/version.py b/chargebee/version.py
index 8418bbc..8ec4737 100644
--- a/chargebee/version.py
+++ b/chargebee/version.py
@@ -1 +1 @@
-VERSION = '2.2.0'
+VERSION = '2.2.1'

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/chargebee2-python.git



More information about the Python-modules-commits mailing list