commerce_square-8.x-1.x-dev/src/Plugin/Commerce/PaymentGateway/SquareInterface.php

src/Plugin/Commerce/PaymentGateway/SquareInterface.php
<?php

namespace Drupal\commerce_square\Plugin\Commerce\PaymentGateway;

use Drupal\commerce_payment\Plugin\Commerce\PaymentGateway\OnsitePaymentGatewayInterface;
use Drupal\commerce_payment\Plugin\Commerce\PaymentGateway\SupportsAuthorizationsInterface;
use Drupal\commerce_payment\Plugin\Commerce\PaymentGateway\SupportsRefundsInterface;

/**
 * Provides the interface for the Square payment gateway.
 */
interface SquareInterface extends OnsitePaymentGatewayInterface, SupportsAuthorizationsInterface, SupportsRefundsInterface {

  /**
   * Gets a configured API client.
   *
   * @return \Square\SquareClient
   *   The API client.
   */
  public function getApiClient();

}

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc