copyWith method
WebApiModulesInventoryRetiredRetired
copyWith({
- String? retiredId,
- String? inventoryId,
- String? iCode,
- String? description,
- String? barCode,
- String? itemId,
- String? serialNumber,
- String? warehouseId,
- String? warehouseCode,
- String? warehouse,
- String? consignorId,
- String? consignor,
- String? consignorAgreementId,
- String? agreementNumber,
- String? retiredDate,
- String? retiredReason,
- String? retiredReasonType,
- String? retiredBy,
- String? retiredReasonId,
- String? retiredByUserId,
- String? retiredNotes,
- double? retiredQuantity,
- double? unretiredQuantity,
- String? lostOrderId,
- String? lostOrderNumber,
- String? lostName,
- String? lostAddress1,
- String? lostAddress2,
- String? lostCity,
- String? lostState,
- String? lostZipCode,
- String? lostPhone,
- String? lostCountryId,
- String? lostCountry,
- String? lostCountryCodeIsoAlpha2,
- int? lostCountryCodePhone,
- String? soldToOrderDescription,
- String? soldToOrderReferenceNumber,
- String? soldToOrderId,
- String? soldToOrderItemId,
- String? soldToOrderNumber,
- String? soldDate,
- double? soldAmount,
- String? soldToName,
- String? soldToAddress1,
- String? soldToAddress2,
- String? soldToCity,
- String? soldToState,
- String? soldToZipCode,
- String? soldToPhone,
- String? soldToCountryId,
- String? soldToCountry,
- String? soldToCountryCodeIsoAlpha2,
- int? soldToCountryCodePhone,
- String? soldCurrencyId,
- String? soldCurrency,
- String? soldCurrencyCode,
- String? soldCurrencySymbol,
- String? inventoryTypeId,
- String? replacementInventoryId,
- String? replacementItemId,
- String? replacementItemICode,
- String? replacementItemDescription,
- String? replacementItemBarCode,
- String? replacementItemSerialNumber,
- bool? changeICode,
- String? donatedOrderId,
- String? donatedOrderNumber,
- String? donatedDate,
- String? donatedToName,
- String? donatedToAddress1,
- String? donatedToAddress2,
- String? donatedToCity,
- String? donatedToState,
- String? donatedToZipCode,
- String? donatedToPhone,
- String? donatedToCountryId,
- String? donatedToCountry,
- String? donatedToCountryCodeIsoAlpha2,
- int? donatedToCountryCodePhone,
- String? donatedCurrencyId,
- String? donatedCurrency,
- String? donatedCurrencyCode,
- String? donatedCurrencySymbol,
- String? auditNote,
- String? recordTitle,
- List<
FwStandardBusinessLogicFwBusinessLogicFieldDefinition> ? fields, - List<
FwStandardDataFwCustomValue> ? custom, - List<
FwStandardDataFwDefaultAttribute> ? defaultFieldAttributes, - List<
FwStandardDataFwTranslatedValue> ? translation,
Implementation
WebApiModulesInventoryRetiredRetired copyWith(
{String? retiredId,
String? inventoryId,
String? iCode,
String? description,
String? barCode,
String? itemId,
String? serialNumber,
String? warehouseId,
String? warehouseCode,
String? warehouse,
String? consignorId,
String? consignor,
String? consignorAgreementId,
String? agreementNumber,
String? retiredDate,
String? retiredReason,
String? retiredReasonType,
String? retiredBy,
String? retiredReasonId,
String? retiredByUserId,
String? retiredNotes,
double? retiredQuantity,
double? unretiredQuantity,
String? lostOrderId,
String? lostOrderNumber,
String? lostName,
String? lostAddress1,
String? lostAddress2,
String? lostCity,
String? lostState,
String? lostZipCode,
String? lostPhone,
String? lostCountryId,
String? lostCountry,
String? lostCountryCodeIsoAlpha2,
int? lostCountryCodePhone,
String? soldToOrderDescription,
String? soldToOrderReferenceNumber,
String? soldToOrderId,
String? soldToOrderItemId,
String? soldToOrderNumber,
String? soldDate,
double? soldAmount,
String? soldToName,
String? soldToAddress1,
String? soldToAddress2,
String? soldToCity,
String? soldToState,
String? soldToZipCode,
String? soldToPhone,
String? soldToCountryId,
String? soldToCountry,
String? soldToCountryCodeIsoAlpha2,
int? soldToCountryCodePhone,
String? soldCurrencyId,
String? soldCurrency,
String? soldCurrencyCode,
String? soldCurrencySymbol,
String? inventoryTypeId,
String? replacementInventoryId,
String? replacementItemId,
String? replacementItemICode,
String? replacementItemDescription,
String? replacementItemBarCode,
String? replacementItemSerialNumber,
bool? changeICode,
String? donatedOrderId,
String? donatedOrderNumber,
String? donatedDate,
String? donatedToName,
String? donatedToAddress1,
String? donatedToAddress2,
String? donatedToCity,
String? donatedToState,
String? donatedToZipCode,
String? donatedToPhone,
String? donatedToCountryId,
String? donatedToCountry,
String? donatedToCountryCodeIsoAlpha2,
int? donatedToCountryCodePhone,
String? donatedCurrencyId,
String? donatedCurrency,
String? donatedCurrencyCode,
String? donatedCurrencySymbol,
String? auditNote,
String? recordTitle,
List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
List<FwStandardDataFwCustomValue>? custom,
List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
List<FwStandardDataFwTranslatedValue>? translation}) {
return WebApiModulesInventoryRetiredRetired(
retiredId: retiredId ?? this.retiredId,
inventoryId: inventoryId ?? this.inventoryId,
iCode: iCode ?? this.iCode,
description: description ?? this.description,
barCode: barCode ?? this.barCode,
itemId: itemId ?? this.itemId,
serialNumber: serialNumber ?? this.serialNumber,
warehouseId: warehouseId ?? this.warehouseId,
warehouseCode: warehouseCode ?? this.warehouseCode,
warehouse: warehouse ?? this.warehouse,
consignorId: consignorId ?? this.consignorId,
consignor: consignor ?? this.consignor,
consignorAgreementId: consignorAgreementId ?? this.consignorAgreementId,
agreementNumber: agreementNumber ?? this.agreementNumber,
retiredDate: retiredDate ?? this.retiredDate,
retiredReason: retiredReason ?? this.retiredReason,
retiredReasonType: retiredReasonType ?? this.retiredReasonType,
retiredBy: retiredBy ?? this.retiredBy,
retiredReasonId: retiredReasonId ?? this.retiredReasonId,
retiredByUserId: retiredByUserId ?? this.retiredByUserId,
retiredNotes: retiredNotes ?? this.retiredNotes,
retiredQuantity: retiredQuantity ?? this.retiredQuantity,
unretiredQuantity: unretiredQuantity ?? this.unretiredQuantity,
lostOrderId: lostOrderId ?? this.lostOrderId,
lostOrderNumber: lostOrderNumber ?? this.lostOrderNumber,
lostName: lostName ?? this.lostName,
lostAddress1: lostAddress1 ?? this.lostAddress1,
lostAddress2: lostAddress2 ?? this.lostAddress2,
lostCity: lostCity ?? this.lostCity,
lostState: lostState ?? this.lostState,
lostZipCode: lostZipCode ?? this.lostZipCode,
lostPhone: lostPhone ?? this.lostPhone,
lostCountryId: lostCountryId ?? this.lostCountryId,
lostCountry: lostCountry ?? this.lostCountry,
lostCountryCodeIsoAlpha2:
lostCountryCodeIsoAlpha2 ?? this.lostCountryCodeIsoAlpha2,
lostCountryCodePhone: lostCountryCodePhone ?? this.lostCountryCodePhone,
soldToOrderDescription:
soldToOrderDescription ?? this.soldToOrderDescription,
soldToOrderReferenceNumber:
soldToOrderReferenceNumber ?? this.soldToOrderReferenceNumber,
soldToOrderId: soldToOrderId ?? this.soldToOrderId,
soldToOrderItemId: soldToOrderItemId ?? this.soldToOrderItemId,
soldToOrderNumber: soldToOrderNumber ?? this.soldToOrderNumber,
soldDate: soldDate ?? this.soldDate,
soldAmount: soldAmount ?? this.soldAmount,
soldToName: soldToName ?? this.soldToName,
soldToAddress1: soldToAddress1 ?? this.soldToAddress1,
soldToAddress2: soldToAddress2 ?? this.soldToAddress2,
soldToCity: soldToCity ?? this.soldToCity,
soldToState: soldToState ?? this.soldToState,
soldToZipCode: soldToZipCode ?? this.soldToZipCode,
soldToPhone: soldToPhone ?? this.soldToPhone,
soldToCountryId: soldToCountryId ?? this.soldToCountryId,
soldToCountry: soldToCountry ?? this.soldToCountry,
soldToCountryCodeIsoAlpha2:
soldToCountryCodeIsoAlpha2 ?? this.soldToCountryCodeIsoAlpha2,
soldToCountryCodePhone:
soldToCountryCodePhone ?? this.soldToCountryCodePhone,
soldCurrencyId: soldCurrencyId ?? this.soldCurrencyId,
soldCurrency: soldCurrency ?? this.soldCurrency,
soldCurrencyCode: soldCurrencyCode ?? this.soldCurrencyCode,
soldCurrencySymbol: soldCurrencySymbol ?? this.soldCurrencySymbol,
inventoryTypeId: inventoryTypeId ?? this.inventoryTypeId,
replacementInventoryId:
replacementInventoryId ?? this.replacementInventoryId,
replacementItemId: replacementItemId ?? this.replacementItemId,
replacementItemICode: replacementItemICode ?? this.replacementItemICode,
replacementItemDescription:
replacementItemDescription ?? this.replacementItemDescription,
replacementItemBarCode:
replacementItemBarCode ?? this.replacementItemBarCode,
replacementItemSerialNumber:
replacementItemSerialNumber ?? this.replacementItemSerialNumber,
changeICode: changeICode ?? this.changeICode,
donatedOrderId: donatedOrderId ?? this.donatedOrderId,
donatedOrderNumber: donatedOrderNumber ?? this.donatedOrderNumber,
donatedDate: donatedDate ?? this.donatedDate,
donatedToName: donatedToName ?? this.donatedToName,
donatedToAddress1: donatedToAddress1 ?? this.donatedToAddress1,
donatedToAddress2: donatedToAddress2 ?? this.donatedToAddress2,
donatedToCity: donatedToCity ?? this.donatedToCity,
donatedToState: donatedToState ?? this.donatedToState,
donatedToZipCode: donatedToZipCode ?? this.donatedToZipCode,
donatedToPhone: donatedToPhone ?? this.donatedToPhone,
donatedToCountryId: donatedToCountryId ?? this.donatedToCountryId,
donatedToCountry: donatedToCountry ?? this.donatedToCountry,
donatedToCountryCodeIsoAlpha2:
donatedToCountryCodeIsoAlpha2 ?? this.donatedToCountryCodeIsoAlpha2,
donatedToCountryCodePhone:
donatedToCountryCodePhone ?? this.donatedToCountryCodePhone,
donatedCurrencyId: donatedCurrencyId ?? this.donatedCurrencyId,
donatedCurrency: donatedCurrency ?? this.donatedCurrency,
donatedCurrencyCode: donatedCurrencyCode ?? this.donatedCurrencyCode,
donatedCurrencySymbol:
donatedCurrencySymbol ?? this.donatedCurrencySymbol,
auditNote: auditNote ?? this.auditNote,
recordTitle: recordTitle ?? this.recordTitle,
fields: fields ?? this.fields,
custom: custom ?? this.custom,
defaultFieldAttributes:
defaultFieldAttributes ?? this.defaultFieldAttributes,
translation: translation ?? this.translation);
}