Class OrderItemProperty

Class OrderItemProperty

OrderItemProperty implements OrderItemAttributeInterface

Direct known subclasses

StoredOrderItemProperty

Methods summary

public __construct( StringType $name, StringType $value )

OrderItemProperty constructor.

public getName( void ) : string

Returns the name of the order item attribute.

public getValue( void ) : string

Returns the value of the order item attribute.

public getPrice( void ) : float

Returns the price of the order item attribute.

public getPriceType( void ) : string

Returns the price type of the order item attribute.

public getCombisId( void ) : integer

Returns the combis ID of the order item property.

public setName( StringType $name ) : OrderItemProperty

Sets the name of the order item attribute.

public setValue( StringType $value ) : OrderItemProperty

Sets the value of the order item attribute.

public setPrice( DecimalType $price ) : OrderItemProperty

Sets the price of the order item attribute.

public setPriceType( StringType $priceType ) : OrderItemProperty

Sets the price type of the order item attribute.

public setCombisId( IdType $combisId ) : OrderItemProperty

Sets the combis ID of the order item property.

Properties summary

protected $name : string

Name.

''
protected $value : string

Value.

''
protected $price : float

Price.

0.0
protected $priceType : string

Price type.

''
protected $combisId : integer

Combinations ID.

0