UserSpecificPricelist
class UserSpecificPricelist
UserSpecificPricelist - Defines which users have which discounts. We can also set user specific discount to pricelist using this class
Properties
| protected int | $id | ||
| protected int | $priority | Priority of priclist for user | |
| protected float|null | $discount | Discount value for pricelist and user This discount is for single item | |
| protected array | $discounts | Array of quantity dependant discounts | |
| protected Pricelist | $pricelist | Pricelist for specific discount | |
| protected User | $user | User for specific discount |
Methods
int
getId()
No description
setId(int $id)
No description
int
getPriority()
No description
setPriority(int $priority)
No description
float|null
getDiscount()
No description
setDiscount(float|null $discount)
No description
array|null
getDiscounts()
No description
setDiscounts(array|null $discounts)
No description
getPricelist()
No description