Represents state/province information during checkout. Provides access to state or province details for regional pricing and shipping.

Hierarchy

  • CheckoutStateProvince

Properties

Properties

Abbreviation: string

State or province abbreviation.

Example

if (CheckoutItem.StateProvince.Abbreviation === "CA") {
console("California shipping - apply CA tax");
}
Name: string

Full state or province name.

Example

console("Shipping to state: " + CheckoutItem.StateProvince.Name);

Generated using TypeDoc