Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Class Cart

Cart in Bolt

Inheritance
System.Object
Cart
Namespace: EPiServer.Commerce.Bolt.Models
Assembly: EPiServer.Commerce.Bolt.dll
Version: 14.26.0
Syntax
public class Cart : Object

Constructors

Cart()

Declaration
public Cart()

Properties

AddOns

The add ons

Declaration
public List<AddOn> AddOns { get; set; }
Property Value
Type Description
System.Collections.Generic.List<AddOn>

BillingAddress

The billing address

Declaration
public CreateAddress BillingAddress { get; set; }
Property Value
Type Description
CreateAddress

BillingAddressId

The billing address id

Declaration
public string BillingAddressId { get; set; }
Property Value
Type Description
System.String

CartUrl

The cart url

Declaration
public string CartUrl { get; set; }
Property Value
Type Description
System.String

Currency

The currency

Declaration
public string Currency { get; set; }
Property Value
Type Description
System.String

DiscountCode

The discount code

Declaration
public string DiscountCode { get; set; }
Property Value
Type Description
System.String

Discounts

The discounts

Declaration
public List<Discount> Discounts { get; set; }
Property Value
Type Description
System.Collections.Generic.List<Discount>

DiscountSource

The discount source

Declaration
public string DiscountSource { get; set; }
Property Value
Type Description
System.String

DisplayId

The display id

Declaration
public string DisplayId { get; set; }
Property Value
Type Description
System.String

InstoreShipments

The instore shipments

Declaration
public List<StoreShipment> InstoreShipments { get; set; }
Property Value
Type Description
System.Collections.Generic.List<StoreShipment>

LineItems

The line items

Declaration
public List<LineItem> LineItems { get; set; }
Property Value
Type Description
System.Collections.Generic.List<LineItem>

OrderDescription

Order description

Declaration
public string OrderDescription { get; set; }
Property Value
Type Description
System.String

OrderReference

The order reference

Declaration
public string OrderReference { get; set; }
Property Value
Type Description
System.String

Shipments

The shipments

Declaration
public List<Shipment> Shipments { get; set; }
Property Value
Type Description
System.Collections.Generic.List<Shipment>

TaxAmount

The tax amount

Declaration
public long TaxAmount { get; set; }
Property Value
Type Description
System.Int64

TotalAmount

The total amount

Declaration
public long TotalAmount { get; set; }
Property Value
Type Description
System.Int64

TransactionReference

The transaction reference

Declaration
public string TransactionReference { get; set; }
Property Value
Type Description
System.String