Interface OrderItemInterface
Interface OrderItemInterface
Direct known implementers
Indirect known implementers
Category: System
Located at Services/Core/Order/Entities/Interfaces/OrderItemInterface.inc.php
Methods summary
public
getAttributes( void )
: OrderItemAttributeCollection
Returns the attributes of the order item.
public
getDownloadInformation( void )
: OrderItemDownloadInformationCollection
Returns the download information collection of the order item.
public
getGXCustomizerData( void )
: OrderItemGXCustomizerDataCollection
Returns the gx customizer data collection of the order item.
public
setProductModel( StringType $model )
: OrderItemInterface
Sets the product model of the order item.
public
setQuantity( DecimalType $quantity )
: OrderItemInterface
Sets the quantity of the order item.
public
setTaxAllowed( BoolType $allow )
: OrderItemInterface
Sets whether tax of the OrderItem is allowed or not.
public
setDiscountMade( DecimalType $discount )
: OrderItemInterface
Sets the discount of the order item.
public
setShippingTimeInfo( StringType $time )
: OrderItemInterface
Sets the shipping time of the order item.
public
setAttributes( OrderItemAttributeCollection $attributeCollection )
: OrderItemInterface
Sets the attributes of the order item.
public
setQuantityUnitName( StringType $name )
: OrderItemInterface
Sets the name of quantity unit of the order item.
public
setCheckoutInformation( StringType $checkoutInformation )
: OrderItemInterface
Sets the checkout information.
public
setDownloadInformation( OrderItemDownloadInformationCollection $downloads )
: OrderItemInterface
Sets the download information of the order item.
public
setGXCustomizerData( OrderItemGXCustomizerDataCollection $gxCustomizerData )
: OrderItemInterface
Sets the gx customizer data of the order item.
public
getAddonValues( void )
: EditableKeyValueCollection
Returns the addon collection of the order item.
public
setAddonValue( StringType $key, StringType $value )
: OrderItemInterface
Adds/updates a key value in the addon value collection.
public
addAddonValues( KeyValueCollection $addonValues )
: OrderItemInterface
Merges the existing addon values with new ones.
public
deleteAddonValue( StringType $key )
: OrderItemInterface
Deletes a specific addon value entry by key.