Interface IOrderGroupBuilder
Create sub-components for IOrderGroup.
Namespace: EPiServer.Commerce.Order
Assembly: Mediachase.Commerce.dll
Version: 10.8.0Syntax
public interface IOrderGroupBuilder
  Properties
ForType
The type(s) of order group that this builder will work with.
Declaration
Type[] ForType { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Type[] | 
SortOrder
The sort order of the builder.
Declaration
int SortOrder { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Int32 | 
Remarks
In case there are multiple registered builders for a type in ForType, the one which has the highest sort order value will be chosen.
Methods
CreateCardPayment()
Creates the card payment.
Declaration
ICreditCardPayment CreateCardPayment()
  Returns
| Type | Description | 
|---|---|
| ICreditCardPayment | 
CreateLineItem(String)
Creates the line item.
Declaration
ILineItem CreateLineItem(string code)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | code | The line item code.  | 
      
Returns
| Type | Description | 
|---|---|
| ILineItem | An ILineItem  | 
      
CreateOrderAddress()
Creates the order address.
Declaration
IOrderAddress CreateOrderAddress()
  Returns
| Type | Description | 
|---|---|
| IOrderAddress | 
CreateOrderForm()
Creates the order form.
Declaration
IOrderForm CreateOrderForm()
  Returns
| Type | Description | 
|---|---|
| IOrderForm | An IOrderForm  | 
      
CreateOrderNote()
Creates the order note.
Declaration
IOrderNote CreateOrderNote()
  Returns
| Type | Description | 
|---|---|
| IOrderNote | An IOrderNote  | 
      
CreatePayment()
Creates the payment.
Declaration
IPayment CreatePayment()
  Returns
| Type | Description | 
|---|---|
| IPayment | An IPayment  | 
      
CreateShipment()
Creates the shipment.
Declaration
IShipment CreateShipment()
  Returns
| Type | Description | 
|---|---|
| IShipment | An IShipment  | 
      
CreateTaxValue()
Creates the tax value.
Declaration
ITaxValue CreateTaxValue()
  Returns
| Type | Description | 
|---|---|
| ITaxValue | An ITaxValue  |