Structure

ApplePayShippingMethodUpdate

Updated transaction details resulting from a change in shipping method.

Declaration

dictionary ApplePayShippingMethodUpdate {
    required ApplePayLineItem newTotal;
    sequence < ApplePayLineItem > newLineItems;
};

Topics

Updating Shipping Method Properties

newLineItems

An optional list of updated line items.

newTotal

The new total resulting from a change in the shipping method.

See Also

Handling Shipping Method Updates

onshippingmethodselected

An event handler that is called when a shipping method is selected.

completeShippingMethodSelection

Completes the selection of a shipping method with an update.

ApplePayShippingMethodSelectedEvent

An event object that contains the shipping method.