PHP Class Smalot\Magento\GiftMessage\GiftMessage

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

Public Methods

Method Description
setForQuote ( string $quoteId, array $giftMessage, string $store ) : Smalot\Magento\ActionInterface Allows you to set a global gift message for the shopping cart (quote).
setForQuoteItem ( string $quoteItemId, array $giftMessage, string $store ) : Smalot\Magento\ActionInterface Allows you to set a gift message for an item in the shopping cart (quote).
setForQuoteProduct ( string $quoteId, array $productsAndMessages, string $store ) : Smalot\Magento\ActionInterface Allows you to set a gift message for a product in the shopping cart (quote).

Method Details

setForQuote() public method

Allows you to set a global gift message for the shopping cart (quote).
public setForQuote ( string $quoteId, array $giftMessage, string $store ) : Smalot\Magento\ActionInterface
$quoteId string
$giftMessage array
$store string
return Smalot\Magento\ActionInterface

setForQuoteItem() public method

Allows you to set a gift message for an item in the shopping cart (quote).
public setForQuoteItem ( string $quoteItemId, array $giftMessage, string $store ) : Smalot\Magento\ActionInterface
$quoteItemId string
$giftMessage array
$store string
return Smalot\Magento\ActionInterface

setForQuoteProduct() public method

Allows you to set a gift message for a product in the shopping cart (quote).
public setForQuoteProduct ( string $quoteId, array $productsAndMessages, string $store ) : Smalot\Magento\ActionInterface
$quoteId string
$productsAndMessages array
$store string
return Smalot\Magento\ActionInterface