toJson method

Map<String, dynamic> toJson()

Implementation

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