public function MailchimpEcommerce::addStore in Mailchimp 8
Same name in this branch
- 8 lib/mailchimp-api-php/src/MailchimpEcommerce.php \Mailchimp\MailchimpEcommerce::addStore()
- 8 lib/mailchimp-api-php/tests/src/MailchimpEcommerce.php \Mailchimp\Tests\MailchimpEcommerce::addStore()
@inheritdoc
Overrides MailchimpEcommerce::addStore
File
- lib/
mailchimp-api-php/ tests/ src/ MailchimpEcommerce.php, line 62
Class
- MailchimpEcommerce
- Mailchimp Ecommerce library test cases.
Namespace
Mailchimp\TestsCode
public function addStore($id, $store, $parameters = [], $batch = FALSE) {
parent::addStore($id, $store, $batch);
$parameters = [
'id' => $id,
];
$parameters += $store;
$this->stores[$id] = (object) $parameters;
}