StoredOrderTotalInterface
extends
OrderTotalInterface
in
Interface StoredOrderTotalInterface
Tags
Table of Contents
- getClass() : string
- Returns the class of the order total.
- getOrderTotalId() : int
- Returns the ID of the stored order total.
- getSortOrder() : int
- Returns the sort order of the order total.
- getTitle() : string
- Returns the title of the order total.
- getValue() : float
- Returns the value of the order total.
- getValueText() : string
- Returns the value text of the order total.
- setClass() : OrderTotalInterface
- Sets class of the order total.
- setSortOrder() : OrderTotalInterface
- Sets sort order of the order total.
- setTitle() : OrderTotalInterface
- Sets title of the order total.
- setValue() : OrderTotalInterface
- Sets value of the order total.
- setValueText() : OrderTotalInterface
- Sets value text of the order total.
Methods
getClass()
Returns the class of the order total.
public
getClass() : string
Return values
string —Class of the order total.
getOrderTotalId()
Returns the ID of the stored order total.
public
getOrderTotalId() : int
Return values
int —Stored order total ID.
getSortOrder()
Returns the sort order of the order total.
public
getSortOrder() : int
Return values
int —Sort order of the order total.
getTitle()
Returns the title of the order total.
public
getTitle() : string
Return values
string —Title of the order total.
getValue()
Returns the value of the order total.
public
getValue() : float
Return values
float —Value of the order total.
getValueText()
Returns the value text of the order total.
public
getValueText() : string
Return values
string —Value text of the order total.
setClass()
Sets class of the order total.
public
setClass(StringType $class) : OrderTotalInterface
Parameters
- $class : StringType
-
Class of the order total.
Return values
OrderTotalInterface —Same instance for method chaining.
setSortOrder()
Sets sort order of the order total.
public
setSortOrder(IntType $sortOrder) : OrderTotalInterface
Parameters
- $sortOrder : IntType
-
Sort order of the order total.
Return values
OrderTotalInterface —Same instance for method chaining.
setTitle()
Sets title of the order total.
public
setTitle(StringType $title) : OrderTotalInterface
Parameters
- $title : StringType
-
Title of the order total.
Return values
OrderTotalInterface —Same instance for method chaining.
setValue()
Sets value of the order total.
public
setValue(DecimalType $value) : OrderTotalInterface
Parameters
- $value : DecimalType
-
Value of the order total.
Return values
OrderTotalInterface —Same instance for method chaining.
setValueText()
Sets value text of the order total.
public
setValueText(StringType $valueText) : OrderTotalInterface
Parameters
- $valueText : StringType
-
Value text of the order total.
Return values
OrderTotalInterface —Same instance for method chaining.