copyWith method
WebApiModulesInventoryInventoryReceiptInventoryReceipt
copyWith({
- String? inventoryReceiptId,
- String? receiptNumber,
- String? receiptDate,
- String? receiptType,
- String? warehouseId,
- String? warehouse,
- String? originalShow,
- String? originalShowId,
- String? buyerId,
- String? buyer,
- String? vendorId,
- String? vendor,
- String? taxId,
- String? taxOption,
- double? taxOptionPercent,
- double? shippingCost,
- double? miscCost,
- double? discountPercent,
- double? discountAmount,
- double? taxRate,
- double? taxAmount,
- String? status,
- String? note,
- String? dateStamp,
- String? auditNote,
- String? recordTitle,
- List<
FwStandardBusinessLogicFwBusinessLogicFieldDefinition> ? fields, - List<
FwStandardDataFwCustomValue> ? custom, - List<
FwStandardDataFwDefaultAttribute> ? defaultFieldAttributes, - List<
FwStandardDataFwTranslatedValue> ? translation,
Implementation
WebApiModulesInventoryInventoryReceiptInventoryReceipt copyWith(
{String? inventoryReceiptId,
String? receiptNumber,
String? receiptDate,
String? receiptType,
String? warehouseId,
String? warehouse,
String? originalShow,
String? originalShowId,
String? buyerId,
String? buyer,
String? vendorId,
String? vendor,
String? taxId,
String? taxOption,
double? taxOptionPercent,
double? shippingCost,
double? miscCost,
double? discountPercent,
double? discountAmount,
double? taxRate,
double? taxAmount,
String? status,
String? note,
String? dateStamp,
String? auditNote,
String? recordTitle,
List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
List<FwStandardDataFwCustomValue>? custom,
List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
List<FwStandardDataFwTranslatedValue>? translation}) {
return WebApiModulesInventoryInventoryReceiptInventoryReceipt(
inventoryReceiptId: inventoryReceiptId ?? this.inventoryReceiptId,
receiptNumber: receiptNumber ?? this.receiptNumber,
receiptDate: receiptDate ?? this.receiptDate,
receiptType: receiptType ?? this.receiptType,
warehouseId: warehouseId ?? this.warehouseId,
warehouse: warehouse ?? this.warehouse,
originalShow: originalShow ?? this.originalShow,
originalShowId: originalShowId ?? this.originalShowId,
buyerId: buyerId ?? this.buyerId,
buyer: buyer ?? this.buyer,
vendorId: vendorId ?? this.vendorId,
vendor: vendor ?? this.vendor,
taxId: taxId ?? this.taxId,
taxOption: taxOption ?? this.taxOption,
taxOptionPercent: taxOptionPercent ?? this.taxOptionPercent,
shippingCost: shippingCost ?? this.shippingCost,
miscCost: miscCost ?? this.miscCost,
discountPercent: discountPercent ?? this.discountPercent,
discountAmount: discountAmount ?? this.discountAmount,
taxRate: taxRate ?? this.taxRate,
taxAmount: taxAmount ?? this.taxAmount,
status: status ?? this.status,
note: note ?? this.note,
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);
}