PHP 클래스 Smalot\Magento\Cart\CartProduct

상속: extends Smalot\Magento\MagentoModuleAbstract
파일 보기 프로젝트 열기: smalot/magento-client

공개 메소드들

메소드 설명
add ( integer $quoteId, array $productsData, string $storeId = null ) : Smalot\Magento\ActionInterface Allows you to add one or more products to the shopping cart (quote).
getList ( integer $quoteId, string $store = null ) : Smalot\Magento\ActionInterface Allows you to retrieve the list of products in the shopping cart (quote).
moveToCustomerQuote ( integer $quoteId, array $productsData, string $store = null ) : Smalot\Magento\ActionInterface Allows you to move products from the current quote to a customer quote.
remove ( integer $quoteId, array $productsData, string $store = null ) : Smalot\Magento\ActionInterface Allows you to remove one or several products from a shopping cart (quote).
update ( integer $quoteId, array $productsData, string $store = null ) : Smalot\Magento\ActionInterface Allows you to update one or several products in the shopping cart (quote).

메소드 상세

add() 공개 메소드

Allows you to add one or more products to the shopping cart (quote).
public add ( integer $quoteId, array $productsData, string $storeId = null ) : Smalot\Magento\ActionInterface
$quoteId integer
$productsData array
$storeId string
리턴 Smalot\Magento\ActionInterface

getList() 공개 메소드

Allows you to retrieve the list of products in the shopping cart (quote).
public getList ( integer $quoteId, string $store = null ) : Smalot\Magento\ActionInterface
$quoteId integer
$store string
리턴 Smalot\Magento\ActionInterface

moveToCustomerQuote() 공개 메소드

Allows you to move products from the current quote to a customer quote.
public moveToCustomerQuote ( integer $quoteId, array $productsData, string $store = null ) : Smalot\Magento\ActionInterface
$quoteId integer
$productsData array
$store string
리턴 Smalot\Magento\ActionInterface

remove() 공개 메소드

Allows you to remove one or several products from a shopping cart (quote).
public remove ( integer $quoteId, array $productsData, string $store = null ) : Smalot\Magento\ActionInterface
$quoteId integer
$productsData array
$store string
리턴 Smalot\Magento\ActionInterface

update() 공개 메소드

Allows you to update one or several products in the shopping cart (quote).
public update ( integer $quoteId, array $productsData, string $store = null ) : Smalot\Magento\ActionInterface
$quoteId integer
$productsData array
$store string
리턴 Smalot\Magento\ActionInterface