copyWith method

WebApiModulesAgentPurchaseOrderReturnBarCodePurchaseOrderReturnBarCode copyWith({
  1. int? purchaseOrderReturnBarCodeId,
  2. String? barCode,
  3. String? inspectionNumber,
  4. String? inspectionVendorId,
  5. String? inspectionVendor,
  6. String? manufactureDate,
  7. int? printQuantity,
  8. String? serialNumber,
  9. String? rfId,
  10. String? purchaseOrderItemId,
  11. String? purchaseOrderId,
  12. int? orderTranId,
  13. String? internalChar,
  14. String? returnContractId,
  15. String? inventoryId,
  16. String? scannableBarCode,
  17. String? iCode,
  18. String? description,
  19. String? iCodeDescription,
  20. String? packingSlipNumber,
  21. String? warehouseId,
  22. String? itemId,
  23. String? purchaseId,
  24. String? availableFor,
  25. String? availableForDisplay,
  26. String? trackedBy,
  27. bool? serialNumberIsMixedCase,
  28. String? dateStamp,
  29. String? auditNote,
  30. String? recordTitle,
  31. dynamic urlIdentifier,
  32. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  33. List<FwStandardDataFwCustomValue>? custom,
  34. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  35. FwStandardBusinessLogicFwBusinessLogic? original,
  36. List<FwStandardDataFwTranslatedValue>? translation,
  37. bool? hasImport,
  38. bool? hasDocuments,
  39. String? createdByUserId,
  40. String? createdByUserName,
  41. String? createdDateTime,
  42. String? modifiedByUserId,
  43. String? modifiedByUserName,
  44. String? modifiedDateTime,
})

Implementation

WebApiModulesAgentPurchaseOrderReturnBarCodePurchaseOrderReturnBarCode
copyWith({
  int? purchaseOrderReturnBarCodeId,
  String? barCode,
  String? inspectionNumber,
  String? inspectionVendorId,
  String? inspectionVendor,
  String? manufactureDate,
  int? printQuantity,
  String? serialNumber,
  String? rfId,
  String? purchaseOrderItemId,
  String? purchaseOrderId,
  int? orderTranId,
  String? internalChar,
  String? returnContractId,
  String? inventoryId,
  String? scannableBarCode,
  String? iCode,
  String? description,
  String? iCodeDescription,
  String? packingSlipNumber,
  String? warehouseId,
  String? itemId,
  String? purchaseId,
  String? availableFor,
  String? availableForDisplay,
  String? trackedBy,
  bool? serialNumberIsMixedCase,
  String? dateStamp,
  String? auditNote,
  String? recordTitle,
  dynamic urlIdentifier,
  List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  List<FwStandardDataFwCustomValue>? custom,
  List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  FwStandardBusinessLogicFwBusinessLogic? original,
  List<FwStandardDataFwTranslatedValue>? translation,
  bool? hasImport,
  bool? hasDocuments,
  String? createdByUserId,
  String? createdByUserName,
  String? createdDateTime,
  String? modifiedByUserId,
  String? modifiedByUserName,
  String? modifiedDateTime,
}) {
  return WebApiModulesAgentPurchaseOrderReturnBarCodePurchaseOrderReturnBarCode(
    purchaseOrderReturnBarCodeId:
        purchaseOrderReturnBarCodeId ?? this.purchaseOrderReturnBarCodeId,
    barCode: barCode ?? this.barCode,
    inspectionNumber: inspectionNumber ?? this.inspectionNumber,
    inspectionVendorId: inspectionVendorId ?? this.inspectionVendorId,
    inspectionVendor: inspectionVendor ?? this.inspectionVendor,
    manufactureDate: manufactureDate ?? this.manufactureDate,
    printQuantity: printQuantity ?? this.printQuantity,
    serialNumber: serialNumber ?? this.serialNumber,
    rfId: rfId ?? this.rfId,
    purchaseOrderItemId: purchaseOrderItemId ?? this.purchaseOrderItemId,
    purchaseOrderId: purchaseOrderId ?? this.purchaseOrderId,
    orderTranId: orderTranId ?? this.orderTranId,
    internalChar: internalChar ?? this.internalChar,
    returnContractId: returnContractId ?? this.returnContractId,
    inventoryId: inventoryId ?? this.inventoryId,
    scannableBarCode: scannableBarCode ?? this.scannableBarCode,
    iCode: iCode ?? this.iCode,
    description: description ?? this.description,
    iCodeDescription: iCodeDescription ?? this.iCodeDescription,
    packingSlipNumber: packingSlipNumber ?? this.packingSlipNumber,
    warehouseId: warehouseId ?? this.warehouseId,
    itemId: itemId ?? this.itemId,
    purchaseId: purchaseId ?? this.purchaseId,
    availableFor: availableFor ?? this.availableFor,
    availableForDisplay: availableForDisplay ?? this.availableForDisplay,
    trackedBy: trackedBy ?? this.trackedBy,
    serialNumberIsMixedCase:
        serialNumberIsMixedCase ?? this.serialNumberIsMixedCase,
    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,
    hasDocuments: hasDocuments ?? this.hasDocuments,
    createdByUserId: createdByUserId ?? this.createdByUserId,
    createdByUserName: createdByUserName ?? this.createdByUserName,
    createdDateTime: createdDateTime ?? this.createdDateTime,
    modifiedByUserId: modifiedByUserId ?? this.modifiedByUserId,
    modifiedByUserName: modifiedByUserName ?? this.modifiedByUserName,
    modifiedDateTime: modifiedDateTime ?? this.modifiedDateTime,
  );
}