Log in
Model

TierPrice

Magento\Catalog\Model\Product\TierPrice

What it does

This class represents a tier pricing model for products in Magento 2.

Developers use it to manage quantity-based discounts where customers get different prices based on purchase quantities.

It handles tier price attributes like minimum quantity, price value, and customer group eligibility through getter/setter methods.

Public Methods

  • getQty()
  • getValue()
  • setQty()
  • setValue()
  • getCustomerGroupId()
  • setCustomerGroupId()
  • getExtensionAttributes()
  • setExtensionAttributes()