[Python-modules-commits] [chargebee2-python] 01/03: Imported Upstream version 2.3.1
Scott Kitterman
kitterman at moszumanska.debian.org
Mon Jul 10 11:58:38 UTC 2017
This is an automated email from the git hooks/post-receive script.
kitterman pushed a commit to branch debian/master
in repository chargebee2-python.
commit 1829089c9cc9b14f98b418113b8cb267751b2765
Author: Scott Kitterman <scott at kitterman.com>
Date: Mon Jul 10 07:42:36 2017 -0400
Imported Upstream version 2.3.1
---
CHANGELOG.md | 24 ++++++++++++++++++++++++
chargebee/models/card.py | 6 +++---
chargebee/models/payment_source.py | 2 +-
chargebee/models/transaction.py | 4 ++--
chargebee/version.py | 2 +-
5 files changed, 31 insertions(+), 7 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index d19a84b..f03cf4c 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,27 @@
+### v2.3.1 (2017-07-06)
+* * *
+
+** APIs updated**:
+
+The parameter "status" has been added to the Create a plan, Create an addon and Create a coupon APIs.
+See : https://apidocs.chargebee.com/docs/api/plans#create_a_plan
+
+The attribute "issuing_country" has been added to the Card and Payment source resource.
+See : https://apidocs.chargebee.com/docs/api/payment_sources#payment_source_attributes
+
+The reason code "fraudulent" has been added to the Credit note resource.
+See : https://apidocs.chargebee.com/docs/api/credit_notes#credit_note_reason_code
+
+The attribute "bank_name" is made optional in Bank Account subresource.
+See : https://apidocs.chargebee.com/docs/api/payment_sources#payment_source_bank_account_bank_name
+
+The parameter "redirect_url" has been made optional in Create a portal session API.
+See : https://apidocs.chargebee.com/docs/api/portal_sessions#create_a_portal_session
+
+The attributes "fraud_flag" and "fraud_reason" have been added to the Transaction resource.
+See : https://apidocs.chargebee.com/docs/api/transactions#transaction_attributes
+
+
### v2.3.0 (2017-06-01)
* * *
diff --git a/chargebee/models/card.py b/chargebee/models/card.py
index f4af37e..3ba6ba8 100644
--- a/chargebee/models/card.py
+++ b/chargebee/models/card.py
@@ -6,9 +6,9 @@ from chargebee import APIError
class Card(Model):
fields = ["payment_source_id", "status", "gateway", "gateway_account_id", "first_name", \
- "last_name", "iin", "last4", "card_type", "funding_type", "expiry_month", "expiry_year", "billing_addr1", \
- "billing_addr2", "billing_city", "billing_state_code", "billing_state", "billing_country", "billing_zip", \
- "ip_address", "customer_id", "masked_number"]
+ "last_name", "iin", "last4", "card_type", "funding_type", "expiry_month", "expiry_year", "issuing_country", \
+ "billing_addr1", "billing_addr2", "billing_city", "billing_state_code", "billing_state", "billing_country", \
+ "billing_zip", "ip_address", "customer_id", "masked_number"]
@staticmethod
diff --git a/chargebee/models/payment_source.py b/chargebee/models/payment_source.py
index 11d17cc..0006aa7 100644
--- a/chargebee/models/payment_source.py
+++ b/chargebee/models/payment_source.py
@@ -18,7 +18,7 @@ class PaymentSource(Model):
pass
fields = ["id", "customer_id", "type", "reference_id", "status", "gateway", "gateway_account_id", \
- "ip_address", "card", "bank_account", "amazon_payment", "paypal"]
+ "ip_address", "issuing_country", "card", "bank_account", "amazon_payment", "paypal"]
@staticmethod
diff --git a/chargebee/models/transaction.py b/chargebee/models/transaction.py
index 00c0f0b..6e79acb 100644
--- a/chargebee/models/transaction.py
+++ b/chargebee/models/transaction.py
@@ -16,8 +16,8 @@ class Transaction(Model):
fields = ["id", "customer_id", "subscription_id", "gateway_account_id", "payment_method", \
"reference_number", "gateway", "type", "date", "currency_code", "amount", "id_at_gateway", "status", \
- "error_code", "error_text", "voided_at", "resource_version", "updated_at", "amount_unused", \
- "masked_card_number", "reference_transaction_id", "refunded_txn_id", "reversal_transaction_id", \
+ "fraud_flag", "error_code", "error_text", "voided_at", "resource_version", "updated_at", "fraud_reason", \
+ "amount_unused", "masked_card_number", "reference_transaction_id", "refunded_txn_id", "reversal_transaction_id", \
"linked_invoices", "linked_credit_notes", "linked_refunds", "deleted"]
diff --git a/chargebee/version.py b/chargebee/version.py
index 0f572f9..7e69697 100644
--- a/chargebee/version.py
+++ b/chargebee/version.py
@@ -1 +1 @@
-VERSION = '2.3.0'
+VERSION = '2.3.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