StoredOrderItemAttribute

Extends \OrderItemAttribute Implements \StoredOrderItemAttributeInterface

Class StoredOrderItemAttribute

category

System

package

Order

subpackage

Entities

Methods

OrderItemAttribute constructor.

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

Arguments

$name

\StringType

Order item attribute name.

$value

\StringType

Order item attribute value.

Returns the name of the order item attribute.

getName() : string
inherited

Response

string

Name of the order item attribute.

Returns the option ID.

getOptionId() : \IdType
inherited

Response

\IdType

Option ID.

Returns the option value ID.

getOptionValueId() : \IdType
inherited

Response

\IdType

Option value ID.

Returns the ID of the stored order item attribute.

getOrderItemAttributeId() : integer

Response

integer

Order item attribute ID.

Returns the price of the order item attribute.

getPrice() : float
inherited

Response

float

Price of the order item attribute.

Returns the price type of the order item attribute.

getPriceType() : string
inherited

Response

string

Price type of the order item attribute.

Returns the value of the order item attribute.

getValue() : string
inherited

Response

string

Value of the order item attribute.

Sets the name of the order item attribute.

setName(\StringType $name) : \OrderItemAttribute
inherited

Arguments

$name

\StringType

Name of the order item attribute.

Response

\OrderItemAttribute

Same instance for method chaining.

Sets the option ID.

setOptionId(\IdType $optionId) : \OrderItemAttribute
inherited

Arguments

$optionId

\IdType

Option ID.

Response

\OrderItemAttribute

Same instance for method chaining.

Set option value ID.

setOptionValueId(\IdType $optionValueId) : \OrderItemAttribute
inherited

Arguments

$optionValueId

\IdType

Option value ID.

Response

\OrderItemAttribute

Same instance for method chaining.

Sets the price of the order item attribute.

setPrice(\DecimalType $price) : \OrderItemAttribute
inherited

Arguments

$price

\DecimalType

Price of the order item attribute.

Response

\OrderItemAttribute

Same instance for method chaining.

Sets the price type of the order item attribute.

setPriceType(\StringType $priceType) : \OrderItemAttribute
inherited

Arguments

$priceType

\StringType

Price type of the order item attribute.

Response

\OrderItemAttribute

Same instance for method chaining.

Sets the value of the order item attribute.

setValue(\StringType $value) : \OrderItemAttribute
inherited

Arguments

$value

\StringType

Value of the order item attribute.

Response

\OrderItemAttribute

Same instance for method chaining.

Properties

Order item attribute ID.

orderItemAttributeId : integer
var

Type(s)

integer

Name.

name : string
inherited
var

Type(s)

string

Value.

value : string
inherited
var

Type(s)

string

Price.

price : float
inherited
var

Type(s)

float

Price type.

priceType : string
inherited
var

Type(s)

string

Option ID.

optionId : \IdType
inherited
var

Type(s)

\IdType

Option value ID.

optionValueId : \IdType
inherited
var

Type(s)

\IdType