AbstractPayment
abstract class AbstractPayment implements PaymentTypeInterface (View source)
Properties
protected Cart | $cart | The instance of the cart. |
|
protected Order | $order | The instance of the order. |
|
protected | $config | Any config for this payment provider. |
|
protected | $data | Data storage. |
Methods
withData(array $data)
Set any data the provider might need.
setConfig(array $config)
Set any configuration on the driver.
Details
PaymentTypeInterface
cart(Cart $cart)
Set the cart.
PaymentTypeInterface
order(Order $order)
Set the order.
PaymentTypeInterface
withData(array $data)
Set any data the provider might need.
PaymentTypeInterface
setConfig(array $config)
Set any configuration on the driver.