Home > @vsf-enterprise/bigcommerce-theme > OrderSummary

# OrderSummary interface

Order summary use in mapping the BigCommerce OrderByCartResponse type to OrderSummary which is needed for sfUI components

Signature:

export interface OrderSummary 

# Properties

Property Type Description
email string The email of the customer. Must be unique.
firstName string The first name of the customer.
lastName string The last name of the customer.
payment { streetName: string; city: string; zipCode: string; country: string; phoneNumber: string; paymentMethod: OrderPaymentMethod; shippingMethod: string; }
products OrderItem[] Order products list
shipping { streetName: string; city: string; zipCode: string; country: string; phoneNumber: string; shippingMethod: { value: string; }; cost: string; } Shipping address of the customer
subtotal string Override value for subtotal including tax. If specified, the field subtotal_ex_tax is also required. (Float, Float-As-String, Integer)
total string Override value for the total, including tax. If specified, the field total_ex_tax is also required. (Float, Float-As-String, Integer)