You are here

public function ProductHandlerInterface::getProductVariant in Mailchimp E-Commerce 8

Gets a product variant from Mailchimp.

Parameters

string $product_id: Unique ID of the product.

string $product_variant_id: ID of the product variant.

Return value

object Mailchimp product variant object.

1 method overrides ProductHandlerInterface::getProductVariant()
ProductHandler::getProductVariant in src/ProductHandler.php
@inheritdoc

File

src/ProductHandlerInterface.php, line 109

Class

ProductHandlerInterface
Interface for the Product handler.

Namespace

Drupal\mailchimp_ecommerce

Code

public function getProductVariant($product_id, $product_variant_id);