Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Public Member Functions
SaleableInterface Interface Reference
Inheritance diagram for SaleableInterface:
Product Product

Public Member Functions

 getPriceInfo ()
 
 getTypeId ()
 
 getId ()
 
 getQty ()
 

Detailed Description

Interface SaleableInterface

@api

Since
100.0.2

Definition at line 15 of file SaleableInterface.php.

Member Function Documentation

◆ getId()

getId ( )

Returns identifier of saleable item

Returns
int

Implemented in Product.

◆ getPriceInfo()

getPriceInfo ( )

Returns PriceInfo container of saleable item

Returns
\Magento\Framework\Pricing\PriceInfoInterface

Implemented in Product.

◆ getQty()

getQty ( )

Returns quantity of saleable item

Returns
float

Implemented in Product.

◆ getTypeId()

getTypeId ( )

Returns type identifier of saleable item

Returns
array|string

Implemented in Product.


The documentation for this interface was generated from the following file: