public function SquareApi::getClient in Commerce Square Connect 7
Gets the client.
Return value
\SquareConnect\ApiClient The API client.
4 calls to SquareApi::getClient()
- SquareApi::capture in includes/
SquareApi.php - Captures a transaction.
- SquareApi::getLocations in includes/
SquareApi.php - Get locations.
- SquareApi::refund in includes/
SquareApi.php - Refunds a transaction.
- SquareApi::void in includes/
SquareApi.php - Voids a transaction.
File
- includes/
SquareApi.php, line 62 - Square Connect SDK wrapper.
Class
- SquareApi
- A wrapper around the Square Connect SDK.
Code
public function getClient() {
return $this->client;
}