Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Additional Inherited Members | |
![]() | |
const | CUSTOM_ATTRIBUTES_KEY = 'custom_attributes' |
![]() | |
const | CUSTOM_ATTRIBUTES = 'custom_attributes' |
![]() | |
const | EXTENSION_ATTRIBUTES_KEY = 'extension_attributes' |
![]() | |
const | KEY_ITEM_ID = 'item_id' |
const | KEY_PRICE = 'price' |
const | KEY_BASE_PRICE = 'base_price' |
const | KEY_QTY = 'qty' |
const | KEY_ROW_TOTAL = 'row_total' |
const | KEY_BASE_ROW_TOTAL = 'base_row_total' |
const | KEY_ROW_TOTAL_WITH_DISCOUNT = 'row_total_with_discount' |
const | KEY_DISCOUNT_AMOUNT = 'discount_amount' |
const | KEY_BASE_DISCOUNT_AMOUNT = 'base_discount_amount' |
const | KEY_DISCOUNT_PERCENT = 'discount_percent' |
const | KEY_TAX_AMOUNT = 'tax_amount' |
const | KEY_BASE_TAX_AMOUNT = 'base_tax_amount' |
const | KEY_TAX_PERCENT = 'tax_percent' |
const | KEY_PRICE_INCL_TAX = 'price_incl_tax' |
const | KEY_BASE_PRICE_INCL_TAX = 'base_price_incl_tax' |
const | KEY_ROW_TOTAL_INCL_TAX = 'row_total_incl_tax' |
const | KEY_BASE_ROW_TOTAL_INCL_TAX = 'base_row_total_incl_tax' |
const | KEY_OPTIONS = 'options' |
const | KEY_WEEE_TAX_APPLIED_AMOUNT = 'weee_tax_applied_amount' |
const | KEY_WEEE_TAX_APPLIED = 'weee_tax_applied' |
const | KEY_NAME = 'name' |
![]() | |
getCustomAttributesCodes () | |
_getExtensionAttributes () | |
_setExtensionAttributes (\Magento\Framework\Api\ExtensionAttributesInterface $extensionAttributes) | |
![]() | |
_get ($key) | |
![]() | |
$extensionFactory | |
$attributeValueFactory | |
$customAttributesCodes | |
![]() | |
$_data | |
getBaseDiscountAmount | ( | ) |
Returns the discount amount in base currency.
Implements TotalsItemInterface.
Definition at line 254 of file Item.php.
getBasePrice | ( | ) |
Returns the item price in base currency.
Implements TotalsItemInterface.
Definition at line 65 of file Item.php.
getBasePriceInclTax | ( | ) |
Returns the price including tax in base currency.
Implements TotalsItemInterface.
Definition at line 317 of file Item.php.
getBaseRowTotal | ( | ) |
Returns the row total in base currency.
Implements TotalsItemInterface.
Definition at line 128 of file Item.php.
getBaseRowTotalInclTax | ( | ) |
Returns the row total including tax in base currency.
Implements TotalsItemInterface.
Definition at line 359 of file Item.php.
getBaseTaxAmount | ( | ) |
Returns the tax amount in base currency.
Implements TotalsItemInterface.
Definition at line 191 of file Item.php.
getDiscountAmount | ( | ) |
Returns the discount amount in quote currency.
Implements TotalsItemInterface.
Definition at line 233 of file Item.php.
getDiscountPercent | ( | ) |
Returns the discount percent.
Implements TotalsItemInterface.
Definition at line 275 of file Item.php.
getExtensionAttributes | ( | ) |
{Retrieve existing extension attributes object or create a new one.
Implements TotalsItemInterface.
Definition at line 459 of file Item.php.
getItemId | ( | ) |
Get totals item id
Implements TotalsItemInterface.
Definition at line 34 of file Item.php.
getName | ( | ) |
{Returns the product name.
Implements TotalsItemInterface.
Definition at line 441 of file Item.php.
getOptions | ( | ) |
Returns the item options data.
Implements TotalsItemInterface.
Definition at line 380 of file Item.php.
getPrice | ( | ) |
Returns the item price in quote currency.
Implements TotalsItemInterface.
Definition at line 44 of file Item.php.
getPriceInclTax | ( | ) |
Returns the price including tax in quote currency.
Implements TotalsItemInterface.
Definition at line 296 of file Item.php.
getQty | ( | ) |
Returns the item quantity.
Implements TotalsItemInterface.
Definition at line 86 of file Item.php.
getRowTotal | ( | ) |
Returns the row total in quote currency.
Implements TotalsItemInterface.
Definition at line 107 of file Item.php.
getRowTotalInclTax | ( | ) |
Returns the row total including tax in quote currency.
Implements TotalsItemInterface.
Definition at line 338 of file Item.php.
getRowTotalWithDiscount | ( | ) |
Returns the row total with discount in quote currency.
Implements TotalsItemInterface.
Definition at line 149 of file Item.php.
getTaxAmount | ( | ) |
Returns the tax amount in quote currency.
Implements TotalsItemInterface.
Definition at line 170 of file Item.php.
getTaxPercent | ( | ) |
Returns the tax percent.
Implements TotalsItemInterface.
Definition at line 212 of file Item.php.
getWeeeTaxApplied | ( | ) |
Returns the item weee tax applied in quote currency.
Implements TotalsItemInterface.
Definition at line 422 of file Item.php.
getWeeeTaxAppliedAmount | ( | ) |
Returns the item weee tax applied amount in quote currency.
Implements TotalsItemInterface.
Definition at line 401 of file Item.php.
setBaseDiscountAmount | ( | $baseDiscountAmount | ) |
Sets the discount amount in base currency.
float | $baseDiscountAmount |
Implements TotalsItemInterface.
Definition at line 265 of file Item.php.
setBasePrice | ( | $basePrice | ) |
Sets the item price in base currency.
float | $basePrice |
Implements TotalsItemInterface.
Definition at line 76 of file Item.php.
setBasePriceInclTax | ( | $basePriceInclTax | ) |
Sets the price including tax in base currency.
float | $basePriceInclTax |
Implements TotalsItemInterface.
Definition at line 328 of file Item.php.
setBaseRowTotal | ( | $baseRowTotal | ) |
Sets the row total in base currency.
float | $baseRowTotal |
Implements TotalsItemInterface.
Definition at line 139 of file Item.php.
setBaseRowTotalInclTax | ( | $baseRowTotalInclTax | ) |
Sets the row total including tax in base currency.
float | $baseRowTotalInclTax |
Implements TotalsItemInterface.
Definition at line 370 of file Item.php.
setBaseTaxAmount | ( | $baseTaxAmount | ) |
Sets the tax amount in base currency.
float | $baseTaxAmount |
Implements TotalsItemInterface.
Definition at line 202 of file Item.php.
setDiscountAmount | ( | $discountAmount | ) |
Sets the discount amount in quote currency.
float | $discountAmount |
Implements TotalsItemInterface.
Definition at line 244 of file Item.php.
setDiscountPercent | ( | $discountPercent | ) |
Sets the discount percent.
int | $discountPercent |
Implements TotalsItemInterface.
Definition at line 286 of file Item.php.
setExtensionAttributes | ( | \Magento\Quote\Api\Data\TotalsItemExtensionInterface | $extensionAttributes | ) |
{}
\Magento\Quote\Api\Data\TotalsItemExtensionInterface | $extensionAttributes |
Definition at line 470 of file Item.php.
setItemId | ( | $id | ) |
Set totals item id
int | $id |
Implements TotalsItemInterface.
Definition at line 24 of file Item.php.
setName | ( | $name | ) |
{Sets the product name.
string | $name |
Implements TotalsItemInterface.
Definition at line 449 of file Item.php.
setOptions | ( | $options | ) |
Sets the item options data.
string | $options |
Implements TotalsItemInterface.
Definition at line 391 of file Item.php.
setPrice | ( | $price | ) |
Sets the item price in quote currency.
float | $price |
Implements TotalsItemInterface.
Definition at line 55 of file Item.php.
setPriceInclTax | ( | $priceInclTax | ) |
Sets the price including tax in quote currency.
float | $priceInclTax |
Implements TotalsItemInterface.
Definition at line 307 of file Item.php.
setQty | ( | $qty | ) |
Sets the item quantity.
int | $qty |
Implements TotalsItemInterface.
Definition at line 97 of file Item.php.
setRowTotal | ( | $rowTotal | ) |
Sets the row total in quote currency.
float | $rowTotal |
Implements TotalsItemInterface.
Definition at line 118 of file Item.php.
setRowTotalInclTax | ( | $rowTotalInclTax | ) |
Sets the row total including tax in quote currency.
float | $rowTotalInclTax |
Implements TotalsItemInterface.
Definition at line 349 of file Item.php.
setRowTotalWithDiscount | ( | $rowTotalWithDiscount | ) |
Sets the row total with discount in quote currency.
float | $rowTotalWithDiscount |
Implements TotalsItemInterface.
Definition at line 160 of file Item.php.
setTaxAmount | ( | $taxAmount | ) |
Sets the tax amount in quote currency.
float | $taxAmount |
Implements TotalsItemInterface.
Definition at line 181 of file Item.php.
setTaxPercent | ( | $taxPercent | ) |
Sets the tax percent.
int | $taxPercent |
Implements TotalsItemInterface.
Definition at line 223 of file Item.php.
setWeeeTaxApplied | ( | $weeeTaxApplied | ) |
Sets the item weee tax applied in quote currency.
string | $weeeTaxApplied |
Implements TotalsItemInterface.
Definition at line 433 of file Item.php.
setWeeeTaxAppliedAmount | ( | $weeeTaxAppliedAmount | ) |
Sets the item weee tax applied amount in quote currency.
float | $weeeTaxAppliedAmount |
Implements TotalsItemInterface.
Definition at line 412 of file Item.php.