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

Interfaces

  • OrderFactoryInterface
  • OrderInterface
  • OrderItemAttributeInterface
  • OrderItemAttributeRepositoryDeleterInterface
  • OrderItemAttributeRepositoryFactoryInterface
  • OrderItemAttributeRepositoryInterface
  • OrderItemAttributeRepositoryReaderInterface
  • OrderItemAttributeRepositoryWriterInterface
  • OrderItemFactoryInterface
  • OrderItemInterface
  • OrderItemPropertyFactoryInterface
  • OrderItemPropertyRepositoryDeleterInterface
  • OrderItemPropertyRepositoryReaderInterface
  • OrderItemPropertyRepositoryWriterInterface
  • OrderItemRepositoryDeleterInterface
  • OrderItemRepositoryInterface
  • OrderItemRepositoryReaderInterface
  • OrderItemRepositoryWriterInterface
  • OrderListGeneratorInterface
  • OrderObjectServiceInterface
  • OrderPaymentTypeInterface
  • OrderReadServiceInterface
  • OrderRepositoryDeleterInterface
  • OrderRepositoryInterface
  • OrderRepositoryReaderInterface
  • OrderRepositoryWriterInterface
  • OrderServiceSettingsInterface
  • OrderShippingTypeInterface
  • OrderStatusHistoryReaderInterface
  • OrderStatusHistoryWriterInterface
  • OrderTotalFactoryInterface
  • OrderTotalInterface
  • OrderTotalRepositoryDeleterInterface
  • OrderTotalRepositoryInterface
  • OrderTotalRepositoryReaderInterface
  • OrderTotalRepositoryWriterInterface
  • OrderWriteServiceInterface
  • StoredOrderItemAttributeInterface
  • StoredOrderItemInterface
  • StoredOrderTotalInterface

Interface OrderItemInterface

Interface OrderItemInterface

Direct known implementers

OrderItem, StoredOrderItemInterface

Indirect known implementers

StoredOrderItem

Package: Order\Interfaces
Category: System
Located at Services/Core/Order/Entities/Interfaces/OrderItemInterface.inc.php

Methods summary

public string
# getProductModel( )

Returns the product model of the order item.

Returns the product model of the order item.

Returns

string
Product model of the order item.
public string
# getName( )

Returns the name of the order item.

Returns the name of the order item.

Returns

string
Name of the order item.
public float
# getPrice( )

Returns the price of the order item.

Returns the price of the order item.

Returns

float
Price of the order item.
public float
# getQuantity( )

Returns the quantity of the order item.

Returns the quantity of the order item.

Returns

float
Quantity of the order item.
public float
# getFinalPrice( )

Returns the final price of the order item.

Returns the final price of the order item.

Returns

float
Final price of the order item.
public float
# getTax( )

Returns the tax of the order item.

Returns the tax of the order item.

Returns

float
Tax of the order item.
public boolean
# isTaxAllowed( )

Is tax of the order item allowed?

Is tax of the order item allowed?

Returns

boolean
Is tax of the order item allowed?
public float
# getDiscountMade( )

Returns the amount of discount of the order item.

Returns the amount of discount of the order item.

Returns

float
Amount of discount of the order item.
public string
# getShippingTimeInfo( )

Returns the shipping time of the order item.

Returns the shipping time of the order item.

Returns

string
Shipping time of the order item.
public OrderItemAttributeCollection
# getAttributes( )

Returns the attributes of the order item.

Returns the attributes of the order item.

Returns

OrderItemAttributeCollection
Attributes of the order item.
public string
# getQuantityUnitName( )

Returns the name of quantity unit of the order item.

Returns the name of quantity unit of the order item.

Returns

string
Name of quantity unit of the order item.
public string
# getCheckoutInformation( )

Returns the checkout information of the order item.

Returns the checkout information of the order item.

Returns

string
Checkout information of the order item.
public OrderItemDownloadInformationCollection
# getDownloadInformation( )

Returns the download information collection of the order item.

Returns the download information collection of the order item.

Returns

OrderItemDownloadInformationCollection
Download information collection of the order item.
public OrderItemInterface
# setProductModel( StringType $model )

Sets the product model of the order item.

Sets the product model of the order item.

