public
string
|
#
getProductModel( )
Returns the product model of the order item.
Returns the product model of the order item.
Returns
string Product model of the order item.
|
public
string
|
#
getName( )
Returns the name of the order item.
Returns the name of the order item.
Returns
string Name of the order item.
|
public
float
|
#
getPrice( )
Returns the price of the order item.
Returns the price of the order item.
Returns
float Price of the order item.
|
public
float
|
#
getQuantity( )
Returns the quantity of the order item.
Returns the quantity of the order item.
Returns
float Quantity of the order item.
|
public
float
|
#
getFinalPrice( )
Returns the final price of the order item.
Returns the final price of the order item.
Returns
float Final price of the order item.
|
public
float
|
#
getTax( )
Returns the tax of the order item.
Returns the tax of the order item.
Returns
float Tax of the order item.
|
public
boolean
|
#
isTaxAllowed( )
Is tax of the order item allowed?
Is tax of the order item allowed?
Returns
boolean Is tax of the order item allowed?
|
public
float
|
#
getDiscountMade( )
Returns the amount of discount of the order item.
Returns the amount of discount of the order item.
Returns
float Amount of discount of the order item.
|
public
string
|
#
getShippingTimeInfo( )
Returns the shipping time of the order item.
Returns the shipping time of the order item.
Returns
string Shipping time of the order item.
|
public
OrderItemAttributeCollection
|
#
getAttributes( )
Returns the attributes of the order item.
Returns the attributes of the order item.
Returns
|
public
string
|
#
getQuantityUnitName( )
Returns the name of quantity unit of the order item.
Returns the name of quantity unit of the order item.
Returns
string Name of quantity unit of the order item.
|
public
string
|
#
getCheckoutInformation( )
Returns the checkout information of the order item.
Returns the checkout information of the order item.
Returns
string Checkout information of the order item.
|
public
OrderItemDownloadInformationCollection
|
#
getDownloadInformation( )
Returns the download information collection of the order item.
Returns the download information collection of the order item.
Returns
|
public
OrderItemInterface
|
#
setProductModel( StringType $model )
Sets the product model of the order item.
Sets the product model of the order item.
Parameters
- $model
- Model of the order item.
Returns
|
public
OrderItemInterface
|
#
setName( StringType $name )
Sets the name of the order item.
Sets the name of the order item.
Parameters
- $name
- Name of the order item.
Returns
|
public
OrderItemInterface
|
#
setPrice( DecimalType $price )
Sets the price of the order item.
Sets the price of the order item.
Parameters
- $price
- Price of the order item.
Returns
|
public
OrderItemInterface
|
#
setQuantity( DecimalType $quantity )
Sets the quantity of the order item.
Sets the quantity of the order item.
Parameters
- $quantity
- Quantity of the order item.
Returns
|
public
OrderItemInterface
|
#
setTax( DecimalType $tax )
Sets the tax of the order item.
Sets the tax of the order item.
Parameters
- $tax
- Tax of the order item.
Returns
|
public
OrderItemInterface
|
#
setTaxAllowed( BoolType $allow )
Sets whether tax of the OrderItem is allowed or not.
Sets whether tax of the OrderItem is allowed or not.
Parameters
- $allow
- Tax allowed or not?
Returns
|
public
OrderItemInterface
|
#
setDiscountMade( DecimalType $discount )
Sets the discount of the order item.
Sets the discount of the order item.
Parameters
- $discount
- Discount of the order item.
Returns
|
public
OrderItemInterface
|
#
setShippingTimeInfo( StringType $time )
Sets the shipping time of the order item.
Sets the shipping time of the order item.
Parameters
- $time
- Shipping time of the order item.
Returns
|
public
OrderItemInterface
|
#
setAttributes( OrderItemAttributeCollection $attributeCollection )
Sets the attributes of the order item.
Sets the attributes of the order item.
Parameters
- $attributeCollection
- Attributes of the order item.
Returns
|
public
OrderItemInterface
|
#
setQuantityUnitName( StringType $name )
Sets the name of quantity unit of the order item.
Sets the name of quantity unit of the order item.
Parameters
- $name
- Name of quantity unit of the order item.
Returns
|
public
OrderItemInterface
|
#
setCheckoutInformation( StringType $checkoutInformation )
Sets the checkout information.
Sets the checkout information.
Parameters
- $checkoutInformation
- Contains the checkout info of the order item.
Returns
|
public
OrderItemInterface
|
|
public
EditableKeyValueCollection
|
#
getAddonValues( )
Returns the addon collection of the order item.
Returns the addon collection of the order item.
Returns
|
public
string
|
#
getAddonValue( StringType $key )
Returns the order addon key value from collection.
Returns the order addon key value from collection.
Parameters
Returns
string Addon value.
Throws
InvalidArgumentException On invalid arguments.
|
public
OrderItemInterface
|
#
setAddonValue( StringType $key, StringType $value )
Adds/updates a key value in the addon value collection.
Adds/updates a key value in the addon value collection.
Parameters
- $key
- Addon key.
- $value
- Addon value.
Returns
|
public
OrderItemInterface
|
#
addAddonValues( KeyValueCollection $addonValues )
Merges the existing addon values with new ones.
Merges the existing addon values with new ones.
Parameters
- $addonValues
- Contains the new addon values to be merged with the existing ones.
Returns
|
public
OrderItemInterface
|
#
deleteAddonValue( StringType $key )
Deletes a specific addon value entry by key.
Deletes a specific addon value entry by key.
Parameters
Returns
|