Frontend | Backend | Api

Discounts\Models\Backend\CodeUrlProduct

CodeUrlProduct

Method Description Returns
getId() int
getDiscountCodeUrl() CodeUrl
getProduct() BaseProduct
getQuantity() Quantity of the product to add in the cart. Integer positive (not 0) number, default 1. int
isNewRecord() Check if the record is a new record bool
isHierarchicalModel() Check whether a model is a hierarchical model, i.e. can have children bool
isVersionedModel() Check whether a model is versioned bool