Table of Contents

Class ShippingCalculationResult

Namespace
Dynamicweb.Ecommerce.Orders
Assembly
Dynamicweb.Ecommerce.dll

Represents the result of calculating shipping fees for an order

public sealed class ShippingCalculationResult
Inheritance
ShippingCalculationResult
Inherited Members

Constructors

ShippingCalculationResult(string)

Initializes a new instance of the ShippingCalculationResult class.

public ShippingCalculationResult(string shippingId)

Parameters

shippingId string

The shipping method id that should be used for calculations.

Properties

CalculationType

Gets the calculation type that handled this calculation

public ShippingCalculationResultType CalculationType { get; }

Property Value

ShippingCalculationResultType

Fee

Gets or sets the fee that is the result of the calculation.

public Fee Fee { get; }

Property Value

Fee

Price

Gets or sets the price.

public PriceCalculated Price { get; }

Property Value

PriceCalculated

Shipment

Gets or sets the shipping method

public Shipping Shipment { get; }

Property Value

Shipping

ShippingMethodId

Gets or sets the shipping id that this calculation is using.

public string ShippingMethodId { get; }

Property Value

string

ShippingProvider

Gets or sets the shipping provider used in the calculation.

public ShippingProvider ShippingProvider { get; }

Property Value

ShippingProvider
To top