diff --git a/index.html b/index.html index 3f314cb0..9cd1ce78 100644 --- a/index.html +++ b/index.html @@ -281,6 +281,7 @@

{ label: "Sales Tax", amount: { currency: "USD", value: "5.00" }, + type: "tax" }, ], total: { @@ -1848,6 +1849,7 @@

required DOMString label; required PaymentCurrencyAmount amount; boolean pending = false; + PaymentItemType type; };

@@ -1880,6 +1882,39 @@

shipping option. User agents MAY indicate pending fields in the user interface for the payment request. +
+ type member +
+
+ A PaymentItemType enum value. A the value of type to + assist in the presentation of PaymentItem by, for example, + visually grouping types together or other otherwise distinguishing + them from other types (or from items that have no associated type). +
+ + +
+

+ PaymentItemType enum +

+
+        enum PaymentItemType {
+          "tax"
+        };
+      
+

+ The PaymentItemType serves to categorize a PaymentItem + into particular types. +

+
+
+ "tax" +
+
+ Indicates that the corresponding PaymentItem represents a form + of tax (e.g., sales tax, goods and services tax, value added tax, + etc.). +