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