copyWithWrapped method

WebApiModulesInventoryInventoryReceiptInventoryReceipt copyWithWrapped({
  1. Wrapped<String?>? inventoryReceiptId,
  2. Wrapped<String?>? receiptNumber,
  3. Wrapped<String?>? receiptDate,
  4. Wrapped<String?>? receiptType,
  5. Wrapped<String?>? warehouseId,
  6. Wrapped<String?>? warehouse,
  7. Wrapped<String?>? originalShow,
  8. Wrapped<String?>? originalShowId,
  9. Wrapped<String?>? buyerId,
  10. Wrapped<String?>? buyer,
  11. Wrapped<String?>? vendorId,
  12. Wrapped<String?>? vendor,
  13. Wrapped<String?>? taxId,
  14. Wrapped<String?>? taxOption,
  15. Wrapped<double?>? taxOptionPercent,
  16. Wrapped<double?>? shippingCost,
  17. Wrapped<double?>? miscCost,
  18. Wrapped<double?>? discountPercent,
  19. Wrapped<double?>? discountAmount,
  20. Wrapped<double?>? taxRate,
  21. Wrapped<double?>? taxAmount,
  22. Wrapped<String?>? status,
  23. Wrapped<String?>? note,
  24. Wrapped<String?>? dateStamp,
  25. Wrapped<String?>? auditNote,
  26. Wrapped<String?>? recordTitle,
  27. Wrapped? urlIdentifier,
  28. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  29. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  30. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  31. Wrapped<FwStandardBusinessLogicFwBusinessLogic?>? original,
  32. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
  33. Wrapped<bool?>? hasImport,
  34. Wrapped<bool?>? hasDocuments,
  35. Wrapped<String?>? createdByUserId,
  36. Wrapped<String?>? createdByUserName,
  37. Wrapped<String?>? createdDateTime,
  38. Wrapped<String?>? modifiedByUserId,
  39. Wrapped<String?>? modifiedByUserName,
  40. Wrapped<String?>? modifiedDateTime,
})

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<dynamic>? urlIdentifier,
  Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>?
  fields,
  Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  Wrapped<FwStandardBusinessLogicFwBusinessLogic?>? original,
  Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
  Wrapped<bool?>? hasImport,
  Wrapped<bool?>? hasDocuments,
  Wrapped<String?>? createdByUserId,
  Wrapped<String?>? createdByUserName,
  Wrapped<String?>? createdDateTime,
  Wrapped<String?>? modifiedByUserId,
  Wrapped<String?>? modifiedByUserName,
  Wrapped<String?>? modifiedDateTime,
}) {
  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),
    urlIdentifier: (urlIdentifier != null
        ? urlIdentifier.value
        : this.urlIdentifier),
    fields: (fields != null ? fields.value : this.fields),
    custom: (custom != null ? custom.value : this.custom),
    defaultFieldAttributes: (defaultFieldAttributes != null
        ? defaultFieldAttributes.value
        : this.defaultFieldAttributes),
    original: (original != null ? original.value : this.original),
    translation: (translation != null ? translation.value : this.translation),
    hasImport: (hasImport != null ? hasImport.value : this.hasImport),
    hasDocuments: (hasDocuments != null
        ? hasDocuments.value
        : this.hasDocuments),
    createdByUserId: (createdByUserId != null
        ? createdByUserId.value
        : this.createdByUserId),
    createdByUserName: (createdByUserName != null
        ? createdByUserName.value
        : this.createdByUserName),
    createdDateTime: (createdDateTime != null
        ? createdDateTime.value
        : this.createdDateTime),
    modifiedByUserId: (modifiedByUserId != null
        ? modifiedByUserId.value
        : this.modifiedByUserId),
    modifiedByUserName: (modifiedByUserName != null
        ? modifiedByUserName.value
        : this.modifiedByUserName),
    modifiedDateTime: (modifiedDateTime != null
        ? modifiedDateTime.value
        : this.modifiedDateTime),
  );
}