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? hasSwaps,
  31. bool? rental,
  32. bool? sales,
  33. bool? parts,
  34. bool? exchange,
  35. String? inputByUserId,
  36. String? inputByUser,
  37. bool? dealInactive,
  38. bool? truck,
  39. String? billingDate,
  40. String? billingDateChangeReason,
  41. String? lastBillingDateChangeReason,
  42. bool? billingDateAdjusted,
  43. bool? hasVoId,
  44. bool? hasTransfer,
  45. String? sessionId,
  46. String? orderDescription,
  47. String? poOrderDescription,
  48. String? deliveryId,
  49. String? deliveryDeliveryType,
  50. String? deliveryRequiredDate,
  51. String? deliveryRequiredTime,
  52. String? deliveryTargetShipDate,
  53. String? deliveryTargetShipTime,
  54. String? deliveryDirection,
  55. String? deliveryAddressType,
  56. String? deliveryFromLocation,
  57. String? deliveryFromContact,
  58. String? deliveryFromContactPhone,
  59. String? deliveryFromAlternateContact,
  60. String? deliveryFromAlternateContactPhone,
  61. String? deliveryFromAttention,
  62. String? deliveryFromAddress1,
  63. String? deliveryFromAddress2,
  64. String? deliveryFromCity,
  65. String? deliveryFromState,
  66. String? deliveryFromZipCode,
  67. String? deliveryFromCountry,
  68. String? deliveryFromCityStateZipCodeCountry,
  69. String? deliveryFromCountryCodeIsoAlpha2,
  70. int? deliveryFromCountryCodePhone,
  71. String? deliveryFromCountryId,
  72. String? deliveryFromCrossStreets,
  73. String? deliveryToLocation,
  74. String? deliveryToContact,
  75. String? deliveryToContactPhone,
  76. String? deliveryToAlternateContact,
  77. String? deliveryToAlternateContactPhone,
  78. String? deliveryToAttention,
  79. String? deliveryToAddress1,
  80. String? deliveryToAddress2,
  81. String? deliveryToCity,
  82. String? deliveryToState,
  83. String? deliveryToZipCode,
  84. String? deliveryToCountryId,
  85. String? deliveryToCountry,
  86. String? deliveryToCityStateZipCodeCountry,
  87. String? deliveryToCountryCodeIsoAlpha2,
  88. int? deliveryToCountryCodePhone,
  89. String? deliveryToContactFax,
  90. String? deliveryToCrossStreets,
  91. String? deliveryDeliveryNotes,
  92. String? deliveryCarrierId,
  93. String? deliveryCarrier,
  94. String? deliveryCarrierAccount,
  95. String? deliveryShipViaId,
  96. String? deliveryShipVia,
  97. String? deliveryInvoiceId,
  98. String? deliveryVendorInvoiceId,
  99. double? deliveryEstimatedFreight,
  100. double? deliveryFreightInvoiceAmount,
  101. String? deliveryChargeType,
  102. String? deliveryFreightTrackingNumber,
  103. String? deliveryFreightTrackingUrl,
  104. bool? deliveryDropShip,
  105. String? deliveryPackageCode,
  106. bool? deliveryBillPoFreightOnOrder,
  107. String? deliveryOnlineOrderNumber,
  108. String? deliveryOnlineOrderStatus,
  109. String? deliveryToVenue,
  110. String? deliveryToVenueId,
  111. String? deliveryDateStamp,
  112. String? note,
  113. bool? printNoteOnOrder,
  114. String? termsConditionsId,
  115. String? quikReceiptTermsConditionsId,
  116. String? quikReceiptTermsConditions,
  117. String? termsConditions,
  118. String? containerId,
  119. String? containerItemId,
  120. String? containerDescription,
  121. String? containerScannableBarCode,
  122. String? containerScannableItemId,
  123. String? responsiblePersonId,
  124. String? responsiblePerson,
  125. String? responsiblePersonEmail,
  126. String? responsiblePersonMobilePhone,
  127. String? responsiblePersonOfficePhone,
  128. String? responsiblePersonOfficeExtension,
  129. bool? hasPrintableBarCodes,
  130. String? dateStamp,
  131. String? auditNote,
  132. String? recordTitle,
  133. dynamic urlIdentifier,
  134. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  135. List<FwStandardDataFwCustomValue>? custom,
  136. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  137. FwStandardBusinessLogicFwBusinessLogic? original,
  138. List<FwStandardDataFwTranslatedValue>? translation,
  139. bool? hasImport,
  140. String? createdByUserId,
  141. String? createdByUserName,
  142. String? createdDateTime,
  143. String? modifiedByUserId,
  144. String? modifiedByUserName,
  145. String? modifiedDateTime,
})

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? hasSwaps,
  bool? rental,
  bool? sales,
  bool? parts,
  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? deliveryFromCityStateZipCodeCountry,
  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? deliveryToCityStateZipCodeCountry,
  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,
  dynamic urlIdentifier,
  List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  List<FwStandardDataFwCustomValue>? custom,
  List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  FwStandardBusinessLogicFwBusinessLogic? original,
  List<FwStandardDataFwTranslatedValue>? translation,
  bool? hasImport,
  String? createdByUserId,
  String? createdByUserName,
  String? createdDateTime,
  String? modifiedByUserId,
  String? modifiedByUserName,
  String? modifiedDateTime,
}) {
  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,
    hasSwaps: hasSwaps ?? this.hasSwaps,
    rental: rental ?? this.rental,
    sales: sales ?? this.sales,
    parts: parts ?? this.parts,
    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,
    deliveryFromCityStateZipCodeCountry:
        deliveryFromCityStateZipCodeCountry ??
        this.deliveryFromCityStateZipCodeCountry,
    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,
    deliveryToCityStateZipCodeCountry:
        deliveryToCityStateZipCodeCountry ??
        this.deliveryToCityStateZipCodeCountry,
    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,
    urlIdentifier: urlIdentifier ?? this.urlIdentifier,
    fields: fields ?? this.fields,
    custom: custom ?? this.custom,
    defaultFieldAttributes:
        defaultFieldAttributes ?? this.defaultFieldAttributes,
    original: original ?? this.original,
    translation: translation ?? this.translation,
    hasImport: hasImport ?? this.hasImport,
    createdByUserId: createdByUserId ?? this.createdByUserId,
    createdByUserName: createdByUserName ?? this.createdByUserName,
    createdDateTime: createdDateTime ?? this.createdDateTime,
    modifiedByUserId: modifiedByUserId ?? this.modifiedByUserId,
    modifiedByUserName: modifiedByUserName ?? this.modifiedByUserName,
    modifiedDateTime: modifiedDateTime ?? this.modifiedDateTime,
  );
}