OrderItemAttributeInterface

Extends

Interface OrderItemAttributeInterface

category

System

package

Order

subpackage

Interfaces

Methods

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 name of the order item attribute.

setName(\StringType $name) : \OrderItemAttributeInterface

Arguments

$name

\StringType

Name of the order item attribute.

Response

\OrderItemAttributeInterface

Same instance for method chaining.

Sets the price of the order item attribute.

setPrice(\DecimalType $price) : \OrderItemAttributeInterface

Arguments

$price

\DecimalType

Price of the order item attribute.

Response

\OrderItemAttributeInterface

Same instance for method chaining.

Sets the price type of the order item attribute.

setPriceType(\StringType $priceType) : \OrderItemAttributeInterface

Arguments

$priceType

\StringType

Price type of the order item attribute.

Response

\OrderItemAttributeInterface

Same instance for method chaining.

Sets the value of the order item attribute.

setValue(\StringType $value) : \OrderItemAttributeInterface

Arguments

$value

\StringType

Value of the order item attribute.

Response

\OrderItemAttributeInterface

Same instance for method chaining.