ApplePayShippingMethod
A dictionary that describes the shipping method for delivering physical goods.
Declaration
dictionary ApplePayShippingMethod {
required DOMString label;
required DOMString detail;
required DOMString amount;
required DOMString identifier;
ApplePayDateComponentsRange dateComponentsRange;
};Mentioned in
Overview
The Apple Pay sheet displays all the properties of a shipping method except identifier. The following listing is an example of a shipping method that shows free shipping.
{
"label": "Free Shipping",
"detail": "Arrives in 5 to 7 days",
"amount": "0.00",
"identifier": "FreeShip"
}