Interface
TierPriceInterface
Magento\Catalog\Api\Data\TierPriceInterface
What it does
This interface defines the contract for tier pricing data in Magento 2.
Developers use it when working with product tier prices, which allow merchants to offer discounts based on quantity purchased.
It provides methods to get and set price values, price types (fixed or discount), customer groups, quantities, SKUs, and website IDs for tier pricing rules.
Public Methods
- setPrice()
- getPrice()
- setPriceType()
- getPriceType()
- setWebsiteId()
- getWebsiteId()
- setSku()
- getSku()
- setCustomerGroup()
- getCustomerGroup()
- setQuantity()
- getQuantity()
- getExtensionAttributes()
- setExtensionAttributes()