copyWith method

WebApiModulesHomeControlsDeliveryDelivery copyWith({
  1. String? deliveryId,
  2. String? orderId,
  3. String? deliveryType,
  4. String? requiredDate,
  5. String? requiredTime,
  6. String? targetShipDate,
  7. String? targetShipTime,
  8. String? direction,
  9. String? addressType,
  10. String? fromLocation,
  11. String? fromContact,
  12. String? fromContactPhone,
  13. String? fromAlternateContact,
  14. String? fromAlternateContactPhone,
  15. String? fromAttention,
  16. String? fromAddress1,
  17. String? fromAddress2,
  18. String? fromCity,
  19. String? fromState,
  20. String? fromZipCode,
  21. String? fromCountry,
  22. String? fromCountryId,
  23. String? fromCrossStreets,
  24. String? toLocation,
  25. String? toContact,
  26. String? toContactPhone,
  27. String? toAlternateContact,
  28. String? toAlternateContactPhone,
  29. String? toAttention,
  30. String? toAddress1,
  31. String? toAddress2,
  32. String? toCity,
  33. String? toState,
  34. String? toZipCode,
  35. String? toCountryId,
  36. String? toCountry,
  37. String? toContactFax,
  38. String? toCrossStreets,
  39. String? deliveryNotes,
  40. String? carrierId,
  41. String? carrier,
  42. String? carrierAccount,
  43. String? shipViaId,
  44. String? shipVia,
  45. String? invoiceId,
  46. String? vendorInvoiceId,
  47. double? estimatedFreight,
  48. double? freightInvoiceAmount,
  49. String? chargeType,
  50. String? freightTrackingNumber,
  51. bool? dropShip,
  52. String? packageCode,
  53. bool? billPoFreightOnOrder,
  54. String? onlineOrderNumber,
  55. String? onlineOrderStatus,
  56. String? dateStamp,
  57. String? auditNote,
  58. String? recordTitle,
  59. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  60. List<FwStandardDataFwCustomValue>? custom,
  61. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  62. List<FwStandardDataFwTranslatedValue>? translation,
})

Implementation

