class Braintree_AddOn in Commerce Braintree 7
Hierarchy
- class \Braintree
- class \Braintree_Modification
- class \Braintree_AddOn
- class \Braintree_Modification
Expanded class hierarchy of Braintree_AddOn
File
- braintree_php/
lib/ Braintree/ AddOn.php, line 2
View source
class Braintree_AddOn extends Braintree_Modification {
public static function all() {
$response = Braintree_Http::get('/add_ons');
$addOns = array(
"addOn" => $response['addOns'],
);
return Braintree_Util::extractAttributeAsArray($addOns, 'addOn');
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Braintree:: |
public static | function | ||
Braintree:: |
public | function | ||
Braintree:: |
protected | function | @ignore don't permit cloning the instances (like $x = clone $v) | |
Braintree:: |
protected | function | @ignore don't permit an explicit call of the constructor! (like $t = new Braintree_Transaction()) | 1 |
Braintree:: |
public | function | returns private/nonexistent instance properties @ignore @access public | |
Braintree:: |
public | function | used by isset() and empty() @access public | |
Braintree_AddOn:: |
public static | function | ||
Braintree_Modification:: |
public static | function | ||
Braintree_Modification:: |
protected | function |