예제 #1
0
 public static function applePayType($hash_in)
 {
     if (isset($hash_in)) {
         $hash_out = array("data" => XmlFields::returnArrayValue($hash_in, "data"), "header" => Checker::requiredField(XmlFields::returnArrayValue($hash_in, "header")), "signature" => XmlFields::returnArrayValue($hash_in, "signature"), "version" => XmlFields::returnArrayValue($hash_in, "version"));
         return $hash_out;
     }
 }
 public function updateCardValidationNumOnToken($hash_in)
 {
     $hash_out = array('orderId' => XmlFields::returnArrayValue($hash_in, 'orderId'), 'litleToken' => Checker::requiredField(XmlFields::returnArrayValue($hash_in, 'litleToken')), 'cardValidationNum' => Checker::requiredField(XmlFields::returnArrayValue($hash_in, 'cardValidationNum')));
     $updateCardValidationNumOnTokenResponse = LitleOnlineRequest::processRequest($hash_out, $hash_in, "updateCardValidationNumOnToken");
     return $updateCardValidationNumOnTokenResponse;
 }
예제 #3
0
 public static function createAccountUpdate($hash_in)
 {
     $hash_out = array('orderId' => Checker::requiredField(XmlFields::returnArrayValue($hash_in, 'orderId')), 'id' => Checker::requiredField(XmlFields::returnArrayValue($hash_in, 'id')), 'card' => XmlFields::cardType(XmlFields::returnArrayValue($hash_in, 'card')), 'token' => XmlFields::cardTokenType(XmlFields::returnArrayValue($hash_in, 'token')));
     return $hash_out;
 }
 public function echeckVoidRequest($hash_in)
 {
     $hash_out = array('litleTxnId' => Checker::requiredField($hash_in['litleTxnId']));
     $echeckVoidResponse = LitleOnlineRequest::processRequest($hash_out, $hash_in, "echeckVoid");
     return $echeckVoidResponse;
 }
 public static function recyclingRequestType($hash_in)
 {
     if (isset($hash_in)) {
         $hash_out = array("recycleBy" => Checker::requiredField(XmlFields::returnArrayValue($hash_in, "recycleBy")));
         return $hash_out;
     }
 }
 public static function mposType($hash_in)
 {
     if (isset($hash_in)) {
         $hash_out = array("ksn" => Checker::requiredField(XmlFields::returnArrayValue($hash_in, "ksn", 1028)), "formatId" => Checker::requiredField(XmlFields::returnArrayValue($hash_in, "formatId", 1028)), "encryptedTrack" => Checker::requiredField(XmlFields::returnArrayValue($hash_in, "encryptedTrack", 1028)), "track1Status" => Checker::requiredField(XmlFields::returnArrayValue($hash_in, "track1Status", 1028)), "track2Status" => Checker::requiredField(XmlFields::returnArrayValue($hash_in, "track2Status", 1028)));
         return $hash_out;
     }
 }
예제 #7
0
 public static function litleInternalRecurringRequestType($hash_in)
 {
     if (isset($hash_in)) {
         $hash_out = array("subscriptionId" => Checker::requiredField(XmlFields::returnArrayValue($hash_in, "subscriptionId")), "recurringTxnId" => Checker::requiredField(XmlFields::returnArrayValue($hash_in, "recurringTxnId")));
         return $hash_out;
     }
 }
예제 #8
0
 public static function advancedFraudChecksType($hash_in)
 {
     if (isset($hash_in)) {
         $hash_out = array("threatMetrixSessionId" => Checker::requiredField(XmlFields::returnArrayValue($hash_in, "threatMetrixSessionId", 128)));
         return $hash_out;
     }
 }
 public function queryTransaction($hash_in)
 {
     $hash_out = array('id' => Checker::requiredField(XmlFields::returnArrayValue($hash_in, 'id')), 'origId' => Checker::requiredField(XmlFields::returnArrayValue($hash_in, 'origId')), 'origActionType' => Checker::requiredField(XmlFields::returnArrayValue($hash_in, 'origActionType')), 'origLitleTxnId' => XmlFields::returnArrayValue($hash_in, 'origLitleTxnId'), 'origOrderId' => XmlFields::returnArrayValue($hash_in, 'origOrderId'), 'origAccountNumber' => XmlFields::returnArrayValue($hash_in, 'origAccountNumber'));
     $queryTransactionResponse = $this->processRequest($hash_out, $hash_in, "queryTransaction");
     return $queryTransactionResponse;
 }