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
Fee
Gets or sets the fee that is the result of the calculation.
public Fee Fee { get; }
Property Value
Price
Gets or sets the price.
public PriceCalculated Price { get; }
Property Value
Shipment
Gets or sets the shipping method
public Shipping Shipment { get; }
Property Value
ShippingMethodId
Gets or sets the shipping id that this calculation is using.
public string ShippingMethodId { get; }
Property Value
ShippingProvider
Gets or sets the shipping provider used in the calculation.
public ShippingProvider ShippingProvider { get; }