copyWith method

WebApiModulesWarehouseContractContract copyWith({
  1. String? contractId,
  2. String? contractNumber,
  3. String? contractType,
  4. String? contractDate,
  5. String? contractTime,
  6. String? locationId,
  7. String? locationCode,
  8. String? location,
  9. String? warehouseId,
  10. String? warehouseCode,
  11. String? warehouse,
  12. String? customerId,
  13. String? customer,
  14. String? dealId,
  15. String? deal,
  16. String? orderId,
  17. String? orderNumber,
  18. String? departmentId,
  19. String? department,
  20. String? purchaseOrderId,
  21. String? purchaseOrderNumber,
  22. String? requisitionNumber,
  23. String? vendorId,
  24. String? vendor,
  25. bool? isMigrated,
  26. bool? unassigned,
  27. bool? needReconcile,
  28. bool? pendingExchange,
  29. String? exchangeContractId,
  30. bool? rental,
  31. bool? sales,
  32. bool? exchange,
  33. String? inputByUserId,
  34. String? inputByUser,
  35. bool? dealInactive,
  36. bool? truck,
  37. String? billingDate,
  38. String? billingDateChangeReason,
  39. String? lastBillingDateChangeReason,
  40. bool? billingDateAdjusted,
  41. bool? hasVoId,
  42. bool? hasTransfer,
  43. String? sessionId,
  44. String? orderDescription,
  45. String? poOrderDescription,
  46. String? deliveryId,
  47. String? deliveryDeliveryType,
  48. String? deliveryRequiredDate,
  49. String? deliveryRequiredTime,
  50. String? deliveryTargetShipDate,
  51. String? deliveryTargetShipTime,
  52. String? deliveryDirection,
  53. String? deliveryAddressType,
  54. String? deliveryFromLocation,
  55. String? deliveryFromContact,
  56. String? deliveryFromContactPhone,
  57. String? deliveryFromAlternateContact,
  58. String? deliveryFromAlternateContactPhone,
  59. String? deliveryFromAttention,
  60. String? deliveryFromAddress1,
  61. String? deliveryFromAddress2,
  62. String? deliveryFromCity,
  63. String? deliveryFromState,
  64. String? deliveryFromZipCode,
  65. String? deliveryFromCountry,
  66. String? deliveryFromCountryCodeIsoAlpha2,
  67. int? deliveryFromCountryCodePhone,
  68. String? deliveryFromCountryId,
  69. String? deliveryFromCrossStreets,
  70. String? deliveryToLocation,
  71. String? deliveryToContact,
  72. String? deliveryToContactPhone,
  73. String? deliveryToAlternateContact,
  74. String? deliveryToAlternateContactPhone,
  75. String? deliveryToAttention,
  76. String? deliveryToAddress1,
  77. String? deliveryToAddress2,
  78. String? deliveryToCity,
  79. String? deliveryToState,
  80. String? deliveryToZipCode,
  81. String? deliveryToCountryId,
  82. String? deliveryToCountry,
  83. String? deliveryToCountryCodeIsoAlpha2,
  84. int? deliveryToCountryCodePhone,
  85. String? deliveryToContactFax,
  86. String? deliveryToCrossStreets,
  87. String? deliveryDeliveryNotes,
  88. String? deliveryCarrierId,
  89. String? deliveryCarrier,
  90. String? deliveryCarrierAccount,
  91. String? deliveryShipViaId,
  92. String? deliveryShipVia,
  93. String? deliveryInvoiceId,
  94. String? deliveryVendorInvoiceId,
  95. double? deliveryEstimatedFreight,
  96. double? deliveryFreightInvoiceAmount,
  97. String? deliveryChargeType,
  98. String? deliveryFreightTrackingNumber,
  99. String? deliveryFreightTrackingUrl,
  100. bool? deliveryDropShip,
  101. String? deliveryPackageCode,
  102. bool? deliveryBillPoFreightOnOrder,
  103. String? deliveryOnlineOrderNumber,
  104. String? deliveryOnlineOrderStatus,
  105. String? deliveryToVenue,
  106. String? deliveryToVenueId,
  107. String? deliveryDateStamp,
  108. String? note,
  109. bool? printNoteOnOrder,
  110. String? termsConditionsId,
  111. String? quikReceiptTermsConditionsId,
  112. String? quikReceiptTermsConditions,
  113. String? termsConditions,
  114. String? containerId,
  115. String? containerItemId,
  116. String? containerDescription,
  117. String? containerScannableBarCode,
  118. String? containerScannableItemId,
  119. String? responsiblePersonId,
  120. String? responsiblePerson,
  121. String? responsiblePersonEmail,
  122. String? responsiblePersonMobilePhone,
  123. String? responsiblePersonOfficePhone,
  124. String? responsiblePersonOfficeExtension,
  125. bool? hasPrintableBarCodes,
  126. String? dateStamp,
  127. String? auditNote,
  128. String? recordTitle,
  129. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  130. List<FwStandardDataFwCustomValue>? custom,
  131. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  132. List<FwStandardDataFwTranslatedValue>? translation,
})

