Purchasable
interface Purchasable (View source)
Methods
Get the purchasable prices.
Return the purchasable unit quantity.
Return the purchasable tax class.
Return the purchasable tax reference.
Return what type of purchasable this is, i.e. physical,digital,shipping.
Return the description for the purchasable.
Return the option for this purchasable.
Return a unique string which identifies the purchasable item.
Returns whether the purchasable item is shippable.
Return the thumbnail for the purchasable item.
Details
Collection
getPrices()
Get the purchasable prices.
int
getUnitQuantity()
Return the purchasable unit quantity.
TaxClass
getTaxClass()
Return the purchasable tax class.
string|null
getTaxReference()
Return the purchasable tax reference.
string
getType()
Return what type of purchasable this is, i.e. physical,digital,shipping.
string
getDescription()
Return the description for the purchasable.
string|null
getOption()
Return the option for this purchasable.
string
getIdentifier()
Return a unique string which identifies the purchasable item.
bool
isShippable()
Returns whether the purchasable item is shippable.
string
getThumbnail()
Return the thumbnail for the purchasable item.