Skip to content

Commit

Permalink
Add optional description to PaymentShippingOption
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoscaceres committed Apr 27, 2020
1 parent f868c93 commit ed426ba
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2935,6 +2935,7 @@ <h2>
dictionary PaymentShippingOption {
required DOMString id;
required DOMString label;
DOMString description;
required PaymentCurrencyAmount amount;
boolean selected = false;
};
Expand All @@ -2959,9 +2960,16 @@ <h2>
<dfn>label</dfn> member
</dt>
<dd>
A human-readable string description of the item. The <a>user
agent</a> SHOULD use this string to display the shipping option to
the user.
A human-readable label of the shipping option. The <a>user agent</a>
SHOULD use this string to display the shipping option to the user.
</dd>
<dt>
<dfn>description</dfn> member
</dt>
<dd>
A detailed description of the shipping option. If present, the
<a>user agent</a> MAY use this to present additional details relating
to the shipping option to the user.
</dd>
<dt>
<dfn>amount</dfn> member
Expand Down

0 comments on commit ed426ba

Please sign in to comment.