InstallmentsBasePlanType.fromJson constructor

InstallmentsBasePlanType.fromJson(
  1. Map json_
)

Implementation

InstallmentsBasePlanType.fromJson(core.Map json_)
    : this(
        accountHoldDuration: json_.containsKey('accountHoldDuration')
            ? json_['accountHoldDuration'] as core.String
            : null,
        billingPeriodDuration: json_.containsKey('billingPeriodDuration')
            ? json_['billingPeriodDuration'] as core.String
            : null,
        committedPaymentsCount: json_.containsKey('committedPaymentsCount')
            ? json_['committedPaymentsCount'] as core.int
            : null,
        gracePeriodDuration: json_.containsKey('gracePeriodDuration')
            ? json_['gracePeriodDuration'] as core.String
            : null,
        prorationMode: json_.containsKey('prorationMode')
            ? json_['prorationMode'] as core.String
            : null,
        renewalType: json_.containsKey('renewalType')
            ? json_['renewalType'] as core.String
            : null,
        resubscribeState: json_.containsKey('resubscribeState')
            ? json_['resubscribeState'] as core.String
            : null,
      );