[Python-modules-commits] [chargebee2-python] 01/04: Import chargebee2-python_2.2.3.orig.tar.gz
Scott Kitterman
kitterman at moszumanska.debian.org
Tue Jan 17 06:29:15 UTC 2017
This is an automated email from the git hooks/post-receive script.
kitterman pushed a commit to branch master
in repository chargebee2-python.
commit 878e1cb57423c76c17523e5a4d3761adf8844909
Author: Scott Kitterman <scott at kitterman.com>
Date: Tue Jan 17 01:20:51 2017 -0500
Import chargebee2-python_2.2.3.orig.tar.gz
---
CHANGELOG.md | 14 ++++++++++++++
chargebee/models/addon.py | 4 ++++
chargebee/models/coupon.py | 4 ++++
chargebee/models/plan.py | 4 ++++
chargebee/version.py | 2 +-
5 files changed, 27 insertions(+), 1 deletion(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 588f454..d7a3d2f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,17 @@
+###v2.2.3 (2017-01-12)
+* * *
+
+** APIs added**:
+A new endpoint, Unarchive a plan has been added to the Plan resource.
+See: https://apidocs.chargebee.com/docs/api/plans#unarchive_a_plan
+
+A new endpoint, Unarchive an addon has been added to the Addon resource.
+See : https://apidocs.chargebee.com/docs/api/addons#unarchive_an_addon
+
+A new endpoint, Unarchive a coupon has been added to the Coupon resource.
+See : https://apidocs.chargebee.com/docs/api/coupons#unarchive_a_coupon
+
+
###v2.2.2 (2016-12-30)
* * *
diff --git a/chargebee/models/addon.py b/chargebee/models/addon.py
index 605c25e..435182b 100644
--- a/chargebee/models/addon.py
+++ b/chargebee/models/addon.py
@@ -34,3 +34,7 @@ class Addon(Model):
@staticmethod
def copy(params, env=None, headers=None):
return request.send('post', request.uri_path("addons","copy"), params, env, headers)
+
+ @staticmethod
+ def unarchive(id, env=None, headers=None):
+ return request.send('post', request.uri_path("addons",id,"unarchive"), None, env, headers)
diff --git a/chargebee/models/coupon.py b/chargebee/models/coupon.py
index 36822a7..963cccf 100644
--- a/chargebee/models/coupon.py
+++ b/chargebee/models/coupon.py
@@ -31,3 +31,7 @@ class Coupon(Model):
@staticmethod
def copy(params, env=None, headers=None):
return request.send('post', request.uri_path("coupons","copy"), params, env, headers)
+
+ @staticmethod
+ def unarchive(id, env=None, headers=None):
+ return request.send('post', request.uri_path("coupons",id,"unarchive"), None, env, headers)
diff --git a/chargebee/models/plan.py b/chargebee/models/plan.py
index 346b339..6a9d7b0 100644
--- a/chargebee/models/plan.py
+++ b/chargebee/models/plan.py
@@ -35,3 +35,7 @@ class Plan(Model):
@staticmethod
def copy(params, env=None, headers=None):
return request.send('post', request.uri_path("plans","copy"), params, env, headers)
+
+ @staticmethod
+ def unarchive(id, env=None, headers=None):
+ return request.send('post', request.uri_path("plans",id,"unarchive"), None, env, headers)
diff --git a/chargebee/version.py b/chargebee/version.py
index 5a099d9..2914e9b 100644
--- a/chargebee/version.py
+++ b/chargebee/version.py
@@ -1 +1 @@
-VERSION = '2.2.2'
+VERSION = '2.2.3'
--
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