copyWith method
WebApiModulesInventoryInventoryReceiptCredits
copyWith({
- int? inventoryReceiptCreditId,
- String? inventoryReceiptId,
- String? inventoryId,
- String? iCode,
- String? description,
- int? quantity,
- double? rate,
- String? unit,
- double? extended,
- String? dateStamp,
- String? auditNote,
- String? recordTitle,
- List<
FwStandardBusinessLogicFwBusinessLogicFieldDefinition> ? fields, - List<
FwStandardDataFwCustomValue> ? custom, - List<
FwStandardDataFwDefaultAttribute> ? defaultFieldAttributes, - List<
FwStandardDataFwTranslatedValue> ? translation,
Implementation
WebApiModulesInventoryInventoryReceiptCredits copyWith(
{int? inventoryReceiptCreditId,
String? inventoryReceiptId,
String? inventoryId,
String? iCode,
String? description,
int? quantity,
double? rate,
String? unit,
double? extended,
String? dateStamp,
String? auditNote,
String? recordTitle,
List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
List<FwStandardDataFwCustomValue>? custom,
List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
List<FwStandardDataFwTranslatedValue>? translation}) {
return WebApiModulesInventoryInventoryReceiptCredits(
inventoryReceiptCreditId:
inventoryReceiptCreditId ?? this.inventoryReceiptCreditId,
inventoryReceiptId: inventoryReceiptId ?? this.inventoryReceiptId,
inventoryId: inventoryId ?? this.inventoryId,
iCode: iCode ?? this.iCode,
description: description ?? this.description,
quantity: quantity ?? this.quantity,
rate: rate ?? this.rate,
unit: unit ?? this.unit,
extended: extended ?? this.extended,
dateStamp: dateStamp ?? this.dateStamp,
auditNote: auditNote ?? this.auditNote,
recordTitle: recordTitle ?? this.recordTitle,
fields: fields ?? this.fields,
custom: custom ?? this.custom,
defaultFieldAttributes:
defaultFieldAttributes ?? this.defaultFieldAttributes,
translation: translation ?? this.translation);
}