Parameters

$model
Model of the order item.

Returns

OrderItemInterface
Same instance for method chaining.
public OrderItemInterface
# setName( StringType $name )

Sets the name of the order item.

Sets the name of the order item.

Parameters

$name
Name of the order item.

Returns

OrderItemInterface
Same instance for method chaining.
public OrderItemInterface
# setPrice( DecimalType $price )

Sets the price of the order item.

Sets the price of the order item.

Parameters

$price
Price of the order item.

Returns

OrderItemInterface
Same instance for method chaining.
public OrderItemInterface
# setQuantity( DecimalType $quantity )

Sets the quantity of the order item.

Sets the quantity of the order item.

Parameters

$quantity
Quantity of the order item.

Returns

OrderItemInterface
Same instance for method chaining.
public OrderItemInterface
# setTax( DecimalType $tax )

Sets the tax of the order item.

Sets the tax of the order item.

Parameters

$tax
Tax of the order item.

Returns

OrderItemInterface
Same instance for method chaining.
public OrderItemInterface
# setTaxAllowed( BoolType $allow )

Sets whether tax of the OrderItem is allowed or not.

Sets whether tax of the OrderItem is allowed or not.

Parameters

$allow
Tax allowed or not?

Returns

OrderItemInterface
Same instance for method chaining.
public OrderItemInterface
# setDiscountMade( DecimalType $discount )

Sets the discount of the order item.

Sets the discount of the order item.

Parameters

$discount
Discount of the order item.

Returns

OrderItemInterface
Same instance for method chaining.
public OrderItemInterface
# setShippingTimeInfo( StringType $time )

Sets the shipping time of the order item.

Sets the shipping time of the order item.

Parameters

$time
Shipping time of the order item.

Returns

OrderItemInterface
Same instance for method chaining.
public OrderItemInterface
# setAttributes( OrderItemAttributeCollection $attributeCollection )

Sets the attributes of the order item.

Sets the attributes of the order item.

Parameters

$attributeCollection
Attributes of the order item.

Returns

OrderItemInterface
Same instance for method chaining.
public OrderItemInterface
# setQuantityUnitName( StringType $name )

Sets the name of quantity unit of the order item.

Sets the name of quantity unit of the order item.

Parameters

$name
Name of quantity unit of the order item.

Returns

OrderItemInterface
Same instance for method chaining.
public OrderItemInterface
# setCheckoutInformation( StringType $checkoutInformation )

Sets the checkout information.

Sets the checkout information.

Parameters

$checkoutInformation
Contains the checkout info of the order item.

Returns

OrderItemInterface
Same instance for method chaining.
public OrderItemInterface
# setDownloadInformation( OrderItemDownloadInformationCollection $downloads )

Sets the download information of the order item.

Sets the download information of the order item.

Parameters

$downloads
Download information collection of the order item.

Returns

OrderItemInterface
Same instance for method chaining.
public EditableKeyValueCollection
# getAddonValues( )

Returns the addon collection of the order item.

Returns the addon collection of the order item.

Returns

EditableKeyValueCollection
The addon collection of the order item.
public string
# getAddonValue( StringType $key )

Returns the order addon key value from collection.

Returns the order addon key value from collection.

Parameters

$key
Addon key.

Returns

string
Addon value.

Throws

InvalidArgumentException
On invalid arguments.
public OrderItemInterface
# setAddonValue( StringType $key, StringType $value )

Adds/updates a key value in the addon value collection.

Adds/updates a key value in the addon value collection.

Parameters

$key
Addon key.
$value
Addon value.

Returns

OrderItemInterface
Same instance for method chaining.
public OrderItemInterface
# addAddonValues( KeyValueCollection $addonValues )

Merges the existing addon values with new ones.

Merges the existing addon values with new ones.

Parameters

$addonValues
Contains the new addon values to be merged with the existing ones.

Returns

OrderItemInterface
Same instance for method chaining.
public OrderItemInterface
# deleteAddonValue( StringType $key )

Deletes a specific addon value entry by key.

Deletes a specific addon value entry by key.

Parameters

$key
Addon key.

Returns

OrderItemInterface
Same instance for method chaining.
API documentation generated by ApiGen