Interface IReturnOrderFormCalculator
Calculates totals on an IReturnOrderForm.
Namespace: EPiServer.Commerce.Order
Assembly: Mediachase.Commerce.dll
Version: 11.8.3Syntax
public interface IReturnOrderFormCalculator
Methods
GetDiscountTotal(IReturnOrderForm, Currency)
Gets the discount total of an IReturnOrderForm.
Declaration
Money GetDiscountTotal(IReturnOrderForm returnOrderForm, Currency currency)
Parameters
Type | Name | Description |
---|---|---|
IReturnOrderForm | returnOrderForm | The return order form. |
Currency | currency | The currency. |
Returns
Type | Description |
---|---|
Money | The discount total of the return order form. |
GetHandlingTotal(IReturnOrderForm, Currency)
Gets the handling total for an IReturnOrderForm.
Declaration
Money GetHandlingTotal(IReturnOrderForm returnOrderForm, Currency currency)
Parameters
Type | Name | Description |
---|---|---|
IReturnOrderForm | returnOrderForm | The return order form. |
Currency | currency | The currency to be used in the calculation. |
Returns
Type | Description |
---|---|
Money | The handling total for the return order form. |
GetOrderDiscountTotal(IReturnOrderForm, Currency)
Gets the discount price of an IReturnOrderForm.
Declaration
Money GetOrderDiscountTotal(IReturnOrderForm returnOrderForm, Currency currency)
Parameters
Type | Name | Description |
---|---|---|
IReturnOrderForm | returnOrderForm | The return order form. |
Currency | currency | The currency. |
Returns
Type | Description |
---|---|
Money | The discount price of the return order form. |
GetSubTotal(IReturnOrderForm, Currency)
Calculates the total of all shipments in an IReturnOrderForm.
Declaration
Money GetSubTotal(IReturnOrderForm returnOrderForm, Currency currency)
Parameters
Type | Name | Description |
---|---|---|
IReturnOrderForm | returnOrderForm | The return order form. |
Currency | currency | The currency to be used in the calculation. |
Returns
Type | Description |
---|---|
Money | The sub total for the return order form. |
GetTotal(IReturnOrderForm, IMarket, Currency)
Gets the total for an IReturnOrderForm.
Declaration
Money GetTotal(IReturnOrderForm returnOrderForm, IMarket market, Currency currency)
Parameters
Type | Name | Description |
---|---|---|
IReturnOrderForm | returnOrderForm | The return order form. |
IMarket | market | The market to be used in the calculation. |
Currency | currency | The currency to be used in the calculation. |
Returns
Type | Description |
---|---|
Money | The total for the return order form. |