public function MailchimpEcommerce::getCustomer in Mailchimp 8
Same name in this branch
- 8 lib/mailchimp-api-php/src/MailchimpEcommerce.php \Mailchimp\MailchimpEcommerce::getCustomer()
- 8 lib/mailchimp-api-php/tests/src/MailchimpEcommerce.php \Mailchimp\Tests\MailchimpEcommerce::getCustomer()
@inheritdoc
Overrides MailchimpEcommerce::getCustomer
File
- lib/
mailchimp-api-php/ tests/ src/ MailchimpEcommerce.php, line 76
Class
- MailchimpEcommerce
- Mailchimp Ecommerce library test cases.
Namespace
Mailchimp\TestsCode
public function getCustomer($store_id, $customer_id, $parameters = []) {
parent::getCustomer($store_id, $customer_id, $parameters);
if (isset($this->customers[$store_id])) {
return isset($this->customers[$store_id][$customer_id]) ? $this->customers[$store_id][$customer_id] : NULL;
}
return NULL;
}