@@ 276-280 (lines=5) @@ | ||
273 | $this->_set('applePayCards', $applePayCardArray); |
|
274 | ||
275 | $androidPayCardArray = []; |
|
276 | if (isset($customerAttribs['androidPayCards'])) { |
|
277 | foreach ($customerAttribs['androidPayCards'] AS $androidPayCard) { |
|
278 | $androidPayCardArray[] = AndroidPayCard::factory($androidPayCard); |
|
279 | } |
|
280 | } |
|
281 | $this->_set('androidPayCards', $androidPayCardArray); |
|
282 | ||
283 | $amexExpressCheckoutCardArray = []; |
@@ 464-468 (lines=5) @@ | ||
461 | ||
462 | // map each androidPayCard into its own object |
|
463 | $androidPayCardArray = []; |
|
464 | if (isset($customerAttribs['androidPayCards'])) { |
|
465 | foreach ($customerAttribs['androidPayCards'] AS $androidPayCard) { |
|
466 | $androidPayCardArray[] = AndroidPayCard::factory($androidPayCard); |
|
467 | } |
|
468 | } |
|
469 | $this->_set('androidPayCards', $androidPayCardArray); |
|
470 | ||
471 | $this->_set('paymentMethods', array_merge($this->creditCards, $this->paypalAccounts, $this->applePayCards, $this->coinbaseAccounts, $this->androidPayCards)); |