ShippingOption
class ShippingOption implements Purchasable (View source)
Methods
No description
Get prices for the purchasable item.
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 name for the purchasable.
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
__construct($name, $description, $identifier, Price $price, TaxClass $taxClass, $taxReference = null, $option = null, $meta = null)
No description
Price
getPrice()
Get the price for the purchasable item.
Collection
getPrices()
Get prices for the purchasable item.
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
getName()
Return the name for the purchasable.
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.