aboutsummaryrefslogtreecommitdiffstats
path: root/gsxws/parts.py
diff options
context:
space:
mode:
authorFilipp Lepalaan <f@230.to>2014-02-08 22:52:44 +0200
committerFilipp Lepalaan <f@230.to>2014-02-08 22:52:44 +0200
commitd54b9fbaefb042c3c5610c42664bbfe3bade11dc (patch)
treed44e8bbd5f9715843fb798456d83999a2a28348e /gsxws/parts.py
parent3d0950d4c66e636f8905dfc153fc4518d0b5a211 (diff)
downloadpy-gsxws-d54b9fbaefb042c3c5610c42664bbfe3bade11dc.tar.gz
py-gsxws-d54b9fbaefb042c3c5610c42664bbfe3bade11dc.tar.bz2
py-gsxws-d54b9fbaefb042c3c5610c42664bbfe3bade11dc.zip
Added reason codes
Diffstat (limited to 'gsxws/parts.py')
-rw-r--r--gsxws/parts.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/gsxws/parts.py b/gsxws/parts.py
index acf9957..c84910e 100644
--- a/gsxws/parts.py
+++ b/gsxws/parts.py
@@ -6,6 +6,14 @@ import tempfile
from lookups import Lookup
from core import GsxObject, GsxError
+REASON_CODES = (
+ ('A', 'Part not needed'),
+ ('B', 'Duplicated part'),
+ ('C', 'Added wrong part'),
+ ('D', 'Tried to cancel order'),
+ ('E', 'Customer refused order'),
+)
+
IMAGE_URL = "https://km.support.apple.com.edgekey.net/kb/imageService.jsp?image=%s"
class Part(GsxObject):