You are here

public function StoreHandlerInterface::addStore in Mailchimp E-Commerce 8

Add a new store to Mailchimp.

Parameters

string $store_id: The ID of the store.

array $store: Associative array of store information.

  • list_id (string) The id for the list associated with the store.
  • name (string) The name of the store.
  • currency_code (string) The three-letter ISO 4217 code for the currency that the store accepts.

string $platform: The eCommerce platform being used to create this store. This module's submodules use 'Drupal Ubercart' and 'Drupal Commerce'.

1 method overrides StoreHandlerInterface::addStore()
StoreHandler::addStore in src/StoreHandler.php
@inheritdoc

File

src/StoreHandlerInterface.php, line 36

Class

StoreHandlerInterface
Interface for the Store handler.

Namespace

Drupal\mailchimp_ecommerce

Code

public function addStore($store_id, $store, $platform);