From f405dc504b62e5b8157429fe36a1f96d83c97b61 Mon Sep 17 00:00:00 2001 From: Erik Tobiassen Date: Wed, 30 Mar 2016 23:12:52 +0200 Subject: warrantyStatus method updated for May upgrade - Added shipTo to the $serialNumber array. - Added warranty status example. --- examples/warranty_status.php | 54 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 examples/warranty_status.php (limited to 'examples/warranty_status.php') diff --git a/examples/warranty_status.php b/examples/warranty_status.php new file mode 100644 index 0000000..6ae77ed --- /dev/null +++ b/examples/warranty_status.php @@ -0,0 +1,54 @@ +warrantyStatus($serialnumber, $ship_to); + } catch (SoapFault $e) { + var_dump($e->faultstring); + die; + } + + ?> + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Serial Number: serialNumber ?>
Warranty Status: warrantyStatus ?>
Days remaining: daysRemaining ?>
Estimated Purchase Date: estimatedPurchaseDate ?>
Purchase Country: purchaseCountry ?>
Product Description: productDescription ?>
Config Description: configDescription ?>
Activation Lock Status: activationLockStatus ?>
-- cgit v1.2.3