本文整理汇总了PHP中Checker::requiredField方法的典型用法代码示例。如果您正苦于以下问题:PHP Checker::requiredField方法的具体用法?PHP Checker::requiredField怎么用?PHP Checker::requiredField使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Checker
的用法示例。
在下文中一共展示了Checker::requiredField方法的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: applePayType
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;
}
}
示例2: updateCardValidationNumOnToken
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: createAccountUpdate
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;
}
示例4: echeckVoidRequest
public function echeckVoidRequest($hash_in)
{
$hash_out = array('litleTxnId' => Checker::requiredField($hash_in['litleTxnId']));
$echeckVoidResponse = LitleOnlineRequest::processRequest($hash_out, $hash_in, "echeckVoid");
return $echeckVoidResponse;
}
示例5: recyclingRequestType
public static function recyclingRequestType($hash_in)
{
if (isset($hash_in)) {
$hash_out = array("recycleBy" => Checker::requiredField(XmlFields::returnArrayValue($hash_in, "recycleBy")));
return $hash_out;
}
}
示例6: mposType
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: litleInternalRecurringRequestType
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: advancedFraudChecksType
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;
}
}
示例9: queryTransaction
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;
}