| // Copyright 2020 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| // https://github.com/WICG/digital-goods/blob/master/explainer.md |
| dictionary ItemDetails { |
| required DOMString itemId; |
| required DOMString title; |
| required PaymentCurrencyAmount price; |
| DOMString description; |
| // Periods are specified as ISO 8601 durations. |
| // https://en.wikipedia.org/wiki/ISO_8601#Durations |
| DOMString subscriptionPeriod; |
| DOMString freeTrialPeriod; |
| PaymentCurrencyAmount introductoryPrice; |
| DOMString introductoryPricePeriod; |
| }; |