OrderItemProperty

Implements \OrderItemAttributeInterface

Class OrderItemProperty

category

System

package

Order

subpackage

Entities

Methods

OrderItemProperty constructor.

__construct(\StringType $name, \StringType $value) 

Arguments

$name

\StringType

Order item property name.

$value

\StringType

Order item property value.

Returns the combis ID of the order item property.

getCombisId() : integer

Response

integer

Combis ID of the order item property

Returns the name of the order item attribute.

getName() : string

Response

string

Name of the order item attribute.

Returns the price of the order item attribute.

getPrice() : float

Response

float

Price of the order item attribute.

Returns the price type of the order item attribute.

getPriceType() : string

Response

string

Price type of the order item attribute.

Returns the value of the order item attribute.

getValue() : string

Response

string

Value of the order item attribute.

Sets the combis ID of the order item property.

setCombisId(\IdType $combisId) : \OrderItemProperty

Arguments

$combisId

\IdType

Combis ID.

Response

\OrderItemProperty

Same instance for method chaining.

Sets the name of the order item attribute.

setName(\StringType $name) : \OrderItemProperty

Arguments

$name

\StringType

Name of the order item attribute.

Response

\OrderItemProperty

Same instance for method chaining.

Sets the price of the order item attribute.

setPrice(\DecimalType $price) : \OrderItemProperty

Arguments

$price

\DecimalType

Price of the order item attribute.

Response

\OrderItemProperty

Same instance for method chaining.

Sets the price type of the order item attribute.

setPriceType(\StringType $priceType) : \OrderItemProperty

Arguments

$priceType

\StringType

Price type of the order item attribute.

Response

\OrderItemProperty

Same instance for method chaining.

Sets the value of the order item attribute.

setValue(\StringType $value) : \OrderItemProperty

Arguments

$value

\StringType

Value of the order item attribute.

Response

\OrderItemProperty

Same instance for method chaining.

Properties

Name.

name : string
var

Type(s)

string

Value.

value : string
var

Type(s)

string

Price.

price : float
var

Type(s)

float

Price type.

priceType : string
var

Type(s)

string

Combinations ID.

combisId : integer
var

Type(s)

integer