You are here

public function OrderHandlerInterface::buildOrder in Mailchimp E-Commerce 8

Returns customer and order data formatted for use with Mailchimp.

Parameters

\Drupal\commerce_order\Entity\Order $order: The Commerce Order.

array: Order customer.

Return value

array Array of order data.

1 method overrides OrderHandlerInterface::buildOrder()
OrderHandler::buildOrder in src/OrderHandler.php
@inheritdoc

File

src/OrderHandlerInterface.php, line 69

Class

OrderHandlerInterface
Interface for the Order handler.

Namespace

Drupal\mailchimp_ecommerce

Code

public function buildOrder(Order $order, array $customer);