copyWithWrapped method

WebApiModulesAgentOrderGetCustomRatesRequest copyWithWrapped({
  1. Wrapped<String?>? orderId,
  2. Wrapped<String?>? inventoryId,
  3. Wrapped<String?>? recType,
})

Implementation

WebApiModulesAgentOrderGetCustomRatesRequest copyWithWrapped(
    {Wrapped<String?>? orderId,
    Wrapped<String?>? inventoryId,
    Wrapped<String?>? recType}) {
  return WebApiModulesAgentOrderGetCustomRatesRequest(
      orderId: (orderId != null ? orderId.value : this.orderId),
      inventoryId:
          (inventoryId != null ? inventoryId.value : this.inventoryId),
      recType: (recType != null ? recType.value : this.recType));
}