public function OrderHandlerInterface::addOrder in Mailchimp E-Commerce 8
Adds a new order to the current Mailchimp store.
Parameters
string $order_id: The order ID.
array $customer: Associative array of customer information.
- id (string): A unique identifier for the customer.
array $order: Associative array of order information.
- currency_code (string): The three-letter ISO 4217 currency code.
- order_total (float): The total for the order.
- lines (array): An array of the order's line items.
See also
http://developer.mailchimp.com/documentation/mailchimp/reference/ecommer...
1 method overrides OrderHandlerInterface::addOrder()
- OrderHandler::addOrder in src/
OrderHandler.php - @inheritdoc
File
- src/
OrderHandlerInterface.php, line 40
Class
- OrderHandlerInterface
- Interface for the Order handler.
Namespace
Drupal\mailchimp_ecommerceCode
public function addOrder($order_id, array $customer, array $order);