You are here

public function SquareInterface::getApiClient in Commerce Square Connect 8

Gets a configured API client.

Return value

\SquareConnect\ApiClient The API client.

Deprecated

Use \Drupal\commerce_square\Connect::getClient

1 method overrides SquareInterface::getApiClient()
Square::getApiClient in src/Plugin/Commerce/PaymentGateway/Square.php
Gets a configured API client.

File

src/Plugin/Commerce/PaymentGateway/SquareInterface.php, line 22

Class

SquareInterface
Provides the interface for the Square payment gateway.

Namespace

Drupal\commerce_square\Plugin\Commerce\PaymentGateway

Code

public function getApiClient();