class Payment in Payment 8.2
Same name in this branch
- 8.2 src/Payment.php \Drupal\payment\Payment
- 8.2 src/Entity/Payment.php \Drupal\payment\Entity\Payment
Provides wrappers for services.
Hierarchy
- class \Drupal\payment\Payment
Expanded class hierarchy of Payment
12 files declare their use of Payment
- BasicWebTest.php in tests/
src/ Functional/ Plugin/ Payment/ LineItem/ BasicWebTest.php - Generate.php in src/
Tests/ Generate.php - PaymentLineItemPaymentBasicFormElements.php in modules/
payment_test/ src/ PaymentLineItemPaymentBasicFormElements.php - PaymentLineItemsInputWebTest.php in tests/
src/ Functional/ Element/ PaymentLineItemsInputWebTest.php - PaymentMethodTest.php in tests/
src/ Functional/ Controller/ PaymentMethodTest.php
8 string references to 'Payment'
- payment.info.yml in ./
payment.info.yml - payment.info.yml
- payment.links.menu.yml in ./
payment.links.menu.yml - payment.links.menu.yml
- payment.routing.yml in ./
payment.routing.yml - payment.routing.yml
- PaymentAdministrationCategoryWebTest::testOverview in tests/
src/ Functional/ PaymentAdministrationCategoryWebTest.php - Tests administrative overview.
- payment_form.info.yml in modules/
payment_form/ payment_form.info.yml - modules/payment_form/payment_form.info.yml
File
- src/
Payment.php, line 8
Namespace
Drupal\paymentView source
class Payment {
/**
* Returns the payment method manager.
*
* @return \Drupal\payment\Plugin\Payment\Method\PaymentMethodManagerInterface
*/
public static function methodManager() {
return \Drupal::service('plugin.manager.payment.method');
}
/**
* Returns the payment method configuration manager.
*
* @return \Drupal\payment\Plugin\Payment\MethodConfiguration\PaymentMethodConfigurationManagerInterface
*/
public static function methodConfigurationManager() {
return \Drupal::service('plugin.manager.payment.method_configuration');
}
/**
* Returns the payment line item manager.
*
* @return \Drupal\payment\Plugin\Payment\LineItem\PaymentLineItemManagerInterface
*/
public static function lineItemManager() {
return \Drupal::service('plugin.manager.payment.line_item');
}
/**
* Returns the payment status manager.
*
* @return \Drupal\payment\Plugin\Payment\Status\PaymentStatusManagerInterface
*/
public static function statusManager() {
return \Drupal::service('plugin.manager.payment.status');
}
/**
* Returns the payment type manager.
*
* @return \Drupal\payment\Plugin\Payment\Type\PaymentTypeManagerInterface
*/
public static function typeManager() {
return \Drupal::service('plugin.manager.payment.type');
}
}
Members
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Payment:: |
public static | function | Returns the payment line item manager. | |
Payment:: |
public static | function | Returns the payment method configuration manager. | |
Payment:: |
public static | function | Returns the payment method manager. | |
Payment:: |
public static | function | Returns the payment status manager. | |
Payment:: |
public static | function | Returns the payment type manager. |