toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (batchId != null) 'batchId': batchId!,
if (merchantId != null) 'merchantId': merchantId!,
if (method != null) 'method': method!,
if (returnAddress != null) 'returnAddress': returnAddress!,
if (returnAddressId != null) 'returnAddressId': returnAddressId!,
};