copyWith method
WebApiModulesInventoryInventoryConsignorInventoryConsignor
copyWith({
- String? consignorId,
- String? consignorAgreementId,
- String? consignor,
- String? agreementNumber,
- String? agreementDescription,
- String? inventoryId,
- String? iCode,
- String? description,
- String? trackedBy,
- bool? treatConsignedQtyAsOwned,
- int? qtyConsigned,
- int? consignorPercent,
- int? housePercent,
- bool? flatRate,
- double? flatRateAmount,
- String? itemId,
- String? barCode,
- String? serialNumber,
- String? inventoryStatusId,
- String? inventoryStatus,
- String? inventoryStatusType,
- String? warehouseId,
- String? warehouse,
- String? warehouseCode,
- String? textColor,
- String? color,
- 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,
Implementation
WebApiModulesInventoryInventoryConsignorInventoryConsignor copyWith({
String? consignorId,
String? consignorAgreementId,
String? consignor,
String? agreementNumber,
String? agreementDescription,
String? inventoryId,
String? iCode,
String? description,
String? trackedBy,
bool? treatConsignedQtyAsOwned,
int? qtyConsigned,
int? consignorPercent,
int? housePercent,
bool? flatRate,
double? flatRateAmount,
String? itemId,
String? barCode,
String? serialNumber,
String? inventoryStatusId,
String? inventoryStatus,
String? inventoryStatusType,
String? warehouseId,
String? warehouse,
String? warehouseCode,
String? textColor,
String? color,
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 WebApiModulesInventoryInventoryConsignorInventoryConsignor(
consignorId: consignorId ?? this.consignorId,
consignorAgreementId: consignorAgreementId ?? this.consignorAgreementId,
consignor: consignor ?? this.consignor,
agreementNumber: agreementNumber ?? this.agreementNumber,
agreementDescription: agreementDescription ?? this.agreementDescription,
inventoryId: inventoryId ?? this.inventoryId,
iCode: iCode ?? this.iCode,
description: description ?? this.description,
trackedBy: trackedBy ?? this.trackedBy,
treatConsignedQtyAsOwned:
treatConsignedQtyAsOwned ?? this.treatConsignedQtyAsOwned,
qtyConsigned: qtyConsigned ?? this.qtyConsigned,
consignorPercent: consignorPercent ?? this.consignorPercent,
housePercent: housePercent ?? this.housePercent,
flatRate: flatRate ?? this.flatRate,
flatRateAmount: flatRateAmount ?? this.flatRateAmount,
itemId: itemId ?? this.itemId,
barCode: barCode ?? this.barCode,
serialNumber: serialNumber ?? this.serialNumber,
inventoryStatusId: inventoryStatusId ?? this.inventoryStatusId,
inventoryStatus: inventoryStatus ?? this.inventoryStatus,
inventoryStatusType: inventoryStatusType ?? this.inventoryStatusType,
warehouseId: warehouseId ?? this.warehouseId,
warehouse: warehouse ?? this.warehouse,
warehouseCode: warehouseCode ?? this.warehouseCode,
textColor: textColor ?? this.textColor,
color: color ?? this.color,
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,
);
}