diff options
author | Filipp Lepalaan <f@230.to> | 2014-02-08 22:52:44 +0200 |
---|---|---|
committer | Filipp Lepalaan <f@230.to> | 2014-02-08 22:52:44 +0200 |
commit | d54b9fbaefb042c3c5610c42664bbfe3bade11dc (patch) | |
tree | d44e8bbd5f9715843fb798456d83999a2a28348e | |
parent | 3d0950d4c66e636f8905dfc153fc4518d0b5a211 (diff) | |
download | py-gsxws-d54b9fbaefb042c3c5610c42664bbfe3bade11dc.tar.gz py-gsxws-d54b9fbaefb042c3c5610c42664bbfe3bade11dc.tar.bz2 py-gsxws-d54b9fbaefb042c3c5610c42664bbfe3bade11dc.zip |
Added reason codes
-rw-r--r-- | gsxws/parts.py | 8 |
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): |