PHP Class Smalot\Magento\CustomerBalance\StoreCreditQuote

Inheritance: extends Smalot\Magento\MagentoModuleAbstract
Mostrar archivo Open project: smalot/magento-client

Public Methods

Method Description
removeAmount ( string $quoteId, string $store = null ) : Smalot\Magento\ActionInterface Allows you to remove store credit amount from the shopping cart (quote) and increase the customer store credit.
setAmount ( string $quoteId, string $store = null ) : Smalot\Magento\ActionInterface Allows you to set amount from the customer store credit to the shopping cart.

Method Details

removeAmount() public method

Allows you to remove store credit amount from the shopping cart (quote) and increase the customer store credit.
public removeAmount ( string $quoteId, string $store = null ) : Smalot\Magento\ActionInterface
$quoteId string
$store string
return Smalot\Magento\ActionInterface

setAmount() public method

Allows you to set amount from the customer store credit to the shopping cart.
public setAmount ( string $quoteId, string $store = null ) : Smalot\Magento\ActionInterface
$quoteId string
$store string
return Smalot\Magento\ActionInterface