Implementation

WebApiModulesWarehouseContractContract copyWith(
    {String? contractId,
    String? contractNumber,
    String? contractType,
    String? contractDate,
    String? contractTime,
    String? locationId,
    String? locationCode,
    String? location,
    String? warehouseId,
    String? warehouseCode,
    String? warehouse,
    String? customerId,
    String? customer,
    String? dealId,
    String? deal,
    String? orderId,
    String? orderNumber,
    String? departmentId,
    String? department,
    String? purchaseOrderId,
    String? purchaseOrderNumber,
    String? requisitionNumber,
    String? vendorId,
    String? vendor,
    bool? isMigrated,
    bool? unassigned,
    bool? needReconcile,
    bool? pendingExchange,
    String? exchangeContractId,
    bool? rental,
    bool? sales,
    bool? exchange,
    String? inputByUserId,
    String? inputByUser,
    bool? dealInactive,
    bool? truck,
    String? billingDate,
    String? billingDateChangeReason,
    String? lastBillingDateChangeReason,
    bool? billingDateAdjusted,
    bool? hasVoId,
    bool? hasTransfer,
    String? sessionId,
    String? orderDescription,
    String? poOrderDescription,
    String? deliveryId,
    String? deliveryDeliveryType,
    String? deliveryRequiredDate,
    String? deliveryRequiredTime,
    String? deliveryTargetShipDate,
    String? deliveryTargetShipTime,
    String? deliveryDirection,
    String? deliveryAddressType,
    String? deliveryFromLocation,
    String? deliveryFromContact,
    String? deliveryFromContactPhone,
    String? deliveryFromAlternateContact,
    String? deliveryFromAlternateContactPhone,
    String? deliveryFromAttention,
    String? deliveryFromAddress1,
    String? deliveryFromAddress2,
    String? deliveryFromCity,
    String? deliveryFromState,
    String? deliveryFromZipCode,
    String? deliveryFromCountry,
    String? deliveryFromCountryCodeIsoAlpha2,
    int? deliveryFromCountryCodePhone,
    String? deliveryFromCountryId,
    String? deliveryFromCrossStreets,
    String? deliveryToLocation,
    String? deliveryToContact,
    String? deliveryToContactPhone,
    String? deliveryToAlternateContact,
    String? deliveryToAlternateContactPhone,
    String? deliveryToAttention,
    String? deliveryToAddress1,
    String? deliveryToAddress2,
    String? deliveryToCity,
    String? deliveryToState,
    String? deliveryToZipCode,
    String? deliveryToCountryId,
    String? deliveryToCountry,
    String? deliveryToCountryCodeIsoAlpha2,
    int? deliveryToCountryCodePhone,
    String? deliveryToContactFax,
    String? deliveryToCrossStreets,
    String? deliveryDeliveryNotes,
    String? deliveryCarrierId,
    String? deliveryCarrier,
    String? deliveryCarrierAccount,
    String? deliveryShipViaId,
    String? deliveryShipVia,
    String? deliveryInvoiceId,
    String? deliveryVendorInvoiceId,
    double? deliveryEstimatedFreight,
    double? deliveryFreightInvoiceAmount,
    String? deliveryChargeType,
    String? deliveryFreightTrackingNumber,
    String? deliveryFreightTrackingUrl,
    bool? deliveryDropShip,
    String? deliveryPackageCode,
    bool? deliveryBillPoFreightOnOrder,
    String? deliveryOnlineOrderNumber,
    String? deliveryOnlineOrderStatus,
    String? deliveryToVenue,
    String? deliveryToVenueId,
    String? deliveryDateStamp,
    String? note,
    bool? printNoteOnOrder,
    String? termsConditionsId,
    String? quikReceiptTermsConditionsId,
    String? quikReceiptTermsConditions,
    String? termsConditions,
    String? containerId,
    String? containerItemId,
    String? containerDescription,
    String? containerScannableBarCode,
    String? containerScannableItemId,
    String? responsiblePersonId,
    String? responsiblePerson,
    String? responsiblePersonEmail,
    String? responsiblePersonMobilePhone,
    String? responsiblePersonOfficePhone,
    String? responsiblePersonOfficeExtension,
    bool? hasPrintableBarCodes,
    String? dateStamp,
    String? auditNote,
    String? recordTitle,
    List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
    List<FwStandardDataFwCustomValue>? custom,
    List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
    List<FwStandardDataFwTranslatedValue>? translation}) {
  return WebApiModulesWarehouseContractContract(
      contractId: contractId ?? this.contractId,
      contractNumber: contractNumber ?? this.contractNumber,
      contractType: contractType ?? this.contractType,
      contractDate: contractDate ?? this.contractDate,
      contractTime: contractTime ?? this.contractTime,
      locationId: locationId ?? this.locationId,
      locationCode: locationCode ?? this.locationCode,
      location: location ?? this.location,
      warehouseId: warehouseId ?? this.warehouseId,
      warehouseCode: warehouseCode ?? this.warehouseCode,
      warehouse: warehouse ?? this.warehouse,
      customerId: customerId ?? this.customerId,
      customer: customer ?? this.customer,
      dealId: dealId ?? this.dealId,
      deal: deal ?? this.deal,
      orderId: orderId ?? this.orderId,
      orderNumber: orderNumber ?? this.orderNumber,
      departmentId: departmentId ?? this.departmentId,
      department: department ?? this.department,
      purchaseOrderId: purchaseOrderId ?? this.purchaseOrderId,
      purchaseOrderNumber: purchaseOrderNumber ?? this.purchaseOrderNumber,
      requisitionNumber: requisitionNumber ?? this.requisitionNumber,
      vendorId: vendorId ?? this.vendorId,
      vendor: vendor ?? this.vendor,
      isMigrated: isMigrated ?? this.isMigrated,
      unassigned: unassigned ?? this.unassigned,
      needReconcile: needReconcile ?? this.needReconcile,
      pendingExchange: pendingExchange ?? this.pendingExchange,
      exchangeContractId: exchangeContractId ?? this.exchangeContractId,
      rental: rental ?? this.rental,
      sales: sales ?? this.sales,
      exchange: exchange ?? this.exchange,
      inputByUserId: inputByUserId ?? this.inputByUserId,
      inputByUser: inputByUser ?? this.inputByUser,
      dealInactive: dealInactive ?? this.dealInactive,
      truck: truck ?? this.truck,
      billingDate: billingDate ?? this.billingDate,
      billingDateChangeReason:
          billingDateChangeReason ?? this.billingDateChangeReason,
      lastBillingDateChangeReason:
          lastBillingDateChangeReason ?? this.lastBillingDateChangeReason,
      billingDateAdjusted: billingDateAdjusted ?? this.billingDateAdjusted,
      hasVoId: hasVoId ?? this.hasVoId,
      hasTransfer: hasTransfer ?? this.hasTransfer,
      sessionId: sessionId ?? this.sessionId,
      orderDescription: orderDescription ?? this.orderDescription,
      poOrderDescription: poOrderDescription ?? this.poOrderDescription,
      deliveryId: deliveryId ?? this.deliveryId,
      deliveryDeliveryType: deliveryDeliveryType ?? this.deliveryDeliveryType,
      deliveryRequiredDate: deliveryRequiredDate ?? this.deliveryRequiredDate,
      deliveryRequiredTime: deliveryRequiredTime ?? this.deliveryRequiredTime,
      deliveryTargetShipDate:
          deliveryTargetShipDate ?? this.deliveryTargetShipDate,
      deliveryTargetShipTime:
          deliveryTargetShipTime ?? this.deliveryTargetShipTime,
      deliveryDirection: deliveryDirection ?? this.deliveryDirection,
      deliveryAddressType: deliveryAddressType ?? this.deliveryAddressType,
      deliveryFromLocation: deliveryFromLocation ?? this.deliveryFromLocation,
      deliveryFromContact: deliveryFromContact ?? this.deliveryFromContact,
      deliveryFromContactPhone:
          deliveryFromContactPhone ?? this.deliveryFromContactPhone,
      deliveryFromAlternateContact:
          deliveryFromAlternateContact ?? this.deliveryFromAlternateContact,
      deliveryFromAlternateContactPhone: deliveryFromAlternateContactPhone ??
          this.deliveryFromAlternateContactPhone,
      deliveryFromAttention:
          deliveryFromAttention ?? this.deliveryFromAttention,
      deliveryFromAddress1: deliveryFromAddress1 ?? this.deliveryFromAddress1,
      deliveryFromAddress2: deliveryFromAddress2 ?? this.deliveryFromAddress2,
      deliveryFromCity: deliveryFromCity ?? this.deliveryFromCity,
      deliveryFromState: deliveryFromState ?? this.deliveryFromState,
      deliveryFromZipCode: deliveryFromZipCode ?? this.deliveryFromZipCode,
      deliveryFromCountry: deliveryFromCountry ?? this.deliveryFromCountry,
      deliveryFromCountryCodeIsoAlpha2: deliveryFromCountryCodeIsoAlpha2 ??
          this.deliveryFromCountryCodeIsoAlpha2,
      deliveryFromCountryCodePhone:
          deliveryFromCountryCodePhone ?? this.deliveryFromCountryCodePhone,
      deliveryFromCountryId:
          deliveryFromCountryId ?? this.deliveryFromCountryId,
      deliveryFromCrossStreets:
          deliveryFromCrossStreets ?? this.deliveryFromCrossStreets,
      deliveryToLocation: deliveryToLocation ?? this.deliveryToLocation,
      deliveryToContact: deliveryToContact ?? this.deliveryToContact,
      deliveryToContactPhone:
          deliveryToContactPhone ?? this.deliveryToContactPhone,
      deliveryToAlternateContact:
          deliveryToAlternateContact ?? this.deliveryToAlternateContact,
      deliveryToAlternateContactPhone: deliveryToAlternateContactPhone ??
          this.deliveryToAlternateContactPhone,
      deliveryToAttention: deliveryToAttention ?? this.deliveryToAttention,
      deliveryToAddress1: deliveryToAddress1 ?? this.deliveryToAddress1,
      deliveryToAddress2: deliveryToAddress2 ?? this.deliveryToAddress2,
      deliveryToCity: deliveryToCity ?? this.deliveryToCity,
      deliveryToState: deliveryToState ?? this.deliveryToState,
      deliveryToZipCode: deliveryToZipCode ?? this.deliveryToZipCode,
      deliveryToCountryId: deliveryToCountryId ?? this.deliveryToCountryId,
      deliveryToCountry: deliveryToCountry ?? this.deliveryToCountry,
      deliveryToCountryCodeIsoAlpha2: deliveryToCountryCodeIsoAlpha2 ??
          this.deliveryToCountryCodeIsoAlpha2,
      deliveryToCountryCodePhone:
          deliveryToCountryCodePhone ?? this.deliveryToCountryCodePhone,
      deliveryToContactFax: deliveryToContactFax ?? this.deliveryToContactFax,
      deliveryToCrossStreets:
          deliveryToCrossStreets ?? this.deliveryToCrossStreets,
      deliveryDeliveryNotes:
          deliveryDeliveryNotes ?? this.deliveryDeliveryNotes,
      deliveryCarrierId: deliveryCarrierId ?? this.deliveryCarrierId,
      deliveryCarrier: deliveryCarrier ?? this.deliveryCarrier,
      deliveryCarrierAccount:
          deliveryCarrierAccount ?? this.deliveryCarrierAccount,
      deliveryShipViaId: deliveryShipViaId ?? this.deliveryShipViaId,
      deliveryShipVia: deliveryShipVia ?? this.deliveryShipVia,
      deliveryInvoiceId: deliveryInvoiceId ?? this.deliveryInvoiceId,
      deliveryVendorInvoiceId:
          deliveryVendorInvoiceId ?? this.deliveryVendorInvoiceId,
      deliveryEstimatedFreight:
          deliveryEstimatedFreight ?? this.deliveryEstimatedFreight,
      deliveryFreightInvoiceAmount:
          deliveryFreightInvoiceAmount ?? this.deliveryFreightInvoiceAmount,
      deliveryChargeType: deliveryChargeType ?? this.deliveryChargeType,
      deliveryFreightTrackingNumber:
          deliveryFreightTrackingNumber ?? this.deliveryFreightTrackingNumber,
      deliveryFreightTrackingUrl:
          deliveryFreightTrackingUrl ?? this.deliveryFreightTrackingUrl,
      deliveryDropShip: deliveryDropShip ?? this.deliveryDropShip,
      deliveryPackageCode: deliveryPackageCode ?? this.deliveryPackageCode,
      deliveryBillPoFreightOnOrder:
          deliveryBillPoFreightOnOrder ?? this.deliveryBillPoFreightOnOrder,
      deliveryOnlineOrderNumber:
          deliveryOnlineOrderNumber ?? this.deliveryOnlineOrderNumber,
      deliveryOnlineOrderStatus:
          deliveryOnlineOrderStatus ?? this.deliveryOnlineOrderStatus,
      deliveryToVenue: deliveryToVenue ?? this.deliveryToVenue,
      deliveryToVenueId: deliveryToVenueId ?? this.deliveryToVenueId,
      deliveryDateStamp: deliveryDateStamp ?? this.deliveryDateStamp,
      note: note ?? this.note,
      printNoteOnOrder: printNoteOnOrder ?? this.printNoteOnOrder,
      termsConditionsId: termsConditionsId ?? this.termsConditionsId,
      quikReceiptTermsConditionsId:
          quikReceiptTermsConditionsId ?? this.quikReceiptTermsConditionsId,
      quikReceiptTermsConditions:
          quikReceiptTermsConditions ?? this.quikReceiptTermsConditions,
      termsConditions: termsConditions ?? this.termsConditions,
      containerId: containerId ?? this.containerId,
      containerItemId: containerItemId ?? this.containerItemId,
      containerDescription: containerDescription ?? this.containerDescription,
      containerScannableBarCode:
          containerScannableBarCode ?? this.containerScannableBarCode,
      containerScannableItemId:
          containerScannableItemId ?? this.containerScannableItemId,
      responsiblePersonId: responsiblePersonId ?? this.responsiblePersonId,
      responsiblePerson: responsiblePerson ?? this.responsiblePerson,
      responsiblePersonEmail:
          responsiblePersonEmail ?? this.responsiblePersonEmail,
      responsiblePersonMobilePhone:
          responsiblePersonMobilePhone ?? this.responsiblePersonMobilePhone,
      responsiblePersonOfficePhone:
          responsiblePersonOfficePhone ?? this.responsiblePersonOfficePhone,
      responsiblePersonOfficeExtension: responsiblePersonOfficeExtension ??
          this.responsiblePersonOfficeExtension,
      hasPrintableBarCodes: hasPrintableBarCodes ?? this.hasPrintableBarCodes,
      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);
}