CommercePaymentType.php in Commerce Core 8.2
Namespace
Drupal\commerce_payment\AnnotationFile
modules/payment/src/Annotation/CommercePaymentType.phpView source
<?php
namespace Drupal\commerce_payment\Annotation;
use Drupal\Component\Annotation\Plugin;
/**
* Defines the payment type plugin annotation object.
*
* Plugin namespace: Plugin\Commerce\PaymentType.
*
* @see plugin_api
*
* @Annotation
*/
class CommercePaymentType extends Plugin {
/**
* The plugin ID.
*
* @var string
*/
public $id;
/**
* The payment type label.
*
* @var \Drupal\Core\Annotation\Translation
*
* @ingroup plugin_translatable
*/
public $label;
/**
* The payment workflow.
*
* @var string
*/
public $workflow = 'payment_default';
}
Classes
Name![]() |
Description |
---|---|
CommercePaymentType | Defines the payment type plugin annotation object. |