當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。