catalog/includes/apps/braintree/lib/Braintree/Customer.php 1 location
|
@@ 244-248 (lines=5) @@
|
241 |
|
$this->_set('addresses', $addressArray); |
242 |
|
|
243 |
|
$creditCardArray = []; |
244 |
|
if (isset($customerAttribs['creditCards'])) { |
245 |
|
foreach ($customerAttribs['creditCards'] AS $creditCard) { |
246 |
|
$creditCardArray[] = CreditCard::factory($creditCard); |
247 |
|
} |
248 |
|
} |
249 |
|
$this->_set('creditCards', $creditCardArray); |
250 |
|
|
251 |
|
$coinbaseAccountArray = []; |
catalog/includes/apps/braintree/lib/Braintree/CustomerGateway.php 1 location
|
@@ 428-432 (lines=5) @@
|
425 |
|
|
426 |
|
// map each creditCard into its own object |
427 |
|
$creditCardArray = []; |
428 |
|
if (isset($customerAttribs['creditCards'])) { |
429 |
|
foreach ($customerAttribs['creditCards'] AS $creditCard) { |
430 |
|
$creditCardArray[] = CreditCard::factory($creditCard); |
431 |
|
} |
432 |
|
} |
433 |
|
$this->_set('creditCards', $creditCardArray); |
434 |
|
|
435 |
|
// map each coinbaseAccount into its own object |