From d54b9fbaefb042c3c5610c42664bbfe3bade11dc Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Sat, 8 Feb 2014 22:52:44 +0200 Subject: Added reason codes --- gsxws/parts.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'gsxws') 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): -- cgit v1.2.3