Class UpdateTotalsVNextActivity

Inheritance
System.Object
UpdateTotalsVNextActivity
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.Commerce.Workflow.Activities.OrderGroupActivities
Assembly: Mediachase.Commerce.Workflow.dll
Version: 10.8.0
Syntax
public class UpdateTotalsVNextActivity : OrderGroupActivityBase

Constructors

UpdateTotalsVNextActivity()

Declaration
public UpdateTotalsVNextActivity()

Methods

Execute(ActivityExecutionContext)

Gets the totals, and updates the order group with the calculated values.

Declaration
protected override ActivityExecutionStatus Execute(ActivityExecutionContext executionContext)
Parameters
Type Name Description
ActivityExecutionContext executionContext
Returns
Type Description
ActivityExecutionStatus

Closed

Overrides

GetTotals()

Gets the totals for the order group.

Declaration
protected virtual OrderGroupTotals GetTotals()
Returns
Type Description
OrderGroupTotals

Model containing the calculated total values.

UpdateOrderFormPaymentTotals(OrderForm)

Updates the payment totals for an order form.

Declaration
protected virtual void UpdateOrderFormPaymentTotals(OrderForm orderForm)
Parameters
Type Name Description
OrderForm orderForm

The order form

UpdateOrderFormTotals(OrderForm, OrderFormTotals)

Updates the totals for an order form.

Declaration
protected virtual void UpdateOrderFormTotals(OrderForm orderForm, OrderFormTotals totals)
Parameters
Type Name Description
OrderForm orderForm

The order form

OrderFormTotals totals

The model containing calculated totals for the order form.

UpdateOrderGroupTotals(OrderGroupTotals)

Updates the totals for the current order group.

Declaration
protected virtual void UpdateOrderGroupTotals(OrderGroupTotals totals)
Parameters
Type Name Description
OrderGroupTotals totals

The model containing calculated totals for the order group

UpdateShipmentTotals(Shipment, ShippingTotals)

Updates the totals for a shipment.

Declaration
protected virtual void UpdateShipmentTotals(Shipment shipment, ShippingTotals totals)
Parameters
Type Name Description
Shipment shipment

The shipment

ShippingTotals totals

The model containing calculated totals for the shipment