PHP 클래스 Smalot\Magento\Cart\Cart

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

공개 메소드들

메소드 설명
create ( string $storeId = null ) : Smalot\Magento\ActionInterface Allows you to create an empty shopping cart.
getInfo ( integer $quoteId, string $store = null ) : Smalot\Magento\ActionInterface Allows you to retrieve full information about the shopping cart (quote).
getLicense ( integer $quoteId, string $store = null ) : Smalot\Magento\ActionInterface Allows you to retrieve the website license agreement for the quote according to the website (store).
getTotals ( integer $quoteId, string $store = null ) : Smalot\Magento\ActionInterface Allows you to retrieve total prices for a shopping cart (quote).
order ( integer $quoteId, string $store = null, array $agreements = null ) : Smalot\Magento\ActionInterface Allows you to create an order from a shopping cart (quote).

메소드 상세

create() 공개 메소드

Allows you to create an empty shopping cart.
public create ( string $storeId = null ) : Smalot\Magento\ActionInterface
$storeId string
리턴 Smalot\Magento\ActionInterface

getInfo() 공개 메소드

Allows you to retrieve full information about the shopping cart (quote).
public getInfo ( integer $quoteId, string $store = null ) : Smalot\Magento\ActionInterface
$quoteId integer
$store string
리턴 Smalot\Magento\ActionInterface

getLicense() 공개 메소드

Allows you to retrieve the website license agreement for the quote according to the website (store).
public getLicense ( integer $quoteId, string $store = null ) : Smalot\Magento\ActionInterface
$quoteId integer
$store string
리턴 Smalot\Magento\ActionInterface

getTotals() 공개 메소드

Allows you to retrieve total prices for a shopping cart (quote).
public getTotals ( integer $quoteId, string $store = null ) : Smalot\Magento\ActionInterface
$quoteId integer
$store string
리턴 Smalot\Magento\ActionInterface

order() 공개 메소드

Before placing the order, you need to add the customer, customer address, shipping and payment methods.
public order ( integer $quoteId, string $store = null, array $agreements = null ) : Smalot\Magento\ActionInterface
$quoteId integer
$store string
$agreements array
리턴 Smalot\Magento\ActionInterface