<?php 
// 更新門市(統一超商C2C)
require '../lib/AllPay.Logistics.Integration.php';
try {
    $AL = new AllpayLogistics();
    $AL->HashKey = 'XBERn1YOvpM9nfZc';
    $AL->HashIV = 'h1ONHk4P4yqbl5LK';
    $AL->Send = array('MerchantID' => '2000933', 'AllPayLogisticsID' => '11796', 'CVSPaymentNo' => 'F0015091', 'CVSValidationNo' => '3207', 'StoreType' => StoreType::RECIVE_STORE, 'ReceiverStoreID' => '991183', 'PlatformID' => '');
    $Result = $AL->UpdateUnimartStore();
    echo '<pre>' . print_r($Result, true) . '</pre>';
} catch (Exception $e) {
    echo $e->getMessage();
}
}
assert_internal_type("array", gettype($sTest_Result), $sTest_Subject);
unset($sHome_URL, $oA_L, $sTest_Subject, $sTest_Result);
/**
 * 更新門市(統一超商 C2C)(UpdateUnimartStore)
 */
$sTest_Subject = "allPay 更新門市(統一超商 C2C)(UpdateUnimartStore)";
$sTest_Result = "";
$sHome_URL = "http://www.sample.com.tw";
try {
    $oA_L = new AllpayLogistics();
    $oA_L->HashKey = TestC2CMerchantInfo::HASH_KEY;
    $oA_L->HashIV = TestC2CMerchantInfo::HASH_IV;
    $oA_L->Send = array("MerchantID" => TestC2CMerchantInfo::MERCHANT_ID, "AllPayLogisticsID" => "11796", "CVSPaymentNo" => "F0015091", "CVSValidationNo" => "3207", "StoreType" => StoreType::RECIVE_STORE, "ReceiverStoreID" => "991183", "PlatformID" => "");
    // UpdateUnimartStore()
    $sTest_Result = $oA_L->UpdateUnimartStore();
} catch (Exception $e) {
    $sTest_Result = $e->getMessage();
    unset($e);
}
assert_internal_type("array", gettype($sTest_Result), $sTest_Subject);
unset($sHome_URL, $oA_L, $sTest_Subject, $sTest_Result);
/**
 * 取消訂單(統一超商 C2C)(CancelUnimartLogisticsOrder)
 */
$sTest_Subject = "allPay 取消訂單(統一超商 C2C)(CancelUnimartLogisticsOrder)";
$sTest_Result = "";
$sHome_URL = "http://www.sample.com.tw";
try {
    $oA_L = new AllpayLogistics();
    $oA_L->HashKey = TestMerchantInfo::HASH_KEY;