find() public static méthode

public static find ( $merchant_account_id )
 public function testFind_throwsIfNotFound()
 {
     $this->setExpectedException('Braintree\\Exception\\NotFound', 'merchant account with id does-not-exist not found');
     Braintree\MerchantAccount::find('does-not-exist');
 }
Exemple #2
0
 /**
  * @param string $merchantId
  * @return MerchantAccount
  */
 public function findMerchant($merchantId)
 {
     return MerchantAccount::find($merchantId);
 }