class PurchaseCreditsPayment implements PurchaseCreditsPaymentInterface

Services related to PurchaseCredits Payment

Properties

private ConfigServiceInterface $configService Stores ConfigServiceInterface
private PaymentServiceInterface $paymentService Stores PaymentService
private TranslatorInterface $translator Stores Translator

Methods

__construct(ConfigServiceInterface $configService, PaymentServiceInterface $paymentService, TranslatorInterface $translator)

No description

payment(PurchaseCredits $purchaseCredits, $user)

Defines payment for Credits purchased

Details

at line 42
__construct(ConfigServiceInterface $configService, PaymentServiceInterface $paymentService, TranslatorInterface $translator)

Parameters

ConfigServiceInterface $configService
PaymentServiceInterface $paymentService
TranslatorInterface $translator

at line 56
payment(PurchaseCredits $purchaseCredits, $user)

Defines payment for Credits purchased

Parameters

PurchaseCredits $purchaseCredits
$user