当前位置: 首页>>代码示例>>PHP>>正文


PHP Configuration::gateway方法代码示例

本文整理汇总了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();
 }
开发者ID:atulparmar,项目名称:braintree_php,代码行数:4,代码来源:Discount.php

示例2: generateWithoutCustomerIdSignature

 /**
  *
  * @return string client token retrieved from server
  */
 public static function generateWithoutCustomerIdSignature()
 {
     return Configuration::gateway()->clientToken()->generateWithoutCustomerIdSignature();
 }
开发者ID:atulparmar,项目名称:braintree_php,代码行数:8,代码来源:ClientToken.php

示例3: delete

 public static function delete($token)
 {
     return Configuration::gateway()->paymentMethod()->delete($token);
 }
开发者ID:njbhatt18,项目名称:PHP_Brain_tree,代码行数:4,代码来源:PaymentMethod.php

示例4: update

 public static function update($merchant_account_id, $attributes)
 {
     return Configuration::gateway()->merchantAccount()->update($merchant_account_id, $attributes);
 }
开发者ID:braintree,项目名称:braintree_php,代码行数:4,代码来源:MerchantAccount.php

示例5: refund

 public static function refund($transactionId, $amount = null)
 {
     return Configuration::gateway()->transaction()->refund($transactionId, $amount);
 }
开发者ID:braintree,项目名称:braintree_php,代码行数:4,代码来源:Transaction.php

示例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);
 }
开发者ID:njbhatt18,项目名称:PHP_Brain_tree,代码行数:11,代码来源:SettlementBatchSummary.php

示例7: all

 /**
  * static methods redirecting to gateway
  *
  * @return AddOn[]
  */
 public static function all()
 {
     return Configuration::gateway()->addOn()->all();
 }
开发者ID:atulparmar,项目名称:braintree_php,代码行数:9,代码来源:AddOn.php

示例8: cancel

 public static function cancel($subscriptionId)
 {
     return Configuration::gateway()->subscription()->cancel($subscriptionId);
 }
开发者ID:atulparmar,项目名称:braintree_php,代码行数:4,代码来源:Subscription.php

示例9: search

 public static function search($query)
 {
     return Configuration::gateway()->creditCardVerification()->search($query);
 }
开发者ID:EfraimKrug,项目名称:Canneur,代码行数:4,代码来源:CreditCardVerification.php

示例10: sale

 public static function sale($token, $transactionAttribs)
 {
     return Configuration::gateway()->coinbaseAccount()->sale($token, $transactionAttribs);
 }
开发者ID:atulparmar,项目名称:braintree_php,代码行数:4,代码来源:CoinbaseAccount.php

示例11: updateNoValidate

 public static function updateNoValidate($customerOrId, $addressId, $attributes)
 {
     return Configuration::gateway()->address()->updateNoValidate($customerOrId, $addressId, $attributes);
 }
开发者ID:njbhatt18,项目名称:PHP_Brain_tree,代码行数:4,代码来源:Address.php

示例12: submitForPartialSettlement

 public static function submitForPartialSettlement($transactionId, $amount)
 {
     return Configuration::gateway()->transaction()->submitForPartialSettlement($transactionId, $amount);
 }
开发者ID:njbhatt18,项目名称:PHP_Brain_tree,代码行数:4,代码来源:Transaction.php

示例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);
 }
开发者ID:braintree,项目名称:braintree_php,代码行数:10,代码来源:Customer.php

示例14: sale

 public static function sale($token, $transactionAttribs)
 {
     $transactionAttribs['options'] = ['submitForSettlement' => true];
     return Configuration::gateway()->usBankAccount()->sale($token, $transactionAttribs);
 }
开发者ID:braintree,项目名称:braintree_php,代码行数:5,代码来源:UsBankAccount.php

示例15: delete

 public static function delete($token)
 {
     return Configuration::gateway()->creditCard()->delete($token);
 }
开发者ID:njbhatt18,项目名称:PHP_Brain_tree,代码行数:4,代码来源:CreditCard.php


注:本文中的Configuration::gateway方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。