public static function Braintree_Transaction::sale in Commerce Braintree 7
new sale
Parameters
array $attribs:
Return value
array
31 calls to Braintree_Transaction::sale()
- Braintree_CreditCard::sale in braintree_php/
lib/ Braintree/ CreditCard.php - create a new sale for the current card
- Braintree_Customer::sale in braintree_php/
lib/ Braintree/ Customer.php - create a new sale for a customer
- Braintree_Transaction::saleNoValidate in braintree_php/
lib/ Braintree/ Transaction.php - roughly equivalent to the ruby bang method @access public
- Braintree_TransactionTest::testCloneTransaction in braintree_php/
tests/ integration/ TransactionTest.php - Braintree_TransactionTest::testCloneTransactionAndSubmitForSettlement in braintree_php/
tests/ integration/ TransactionTest.php
File
- braintree_php/
lib/ Braintree/ Transaction.php, line 360
Class
- Braintree_Transaction
- Creates and manages transactions
Code
public static function sale($attribs) {
return self::create(array_merge(array(
'type' => Braintree_Transaction::SALE,
), $attribs));
}