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