PHP Class Dumplie\Customer\Application\Query\Result\CartItem

ファイルを表示 Open project: dumplie/dumplie

Public Methods

Method Description
__construct ( string $sku, integer $quantity, float $price, string $currency, Metadata $metadata ) CartItem constructor.
currency ( ) : string
metadata ( ) : Metadata
price ( ) : float
quantity ( ) : integer
sku ( ) : string

Method Details

__construct() public method

CartItem constructor.
public __construct ( string $sku, integer $quantity, float $price, string $currency, Metadata $metadata )
$sku string
$quantity integer
$price float
$currency string
$metadata Dumplie\Metadata\Metadata

currency() public method

public currency ( ) : string
return string

metadata() public method

public metadata ( ) : Metadata
return Dumplie\Metadata\Metadata

price() public method

public price ( ) : float
return float

quantity() public method

public quantity ( ) : integer
return integer

sku() public method

public sku ( ) : string
return string