aboutsummaryrefslogtreecommitdiffstats
path: root/gsxws/returns.py
diff options
context:
space:
mode:
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