本文整理汇总了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);
}