creditNoValidate() public static méthode

public static creditNoValidate ( type $customerId, type $transactionAttribs ) : Transaction
$customerId type
$transactionAttribs type
Résultat Transaction
 public function testCreditNoValidate_throwsIfInvalid()
 {
     $customer = Braintree\Customer::createNoValidate(['creditCard' => ['number' => '5105105105105100', 'expirationDate' => '05/12']]);
     $creditCard = $customer->creditCards[0];
     $this->setExpectedException('Braintree\\Exception\\ValidationsFailed');
     Braintree\Customer::creditNoValidate($customer->id, ['amount' => 'invalid']);
 }