toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (creationDate != null) 'creationDate': creationDate!,
      if (merchantOrderId != null) 'merchantOrderId': merchantOrderId!,
      if (orderId != null) 'orderId': orderId!,
      if (orderReturnId != null) 'orderReturnId': orderReturnId!,
      if (returnItems != null) 'returnItems': returnItems!,
      if (returnPricingInfo != null) 'returnPricingInfo': returnPricingInfo!,
      if (returnShipments != null) 'returnShipments': returnShipments!,
    };