toJson method
Implementation
Map<String, dynamic> toJson() => {
if (displayAmount != null) 'displayAmount': displayAmount!,
if (currency != null) 'currency': currency!.toJson(),
'storeId': storeId,
if (channelKey != null) 'channelKey': channelKey!,
'billingKeyMethod': billingKeyMethod.toJson(),
if (issueName != null) 'issueName': issueName!,
if (issueId != null) 'issueId': issueId!,
if (customer != null) 'customer': customer!.toJson(),
if (windowType != null) 'windowType': windowType!.toJson(),
if (forceRedirect != null) 'forceRedirect': forceRedirect!,
if (locale != null) 'locale': locale!.toJson(),
if (customData != null) 'customData': customData!,
if (offerPeriod != null) 'offerPeriod': offerPeriod!.toJson(),
'appScheme': appScheme,
if (noticeUrls != null) 'noticeUrls': noticeUrls!,
if (productType != null) 'productType': productType!.toJson(),
if (bypass != null) 'bypass': bypass!.toJson(),
if (popup != null) 'popup': popup!.toJson(),
if (iframe != null) 'iframe': iframe!.toJson(),
if (card != null) 'card': card!.toJson(),
if (mobile != null) 'mobile': mobile!.toJson(),
if (easyPay != null) 'easyPay': easyPay!.toJson(),
if (paypal != null) 'paypal': paypal!.toJson(),
};