billingPeriod property

Period get billingPeriod

Billing period for which the given price applies, specified in ISO 8601 format.

Implementation

Period get billingPeriod {
  if (googlePlayObj != null) {
    return Period.fromGooglePlay(googlePlayObj!.billingPeriod);
  }
  if (appStoreObj != null) {
    return Period.fromAppStore(appStoreObj!.subscriptionPeriod!);
  }
  throw UnsupportedError("Store not supported");
}