StoredOrderItemProperty
extends OrderItemProperty
in package
implements
StoredOrderItemAttributeInterface
Class StoredOrderItemProperty
Tags
Interfaces, Classes and Traits
- StoredOrderItemAttributeInterface
- Interface StoredOrderItemAttributeInterface
Table of Contents
- $combisId : int
- Combinations ID.
- $name : string
- Name.
- $orderItemAttributeID : int
- Order item attribute ID.
- $price : float
- Price.
- $priceType : string
- Price type.
- $value : string
- Value.
- __construct() : mixed
- StoredOrderItemProperty constructor.
- getCombisId() : int
- Returns the combis ID of the order item property.
- getName() : string
- Returns the name of the order item attribute.
- getOrderItemAttributeId() : int
- Returns the ID of the stored 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.
- setCombisId() : OrderItemProperty
- Sets the combis ID of the order item property.
- setName() : OrderItemProperty
- Sets the name of the order item attribute.
- setPrice() : OrderItemProperty
- Sets the price of the order item attribute.
- setPriceType() : OrderItemProperty
- Sets the price type of the order item attribute.
- setValue() : OrderItemProperty
- Sets the value of the order item attribute.
Properties
$combisId
Combinations ID.
protected
int
$combisId
= 0
$name
Name.
protected
string
$name
= ''
$orderItemAttributeID
Order item attribute ID.
protected
int
$orderItemAttributeID
= 0
$price
Price.
protected
float
$price
= 0.0
$priceType
Price type.
protected
string
$priceType
= ''
$value
Value.
protected
string
$value
= ''
Methods
__construct()
StoredOrderItemProperty constructor.
public
__construct(IdType $orderItemAttributeId) : mixed
Parameters
- $orderItemAttributeId : IdType
-
Order item attribute ID.
Return values
mixed —getCombisId()
Returns the combis ID of the order item property.
public
getCombisId() : int
Return values
int —Combis ID of the order item property
getName()
Returns the name of the order item attribute.
public
getName() : string
Return values
string —Name of the order item attribute.
getOrderItemAttributeId()
Returns the ID of the stored order item attribute.
public
getOrderItemAttributeId() : int
Return values
int —Order item attribute ID.
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.
setCombisId()
Sets the combis ID of the order item property.
public
setCombisId(IdType $combisId) : OrderItemProperty
Parameters
- $combisId : IdType
-
Combis ID.
Return values
OrderItemProperty —Same instance for method chaining.
setName()
Sets the name of the order item attribute.
public
setName(StringType $name) : OrderItemProperty
Parameters
- $name : StringType
-
Name of the order item attribute.
Return values
OrderItemProperty —Same instance for method chaining.
setPrice()
Sets the price of the order item attribute.
public
setPrice(DecimalType $price) : OrderItemProperty
Parameters
- $price : DecimalType
-
Price of the order item attribute.
Return values
OrderItemProperty —Same instance for method chaining.
setPriceType()
Sets the price type of the order item attribute.
public
setPriceType(StringType $priceType) : OrderItemProperty
Parameters
- $priceType : StringType
-
Price type of the order item attribute.
Return values
OrderItemProperty —Same instance for method chaining.
setValue()
Sets the value of the order item attribute.
public
setValue(StringType $value) : OrderItemProperty
Parameters
- $value : StringType
-
Value of the order item attribute.
Return values
OrderItemProperty —Same instance for method chaining.