escrow() public static method

public static escrow ( $transactionId )
コード例 #1
0
 public function createEscrowedTransaction()
 {
     $result = Braintree\Transaction::sale(['merchantAccountId' => Test\Helper::nonDefaultSubMerchantAccountId(), 'amount' => '100.00', 'creditCard' => ['number' => '5105105105105100', 'expirationDate' => '05/12'], 'options' => ['holdInEscrow' => true], 'serviceFeeAmount' => '1.00']);
     Test\Helper::escrow($result->transaction->id);
     return $result->transaction;
 }