aboutsummaryrefslogtreecommitdiffstats
path: root/gsxws/repairs.py
diff options
context:
space:
mode:
authorFilipp Lepalaan <f@230.to>2014-02-08 22:53:26 +0200
committerFilipp Lepalaan <f@230.to>2014-02-08 22:53:26 +0200
commit6bc58c8b0c6bcaed3c8aaf80a0fb8a8e1b929dd7 (patch)
tree991ae1cde3a27ede81d0dbfcc91b5855dd95e87d /gsxws/repairs.py
parentd525aa09517356762b09acd286615c1027fcb2a7 (diff)
downloadpy-gsxws-6bc58c8b0c6bcaed3c8aaf80a0fb8a8e1b929dd7.tar.gz
py-gsxws-6bc58c8b0c6bcaed3c8aaf80a0fb8a8e1b929dd7.tar.bz2
py-gsxws-6bc58c8b0c6bcaed3c8aaf80a0fb8a8e1b929dd7.zip
Added COVERAGE_STATUSES
Diffstat (limited to 'gsxws/repairs.py')
-rw-r--r--gsxws/repairs.py28
1 files changed, 25 insertions, 3 deletions
diff --git a/gsxws/repairs.py b/gsxws/repairs.py
index 2606ce2..502b9d6 100644
--- a/gsxws/repairs.py
+++ b/gsxws/repairs.py
@@ -20,7 +20,27 @@ REPAIR_STATUSES = (
('AWTP', 'Awaiting Parts'),
('AWTR', 'Parts Allocated'),
('BEGR', 'In Repair'),
- ('RFPU', 'Ready for Pickup')
+ ('RFPU', 'Ready for Pickup'),
+)
+
+COVERAGE_STATUSES = (
+ 'CC', 'Custom Bid Contracts',
+ 'CS', 'Customer Satisfaction',
+ 'DO', 'DOA Coverage',
+ 'LI', 'Apple Limited Warranty',
+ 'MU', 'Missing Upon First Use',
+ 'OO', 'Out of Warranty (no coverage)',
+ 'PA', 'AppleCare Parts Agreement',
+ 'PP', 'AppleCare Protection Plan',
+ 'QP', 'Quality Program',
+ 'RA', 'AppleCare Repair Agreement',
+ 'RE', 'Repeat Service',
+ 'G9', 'Pending Coverage Check',
+ 'TC', 'Edu/Govt Warranty (Australia)',
+ 'PT', 'Additional Part Coverage',
+ 'EC', 'Additional Service Coverage',
+ 'C1', 'NEW - AppleCare Protection Plan',
+ 'VW', 'Consumer Law Coverage',
)
class Customer(GsxObject):
@@ -113,7 +133,8 @@ class Repair(GsxObject):
self.repairConfirmationNumber = self.dispatchId
del self._data['dispatchId']
- return self._submit("UpdateKGBSerialNumberRequest", "UpdateKGBSerialNumber",
+ return self._submit("UpdateKGBSerialNumberRequest",
+ "UpdateKGBSerialNumber",
"UpdateKGBSerialNumberResponse")
def lookup(self):
@@ -145,7 +166,8 @@ class Repair(GsxObject):
repair confirmation numbers to be submitted to GSX to be marked as complete.
"""
self.repairConfirmationNumbers = numbers or self.dispatchId
- return self._submit("MarkRepairCompleteRequest", "MarkRepairComplete",
+ return self._submit("MarkRepairCompleteRequest",
+ "MarkRepairComplete",
"MarkRepairCompleteResponse")
def status(self, numbers=None):