diff --git a/index.html b/index.html index 9646b95..780dd57 100644 --- a/index.html +++ b/index.html @@ -1151,6 +1151,63 @@
+ The PaymentMethodChangeResponse
contains the updated
+ total (optionally with modifiers) and possible errors resulting from
+ user selection of a payment method within a payment handler.
+
+ dictionary PaymentMethodChangeResponse { + DOMString error; + PaymentCurrencyAmount total; + FrozenArray<PaymentDetailsModifier> modifiers; + object paymentMethodErrors; + }; ++
+ A human readable string that explains why the payment method cannot + be used. +
++ Updated total based on the changed payment method. The total can + change, for example, because the billing address of the payment + method selected by the user changes the Value Added Tax (VAT). +
++ Updated modifiers based on the changed payment method. For example, + if the overall total has increased by €1.00 based on the billing + address, then the totals specified in each of the modifiers should + also increase by €1.00. +
++ Validation errors for the payment method, if any. +
++ The value of PaymentOptions.requestBillingAddress + in the PaymentRequest. +
++ This method is used by the payment handler to get updated total + given such payment method details as the billing address. When + called, it runs the change payment method algorithm. +
++ When this algorithm is invoked with methodName and + methodDetails parameters, the user agent MUST run the + following steps: +
+null
.
+