toJson method
Implementation
Map<String, dynamic> toJson() {
final includeCredit = this.includeCredit;
final includeDiscount = this.includeDiscount;
final includeOtherSubscription = this.includeOtherSubscription;
final includeRecurring = this.includeRecurring;
final includeRefund = this.includeRefund;
final includeSubscription = this.includeSubscription;
final includeSupport = this.includeSupport;
final includeTax = this.includeTax;
final includeUpfront = this.includeUpfront;
final useAmortized = this.useAmortized;
final useBlended = this.useBlended;
return {
if (includeCredit != null) 'IncludeCredit': includeCredit,
if (includeDiscount != null) 'IncludeDiscount': includeDiscount,
if (includeOtherSubscription != null)
'IncludeOtherSubscription': includeOtherSubscription,
if (includeRecurring != null) 'IncludeRecurring': includeRecurring,
if (includeRefund != null) 'IncludeRefund': includeRefund,
if (includeSubscription != null)
'IncludeSubscription': includeSubscription,
if (includeSupport != null) 'IncludeSupport': includeSupport,
if (includeTax != null) 'IncludeTax': includeTax,
if (includeUpfront != null) 'IncludeUpfront': includeUpfront,
if (useAmortized != null) 'UseAmortized': useAmortized,
if (useBlended != null) 'UseBlended': useBlended,
};
}