PHP Class Smalot\Magento\CustomerBalance\StoreCreditQuote

Inheritance: extends Smalot\Magento\MagentoModuleAbstract
Afficher le fichier Open project: smalot/magento-client

Méthodes publiques

Méthode 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 méthode

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
Résultat Smalot\Magento\ActionInterface

setAmount() public méthode

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
Résultat Smalot\Magento\ActionInterface