Table of Contents

Class ShippingCalculation

Namespace
Rescope.Commerce.Core.Models
Assembly
Rescope.Commerce.Core.dll
public class ShippingCalculation
Inheritance
ShippingCalculation
Inherited Members

Properties

DeliveryAddress

public PostalAddress DeliveryAddress { get; }

Property Value

PostalAddress

ExpectedDeliveryTime

Optionally calculate a shipping time for the order

public DateTime? ExpectedDeliveryTime { get; set; }

Property Value

DateTime?

FinalPriceFormatted

public string FinalPriceFormatted { get; }

Property Value

string

LineItems

public ICollection<ShippingLineItem> LineItems { get; }

Property Value

ICollection<ShippingLineItem>

TotalShippingPrice

The shipping calculator should set this total shipping price, as well as the individual line items (if applicable). This allows custom calculators to have full control

public decimal TotalShippingPrice { get; set; }

Property Value

decimal

Methods

FormatNumber(decimal)

protected string FormatNumber(decimal number)

Parameters

number decimal

Returns

string