WebApiModulesHomeControlsDeliveryDelivery copyWith(
    {String? deliveryId,
    String? orderId,
    String? deliveryType,
    String? requiredDate,
    String? requiredTime,
    String? targetShipDate,
    String? targetShipTime,
    String? direction,
    String? addressType,
    String? fromLocation,
    String? fromContact,
    String? fromContactPhone,
    String? fromAlternateContact,
    String? fromAlternateContactPhone,
    String? fromAttention,
    String? fromAddress1,
    String? fromAddress2,
    String? fromCity,
    String? fromState,
    String? fromZipCode,
    String? fromCountry,
    String? fromCountryId,
    String? fromCrossStreets,
    String? toLocation,
    String? toContact,
    String? toContactPhone,
    String? toAlternateContact,
    String? toAlternateContactPhone,
    String? toAttention,
    String? toAddress1,
    String? toAddress2,
    String? toCity,
    String? toState,
    String? toZipCode,
    String? toCountryId,
    String? toCountry,
    String? toContactFax,
    String? toCrossStreets,
    String? deliveryNotes,
    String? carrierId,
    String? carrier,
    String? carrierAccount,
    String? shipViaId,
    String? shipVia,
    String? invoiceId,
    String? vendorInvoiceId,
    double? estimatedFreight,
    double? freightInvoiceAmount,
    String? chargeType,
    String? freightTrackingNumber,
    bool? dropShip,
    String? packageCode,
    bool? billPoFreightOnOrder,
    String? onlineOrderNumber,
    String? onlineOrderStatus,
    String? dateStamp,
    String? auditNote,
    String? recordTitle,
    List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
    List<FwStandardDataFwCustomValue>? custom,
    List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
    List<FwStandardDataFwTranslatedValue>? translation}) {
  return WebApiModulesHomeControlsDeliveryDelivery(
      deliveryId: deliveryId ?? this.deliveryId,
      orderId: orderId ?? this.orderId,
      deliveryType: deliveryType ?? this.deliveryType,
      requiredDate: requiredDate ?? this.requiredDate,
      requiredTime: requiredTime ?? this.requiredTime,
      targetShipDate: targetShipDate ?? this.targetShipDate,
      targetShipTime: targetShipTime ?? this.targetShipTime,
      direction: direction ?? this.direction,
      addressType: addressType ?? this.addressType,
      fromLocation: fromLocation ?? this.fromLocation,
      fromContact: fromContact ?? this.fromContact,
      fromContactPhone: fromContactPhone ?? this.fromContactPhone,
      fromAlternateContact: fromAlternateContact ?? this.fromAlternateContact,
      fromAlternateContactPhone:
          fromAlternateContactPhone ?? this.fromAlternateContactPhone,
      fromAttention: fromAttention ?? this.fromAttention,
      fromAddress1: fromAddress1 ?? this.fromAddress1,
      fromAddress2: fromAddress2 ?? this.fromAddress2,
      fromCity: fromCity ?? this.fromCity,
      fromState: fromState ?? this.fromState,
      fromZipCode: fromZipCode ?? this.fromZipCode,
      fromCountry: fromCountry ?? this.fromCountry,
      fromCountryId: fromCountryId ?? this.fromCountryId,
      fromCrossStreets: fromCrossStreets ?? this.fromCrossStreets,
      toLocation: toLocation ?? this.toLocation,
      toContact: toContact ?? this.toContact,
      toContactPhone: toContactPhone ?? this.toContactPhone,
      toAlternateContact: toAlternateContact ?? this.toAlternateContact,
      toAlternateContactPhone:
          toAlternateContactPhone ?? this.toAlternateContactPhone,
      toAttention: toAttention ?? this.toAttention,
      toAddress1: toAddress1 ?? this.toAddress1,
      toAddress2: toAddress2 ?? this.toAddress2,
      toCity: toCity ?? this.toCity,
      toState: toState ?? this.toState,
      toZipCode: toZipCode ?? this.toZipCode,
      toCountryId: toCountryId ?? this.toCountryId,
      toCountry: toCountry ?? this.toCountry,
      toContactFax: toContactFax ?? this.toContactFax,
      toCrossStreets: toCrossStreets ?? this.toCrossStreets,
      deliveryNotes: deliveryNotes ?? this.deliveryNotes,
      carrierId: carrierId ?? this.carrierId,
      carrier: carrier ?? this.carrier,
      carrierAccount: carrierAccount ?? this.carrierAccount,
      shipViaId: shipViaId ?? this.shipViaId,
      shipVia: shipVia ?? this.shipVia,
      invoiceId: invoiceId ?? this.invoiceId,
      vendorInvoiceId: vendorInvoiceId ?? this.vendorInvoiceId,
      estimatedFreight: estimatedFreight ?? this.estimatedFreight,
      freightInvoiceAmount: freightInvoiceAmount ?? this.freightInvoiceAmount,
      chargeType: chargeType ?? this.chargeType,
      freightTrackingNumber:
          freightTrackingNumber ?? this.freightTrackingNumber,
      dropShip: dropShip ?? this.dropShip,
      packageCode: packageCode ?? this.packageCode,
      billPoFreightOnOrder: billPoFreightOnOrder ?? this.billPoFreightOnOrder,
      onlineOrderNumber: onlineOrderNumber ?? this.onlineOrderNumber,
      onlineOrderStatus: onlineOrderStatus ?? this.onlineOrderStatus,
      dateStamp: dateStamp ?? this.dateStamp,
      auditNote: auditNote ?? this.auditNote,
      recordTitle: recordTitle ?? this.recordTitle,
      fields: fields ?? this.fields,
      custom: custom ?? this.custom,
      defaultFieldAttributes:
          defaultFieldAttributes ?? this.defaultFieldAttributes,
      translation: translation ?? this.translation);
}