aboutsummaryrefslogtreecommitdiffstats
path: root/gsxws/returns.py
diff options
context:
space:
mode:
authorFilipp Lepalaan <f@230.to>2013-05-13 09:11:45 +0300
committerFilipp Lepalaan <f@230.to>2013-05-13 09:11:45 +0300
commit54331c8677c35449809524154fcde1fed7c84c42 (patch)
treee68f46b62ff17aae780f4dee6ad7c1038f975082 /gsxws/returns.py
parentc0eb64d41e921cf4ee3498d89591f5464c76eee7 (diff)
downloadpy-gsxws-54331c8677c35449809524154fcde1fed7c84c42.tar.gz
py-gsxws-54331c8677c35449809524154fcde1fed7c84c42.tar.bz2
py-gsxws-54331c8677c35449809524154fcde1fed7c84c42.zip
Better imports
Diffstat (limited to 'gsxws/returns.py')
-rw-r--r--gsxws/returns.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/gsxws/returns.py b/gsxws/returns.py
index 4584b3e..65d1dae 100644
--- a/gsxws/returns.py
+++ b/gsxws/returns.py
@@ -1,4 +1,6 @@
-from gsxws import GsxObject
+import base64
+
+from core import GsxObject, validate
RETURN_TYPES = (
(1, "Dead On Arrival"),
@@ -38,9 +40,10 @@ CARRIERS = (
('XYMT', "YAMATO"),
)
+
class Return(GsxObject):
def __init__(self, order_number=None, *args, **kwargs):
- super(Returns, self).__init__(*args, **kwargs)
+ super(Return, self).__init__(*args, **kwargs)
if order_number is not None:
self.data['returnOrderNumber'] = order_number