PHP Class Smalot\Magento\Cart\CartPayment

Inheritance: extends Smalot\Magento\MagentoModuleAbstract
Show file Open project: smalot/magento-client

Public Methods

Method Description
getList ( integer $quoteId, string $store = null ) : Smalot\Magento\ActionInterface Allows you to retrieve a list of available payment methods for a shopping cart (quote).
getMethod ( integer $quoteId, array $paymentData, string $store = null ) : Smalot\Magento\ActionInterface Allows you to set a payment method for a shopping cart (quote).

Method Details

getList() public method

Allows you to retrieve a list of available payment methods for a shopping cart (quote).
public getList ( integer $quoteId, string $store = null ) : Smalot\Magento\ActionInterface
$quoteId integer
$store string
return Smalot\Magento\ActionInterface

getMethod() public method

Allows you to set a payment method for a shopping cart (quote).
public getMethod ( integer $quoteId, array $paymentData, string $store = null ) : Smalot\Magento\ActionInterface
$quoteId integer
$paymentData array
$store string
return Smalot\Magento\ActionInterface