本文整理匯總了PHP中Configuration::gateway方法的典型用法代碼示例。如果您正苦於以下問題:PHP Configuration::gateway方法的具體用法?PHP Configuration::gateway怎麽用?PHP Configuration::gateway使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類Configuration
的用法示例。
在下文中一共展示了Configuration::gateway方法的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: all
public static function all()
{
return Configuration::gateway()->discount()->all();
}
示例2: generateWithoutCustomerIdSignature
/**
*
* @return string client token retrieved from server
*/
public static function generateWithoutCustomerIdSignature()
{
return Configuration::gateway()->clientToken()->generateWithoutCustomerIdSignature();
}
示例3: delete
public static function delete($token)
{
return Configuration::gateway()->paymentMethod()->delete($token);
}
示例4: update
public static function update($merchant_account_id, $attributes)
{
return Configuration::gateway()->merchantAccount()->update($merchant_account_id, $attributes);
}
示例5: refund
public static function refund($transactionId, $amount = null)
{
return Configuration::gateway()->transaction()->refund($transactionId, $amount);
}
示例6: generate
/**
* static method redirecting to gateway
*
* @param string $settlement_date Date YYYY-MM-DD
* @param string $groupByCustomField
* @return Result_Successful|Result_Error
*/
public static function generate($settlement_date, $groupByCustomField = NULL)
{
return Configuration::gateway()->settlementBatchSummary()->generate($settlement_date, $groupByCustomField);
}
示例7: all
/**
* static methods redirecting to gateway
*
* @return AddOn[]
*/
public static function all()
{
return Configuration::gateway()->addOn()->all();
}
示例8: cancel
public static function cancel($subscriptionId)
{
return Configuration::gateway()->subscription()->cancel($subscriptionId);
}
示例9: search
public static function search($query)
{
return Configuration::gateway()->creditCardVerification()->search($query);
}
示例10: sale
public static function sale($token, $transactionAttribs)
{
return Configuration::gateway()->coinbaseAccount()->sale($token, $transactionAttribs);
}
示例11: updateNoValidate
public static function updateNoValidate($customerOrId, $addressId, $attributes)
{
return Configuration::gateway()->address()->updateNoValidate($customerOrId, $addressId, $attributes);
}
示例12: submitForPartialSettlement
public static function submitForPartialSettlement($transactionId, $amount)
{
return Configuration::gateway()->transaction()->submitForPartialSettlement($transactionId, $amount);
}
示例13: updateFromTransparentRedirect
/**
*
* @deprecated since version 2.3.0
* @param string $queryString
* @return Result\Successful|Result\Error
*/
public static function updateFromTransparentRedirect($queryString)
{
return Configuration::gateway()->customer()->updateFromTransparentRedirect($queryString);
}
示例14: sale
public static function sale($token, $transactionAttribs)
{
$transactionAttribs['options'] = ['submitForSettlement' => true];
return Configuration::gateway()->usBankAccount()->sale($token, $transactionAttribs);
}
示例15: delete
public static function delete($token)
{
return Configuration::gateway()->creditCard()->delete($token);
}