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 OrderTotal

Class OrderTotal

OrderTotal implements OrderTotalInterface

Direct known subclasses

StoredOrderTotal

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

Methods summary

public
# __construct( StringType $title, DecimalType $value, StringType $valueText = null, StringType $class = null, IntType $sortOrder = null )

OrderTotal constructor.

OrderTotal constructor.

Parameters

$title
Order total title.
$value
Order total value
$valueText
Order total value text.
$class
Class name.
$sortOrder
Sort order.
public string
# getTitle( )

Returns the title of the order total.

Returns the title of the order total.

Returns

string
Title of the order total.

Implementation of

OrderTotalInterface::getTitle()
public float
# getValue( )

Returns the value of the order total.

Returns the value of the order total.

Returns

float
Value of the order total.

Implementation of

OrderTotalInterface::getValue()
public string
# getValueText( )

Returns the value text of the order total.

Returns the value text of the order total.

Returns

string
Value text of the order total.

Implementation of

OrderTotalInterface::getValueText()
public string
# getClass( )

Returns the class of the order total.

Returns the class of the order total.

Returns

string
Class of the order total.

Implementation of

OrderTotalInterface::getClass()
public integer
# getSortOrder( )

Returns the sort order of the order total.

Returns the sort order of the order total.

Returns

integer
Sort order of the order total.

Implementation of

OrderTotalInterface::getSortOrder()
public OrderTotal
# setTitle( StringType $title )

Sets title of the order total.

Sets title of the order total.

Parameters

$title
Title of the order total.

Returns

OrderTotal
Same instance for method chaining.

Implementation of

OrderTotalInterface::setTitle()
public OrderTotal
# setValue( DecimalType $value )

Sets value of the order total.

Sets value of the order total.

Parameters

$value
Value of the order total.

Returns

OrderTotal
Same instance for method chaining.

Implementation of

OrderTotalInterface::setValue()
public OrderTotal
# setValueText( StringType $valueText )

Sets value text of the order total.

Sets value text of the order total.

Parameters

$valueText
Value text of the order total.

Returns

OrderTotal
Same instance for method chaining.

Implementation of

OrderTotalInterface::setValueText()
public OrderTotal
# setClass( StringType $class )

Sets class of the order total.

Sets class of the order total.

Parameters

$class
Class of the order total.

Returns

OrderTotal
Same instance for method chaining.

Implementation of

OrderTotalInterface::setClass()
public OrderTotal
# setSortOrder( IntType $sortOrder )

Sets sort order of the order total.

Sets sort order of the order total.

Parameters

$sortOrder
Sort order of the order total.

Returns

OrderTotal
Same instance for method chaining.

Implementation of

OrderTotalInterface::setSortOrder()

Properties summary

protected string $title

Title.

Title.

# ''
protected float $value

Value.

Value.

# 0.00
protected string $valueText

Value text.

Value text.

# ''
protected string $class

Class name.

Class name.

# ''
protected integer $sortOrder

Sort order.

Sort order.

# 0
API documentation generated by ApiGen