copyWith method
WebApiModulesHomeControlsInventoryConsignorInventoryConsignor
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,
- List<
FwStandardBusinessLogicFwBusinessLogicFieldDefinition> ? fields, - List<
FwStandardDataFwCustomValue> ? custom, - List<
FwStandardDataFwDefaultAttribute> ? defaultFieldAttributes, - List<
FwStandardDataFwTranslatedValue> ? translation,
Implementation
WebApiModulesHomeControlsInventoryConsignorInventoryConsignor 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,
List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
List<FwStandardDataFwCustomValue>? custom,
List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
List<FwStandardDataFwTranslatedValue>? translation}) {
return WebApiModulesHomeControlsInventoryConsignorInventoryConsignor(
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,
fields: fields ?? this.fields,
custom: custom ?? this.custom,
defaultFieldAttributes:
defaultFieldAttributes ?? this.defaultFieldAttributes,
translation: translation ?? this.translation);
}