toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (invoiceId != null) 'invoiceId': invoiceId!,
      if (operationId != null) 'operationId': operationId!,
      if (refundOnlyOption != null) 'refundOnlyOption': refundOnlyOption!,
      if (returnOption != null) 'returnOption': returnOption!,
      if (shipmentInvoices != null) 'shipmentInvoices': shipmentInvoices!,
    };