copyWith method
WebApiModulesInventoryInventoryReceiptInventoryReceiptItem
copyWith({
- String? inventoryReceiptItemId,
- String? inventoryReceiptId,
- String? inventoryId,
- String? iCode,
- String? description,
- int? quantity,
- double? cost,
- String? trackedBy,
- double? discountPercent,
- double? discountAmount,
- bool? taxable,
- double? taxRate,
- bool? assigned,
- int? orderBy,
- String? dateStamp,
- String? auditNote,
- String? recordTitle,
- List<
FwStandardBusinessLogicFwBusinessLogicFieldDefinition> ? fields, - List<
FwStandardDataFwCustomValue> ? custom, - List<
FwStandardDataFwDefaultAttribute> ? defaultFieldAttributes, - List<
FwStandardDataFwTranslatedValue> ? translation,
Implementation
WebApiModulesInventoryInventoryReceiptInventoryReceiptItem copyWith(
{String? inventoryReceiptItemId,
String? inventoryReceiptId,
String? inventoryId,
String? iCode,
String? description,
int? quantity,
double? cost,
String? trackedBy,
double? discountPercent,
double? discountAmount,
bool? taxable,
double? taxRate,
bool? assigned,
int? orderBy,
String? dateStamp,
String? auditNote,
String? recordTitle,
List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
List<FwStandardDataFwCustomValue>? custom,
List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
List<FwStandardDataFwTranslatedValue>? translation}) {
return WebApiModulesInventoryInventoryReceiptInventoryReceiptItem(
inventoryReceiptItemId:
inventoryReceiptItemId ?? this.inventoryReceiptItemId,
inventoryReceiptId: inventoryReceiptId ?? this.inventoryReceiptId,
inventoryId: inventoryId ?? this.inventoryId,
iCode: iCode ?? this.iCode,
description: description ?? this.description,
quantity: quantity ?? this.quantity,
cost: cost ?? this.cost,
trackedBy: trackedBy ?? this.trackedBy,
discountPercent: discountPercent ?? this.discountPercent,
discountAmount: discountAmount ?? this.discountAmount,
taxable: taxable ?? this.taxable,
taxRate: taxRate ?? this.taxRate,
assigned: assigned ?? this.assigned,
orderBy: orderBy ?? this.orderBy,
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);
}