SilverCart\Checkout\PaymentCheckoutStep
PaymentCheckoutStep.
Trait to provide payment method related methods to a checkout step.
- Author: Sebastian Diel <sdiel@pixeltricks.de>
- Copyright: 2018 pixeltricks GmbH
- License: see license file in modules root directory
Synopsis
trait PaymentCheckoutStep
{
- // members
- protected PaymentMethod $paymentMethod = NULL;
- // methods
- public PaymentMethod getPaymentMethod()
- public CheckoutStep setPaymentMethod()
- public CheckoutStep initPaymentMethod()
- public CheckoutStep resetPaymentProgress()
Hierarchy
Members
protected
- $paymentMethod
—
\SilverCart\Model\Payment\PaymentMethod
Chosen payment method.
Methods
public
- getPaymentMethod() — Returns the chosen payment method.
- initPaymentMethod() — Initializes the payment method by using the checkout data.
- resetPaymentProgress() — Resets the payment specific progress information.
- setPaymentMethod() — Sets the chosen payment method.