OrderItemAttributeInterface
in
Interface OrderItemAttributeInterface
Tags
Table of Contents
- getName() : string
- Returns the name of the order item attribute.
- getPrice() : float
- Returns the price of the order item attribute.
- getPriceType() : string
- Returns the price type of the order item attribute.
- getValue() : string
- Returns the value of the order item attribute.
- setName() : OrderItemAttributeInterface
- Sets the name of the order item attribute.
- setPrice() : OrderItemAttributeInterface
- Sets the price of the order item attribute.
- setPriceType() : OrderItemAttributeInterface
- Sets the price type of the order item attribute.
- setValue() : OrderItemAttributeInterface
- Sets the value of the order item attribute.
Methods
getName()
Returns the name of the order item attribute.
public
getName() : string
Return values
string —Name of the order item attribute.
getPrice()
Returns the price of the order item attribute.
public
getPrice() : float
Return values
float —Price of the order item attribute.
getPriceType()
Returns the price type of the order item attribute.
public
getPriceType() : string
Return values
string —Price type of the order item attribute.
getValue()
Returns the value of the order item attribute.
public
getValue() : string
Return values
string —Value of the order item attribute.
setName()
Sets the name of the order item attribute.
public
setName(StringType $name) : OrderItemAttributeInterface
Parameters
- $name : StringType
-
Name of the order item attribute.
Return values
OrderItemAttributeInterface —Same instance for method chaining.
setPrice()
Sets the price of the order item attribute.
public
setPrice(DecimalType $price) : OrderItemAttributeInterface
Parameters
- $price : DecimalType
-
Price of the order item attribute.
Return values
OrderItemAttributeInterface —Same instance for method chaining.
setPriceType()
Sets the price type of the order item attribute.
public
setPriceType(StringType $priceType) : OrderItemAttributeInterface
Parameters
- $priceType : StringType
-
Price type of the order item attribute.
Return values
OrderItemAttributeInterface —Same instance for method chaining.
setValue()
Sets the value of the order item attribute.
public
setValue(StringType $value) : OrderItemAttributeInterface
Parameters
- $value : StringType
-
Value of the order item attribute.
Return values
OrderItemAttributeInterface —Same instance for method chaining.