toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (discountAmount != null) 'discountAmount': discountAmount!,
if (discountRatioMicros != null)
'discountRatioMicros': discountRatioMicros!,
if (recurrenceCount != null) 'recurrenceCount': recurrenceCount!,
if (regionCode != null) 'regionCode': regionCode!,
};