Log in
Interface

TierPriceInterface

Magento\Catalog\Api\Data\TierPriceInterface

What it does

This interface defines the contract for tier pricing data objects in Magento 2.

Developers use this when working with quantity-based pricing rules that offer discounts when customers purchase products in bulk.

It manages price values, price types (fixed or discount), customer group restrictions, quantity thresholds, and website scope for tier pricing.

Public Methods

  • setPrice()
  • getPrice()
  • setPriceType()
  • getPriceType()
  • setWebsiteId()
  • getWebsiteId()
  • setSku()
  • getSku()
  • setCustomerGroup()
  • getCustomerGroup()
  • setQuantity()
  • getQuantity()
  • getExtensionAttributes()
  • setExtensionAttributes()