本文整理匯總了PHP中Braintree_Configuration::gateway方法的典型用法代碼示例。如果您正苦於以下問題:PHP Braintree_Configuration::gateway方法的具體用法?PHP Braintree_Configuration::gateway怎麽用?PHP Braintree_Configuration::gateway使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類Braintree_Configuration
的用法示例。
在下文中一共展示了Braintree_Configuration::gateway方法的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: generate
public static function generate($settlement_date, $groupByCustomField = NULL)
{
return Braintree_Configuration::gateway()->settlementBatchSummary()->generate($settlement_date, $groupByCustomField);
}
示例2: updateFromTransparentRedirect
public static function updateFromTransparentRedirect($queryString)
{
return Braintree_Configuration::gateway()->customer()->updateFromTransparentRedirect($queryString);
}
示例3: generateWithoutCustomerIdSignature
public static function generateWithoutCustomerIdSignature()
{
return Braintree_Configuration::gateway()->clientToken()->generateWithoutCustomerIdSignature();
}
示例4: create
public static function create($token)
{
return Braintree_Configuration::gateway()->paymentMethodNonce()->create($token);
}
示例5: update
public static function update($merchant_account_id, $attributes)
{
return Braintree_Configuration::gateway()->merchantAccount()->update($merchant_account_id, $attributes);
}
示例6: cancel
public static function cancel($subscriptionId)
{
return Braintree_Configuration::gateway()->subscription()->cancel($subscriptionId);
}
示例7: parseAndValidateQueryString
public static function parseAndValidateQueryString($queryString)
{
return Braintree_Configuration::gateway()->transparentRedirect()->parseAndValidateQueryString($queryString);
}
示例8: find
public static function find($nonce)
{
return Braintree_Configuration::gateway()->paymentMethodNonce()->find($nonce);
}
示例9: updateNoValidate
public static function updateNoValidate($customerOrId, $addressId, $attributes)
{
return Braintree_Configuration::gateway()->address()->updateNoValidate($customerOrId, $addressId, $attributes);
}
示例10: delete
public static function delete($token)
{
return Braintree_Configuration::gateway()->creditCard()->delete($token);
}
示例11: all
public static function all()
{
return Braintree_Configuration::gateway()->addOn()->all();
}
示例12: delete
public static function delete($token)
{
return Braintree_Configuration::gateway()->paymentMethod()->delete($token);
}
示例13: search
public static function search($query)
{
return Braintree_Configuration::gateway()->creditCardVerification()->search($query);
}
示例14: sale
public static function sale($token, $transactionAttribs)
{
return Braintree_Configuration::gateway()->payPalAccount()->sale($token, $transactionAttribs);
}
示例15: refund
public static function refund($transactionId, $amount = null)
{
return Braintree_Configuration::gateway()->transaction()->refund($transactionId, $amount);
}