Overview
  • Package
  • Class
  • Tree
  • Todo

Packages

  • AddonValue
    • Interfaces
  • AdminHttpViewControllers
  • ApiV2Controllers
  • Authentication
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Strategies
  • Category
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • Customer
    • Address
    • Country
    • CountryZone
    • Interfaces
    • Storages
    • Validation
    • ValueObjects
  • Email
    • Collections
    • Entities
    • Exceptions
    • Interfaces
    • Repository
    • ValueObjects
  • Extensions
    • Customers
    • Emails
    • Helpers
    • Invoices
    • Orders
    • Serializers
    • Templates
  • Http
    • Collections
    • Exceptions
    • Factories
    • Interfaces
    • ValueObjects
  • HttpViewControllers
  • InfoBox
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
  • Invoice
    • Interfaces
    • ValueObjects
  • Loaders
    • CrossCuttingLoader
    • GXCoreLoader
    • Interfaces
  • Modules
    • Collections
    • Controllers
    • Interfaces
  • None
  • Order
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Storages
    • ValueObjects
  • Precheck
  • Product
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • ProductModule
    • Collections
    • Deleter
    • Entities
    • Factories
    • Interface
    • Interfaces
    • Reader
    • Repositories
    • Writer
  • Shared
    • ClassFinder
    • Exceptions
    • FileSystem
    • Interfaces
    • Storage
    • Types
  • SharedShoppingCart
    • Interfaces
  • Slider
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Storages
  • Statistics
    • Interfaces
  • UserConfiguration
    • Interfaces
    • Repository

Classes

  • CustomerStatusInformation
  • GXEngineOrder
  • OrderItem
  • OrderItemAttribute
  • OrderItemDownloadInformation
  • OrderItemProperty
  • OrderListItem
  • OrderPaymentType
  • OrderShippingType
  • OrderStatusHistoryListItem
  • OrderTotal
  • StoredOrderItem
  • StoredOrderItemAttribute
  • StoredOrderItemProperty
  • StoredOrderTotal

Class OrderItemAttribute

Class OrderItemAttribute

OrderItemAttribute implements OrderItemAttributeInterface

Direct known subclasses

StoredOrderItemAttribute

Package: Order\Entities
Category: System
Located at Services/Core/Order/Entities/OrderItemAttribute.php

Methods summary

public
# __construct( StringType $name, StringType $value )

OrderItemAttribute constructor.

OrderItemAttribute constructor.

Parameters

$name
Order item attribute name.
$value
Order item attribute value.
public string
# getName( )

Returns the name of the order item attribute.

Returns the name of the order item attribute.

Returns

string
Name of the order item attribute.

Implementation of

OrderItemAttributeInterface::getName()
public string
# getValue( )

Returns the value of the order item attribute.

Returns the value of the order item attribute.

Returns

string
Value of the order item attribute.

Implementation of

OrderItemAttributeInterface::getValue()
public float
# getPrice( )

Returns the price of the order item attribute.

Returns the price of the order item attribute.

Returns

float
Price of the order item attribute.

Implementation of

OrderItemAttributeInterface::getPrice()
public string
# getPriceType( )

Returns the price type of the order item attribute.

Returns the price type of the order item attribute.

Returns

string
Price type of the order item attribute.

Implementation of

OrderItemAttributeInterface::getPriceType()
public IdType
# getOptionId( )

Returns the option ID.

Returns the option ID.

Returns

IdType
Option ID.
public IdType
# getOptionValueId( )

Returns the option value ID.

Returns the option value ID.

Returns

IdType
Option value ID.
public OrderItemAttribute
# setName( StringType $name )

Sets the name of the order item attribute.

Sets the name of the order item attribute.

Parameters

$name
Name of the order item attribute.

Returns

OrderItemAttribute
Same instance for method chaining.

Implementation of

OrderItemAttributeInterface::setName()
public OrderItemAttribute
# setValue( StringType $value )

Sets the value of the order item attribute.

Sets the value of the order item attribute.

Parameters

$value
Value of the order item attribute.

Returns

OrderItemAttribute
Same instance for method chaining.

Implementation of

OrderItemAttributeInterface::setValue()
public OrderItemAttribute
# setPrice( DecimalType $price )

Sets the price of the order item attribute.

Sets the price of the order item attribute.

Parameters

$price
Price of the order item attribute.

Returns

OrderItemAttribute
Same instance for method chaining.

Implementation of

OrderItemAttributeInterface::setPrice()
public OrderItemAttribute
# setPriceType( StringType $priceType )

Sets the price type of the order item attribute.

Sets the price type of the order item attribute.

Parameters

$priceType
Price type of the order item attribute.

Returns

OrderItemAttribute
Same instance for method chaining.

Implementation of

OrderItemAttributeInterface::setPriceType()
public OrderItemAttribute
# setOptionId( IdType $optionId )

Sets the option ID.

Sets the option ID.

Parameters

$optionId
Option ID.

Returns

OrderItemAttribute
Same instance for method chaining.
public OrderItemAttribute
# setOptionValueId( IdType $optionValueId )

Set option value ID.

Set option value ID.

Parameters

$optionValueId
Option value ID.

Returns

OrderItemAttribute
Same instance for method chaining.

Properties summary

protected string $name

Name.

Name.

# ''
protected string $value

Value.

Value.

# ''
protected float $price

Price.

Price.

# 0.0
protected string $priceType

Price type.

Price type.

# ''
protected IdType $optionId

Option ID.

Option ID.

# 0
protected IdType $optionValueId

Option value ID.

Option value ID.

# 0
API documentation generated by ApiGen