You are here

public function CustomerHandlerInterface::getCustomerTotalOrders in Mailchimp E-Commerce 8

Returns the total number of orders made by a customer.

Parameters

string $email_address: The email address associated with the customer.

Return value

int The total number of orders.

1 method overrides CustomerHandlerInterface::getCustomerTotalOrders()
CustomerHandler::getCustomerTotalOrders in src/CustomerHandler.php
@inheritdoc

File

src/CustomerHandlerInterface.php, line 103

Class

CustomerHandlerInterface
Interface for the Customer handler.

Namespace

Drupal\mailchimp_ecommerce

Code

public function getCustomerTotalOrders($email_address);