[Python-modules-commits] [chargebee2-python] 01/04: Imported Upstream version 2.4.5

Scott Kitterman kitterman at moszumanska.debian.org
Tue Feb 6 06:26:38 UTC 2018


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 8ab031f801f9a1bbc25e9ae097d05cd770f363cc
Author: Scott Kitterman <scott at kitterman.com>
Date:   Tue Feb 6 00:46:49 2018 -0500

    Imported Upstream version 2.4.5
---
 CHANGELOG.md                    | 14 +++++++++++++-
 LICENSE                         |  2 +-
 chargebee/models/credit_note.py |  4 ++--
 chargebee/models/invoice.py     |  2 +-
 chargebee/models/transaction.py |  6 +++---
 chargebee/version.py            |  2 +-
 6 files changed, 21 insertions(+), 9 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 3ea98ab..8cfcf78 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,4 +1,16 @@
-### v2.4.4 (2017-01-12)
+### v2.4.5 (2018-02-01)
+* * * 
+
+The attribute 'round_off_amount' have been added in Invoice an Credit note resources.
+See : https://apidocs.chargebee.com/docs/api/invoices#invoice_attributes
+
+The attribute 'settled_at' has been added to transaction resource.
+See : https://apidocs.chargebee.com/docs/api/transactions#transaction_attributes
+
+'Collect now' API in Hosted pages resource has been undeprecated.
+See : https://apidocs.chargebee.com/docs/api/hosted_pages#collect_now
+
+### v2.4.4 (2018-01-12)
 * New endpoint "Update invoice details" has been added to Invoice resource.
 
 ### v2.4.3 (2017-11-27)
diff --git a/LICENSE b/LICENSE
index f8871ed..73fe9eb 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,6 +1,6 @@
 The MIT License
 
-Copyright (c) 2011-2017 ChargeBee, Inc.
+Copyright (c) 2011-2018 ChargeBee, Inc.
 
 Permission is hereby granted, free of charge, to any person
 obtaining a copy of this software and associated documentation
diff --git a/chargebee/models/credit_note.py b/chargebee/models/credit_note.py
index 75b5068..313c798 100644
--- a/chargebee/models/credit_note.py
+++ b/chargebee/models/credit_note.py
@@ -29,8 +29,8 @@ 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", "voided_at", "resource_version", "updated_at", \
-    "sub_total", "line_items", "discounts", "line_item_discounts", "taxes", "line_item_taxes", "linked_refunds", \
-    "allocations", "deleted"]
+    "sub_total", "round_off_amount", "line_items", "discounts", "line_item_discounts", "taxes", \
+    "line_item_taxes", "linked_refunds", "allocations", "deleted"]
 
 
     @staticmethod
diff --git a/chargebee/models/invoice.py b/chargebee/models/invoice.py
index 3e274d8..abf735a 100644
--- a/chargebee/models/invoice.py
+++ b/chargebee/models/invoice.py
@@ -48,7 +48,7 @@ class Invoice(Model):
     "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", "voided_at", "resource_version", "updated_at", "sub_total", "tax", "first_invoice", \
-    "has_advance_charges", "amount_to_collect", "line_items", "discounts", "line_item_discounts", \
+    "has_advance_charges", "amount_to_collect", "round_off_amount", "line_items", "discounts", "line_item_discounts", \
     "taxes", "line_item_taxes", "linked_payments", "applied_credits", "adjustment_credit_notes", \
     "issued_credit_notes", "linked_orders", "notes", "shipping_address", "billing_address", "deleted"]
 
diff --git a/chargebee/models/transaction.py b/chargebee/models/transaction.py
index 16cbd21..e64c8b4 100644
--- a/chargebee/models/transaction.py
+++ b/chargebee/models/transaction.py
@@ -15,9 +15,9 @@ class Transaction(Model):
       pass
 
     fields = ["id", "customer_id", "subscription_id", "gateway_account_id", "payment_source_id", \
-    "payment_method", "reference_number", "gateway", "type", "date", "currency_code", "amount", \
-    "id_at_gateway", "status", "fraud_flag", "error_code", "error_text", "voided_at", "resource_version", \
-    "updated_at", "fraud_reason", "amount_unused", "masked_card_number", "reference_transaction_id", \
+    "payment_method", "reference_number", "gateway", "type", "date", "settled_at", "currency_code", \
+    "amount", "id_at_gateway", "status", "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 0beafc3..ee10cd8 100644
--- a/chargebee/version.py
+++ b/chargebee/version.py
@@ -1 +1 @@
-VERSION = '2.4.4'
+VERSION = '2.4.5'

-- 
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