toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (accountHoldDuration != null)
        'accountHoldDuration': accountHoldDuration!,
      if (billingPeriodDuration != null)
        'billingPeriodDuration': billingPeriodDuration!,
      if (committedPaymentsCount != null)
        'committedPaymentsCount': committedPaymentsCount!,
      if (gracePeriodDuration != null)
        'gracePeriodDuration': gracePeriodDuration!,
      if (prorationMode != null) 'prorationMode': prorationMode!,
      if (renewalType != null) 'renewalType': renewalType!,
      if (resubscribeState != null) 'resubscribeState': resubscribeState!,
    };