copyWithWrapped method

WebApiModulesInventoryInventoryReceiptCredits copyWithWrapped({
  1. Wrapped<int?>? inventoryReceiptCreditId,
  2. Wrapped<String?>? inventoryReceiptId,
  3. Wrapped<String?>? inventoryId,
  4. Wrapped<String?>? iCode,
  5. Wrapped<String?>? description,
  6. Wrapped<int?>? quantity,
  7. Wrapped<double?>? rate,
  8. Wrapped<String?>? unit,
  9. Wrapped<double?>? extended,
  10. Wrapped<String?>? dateStamp,
  11. Wrapped<String?>? auditNote,
  12. Wrapped<String?>? recordTitle,
  13. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  14. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  15. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  16. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
})

Implementation

WebApiModulesInventoryInventoryReceiptCredits copyWithWrapped(
    {Wrapped<int?>? inventoryReceiptCreditId,
    Wrapped<String?>? inventoryReceiptId,
    Wrapped<String?>? inventoryId,
    Wrapped<String?>? iCode,
    Wrapped<String?>? description,
    Wrapped<int?>? quantity,
    Wrapped<double?>? rate,
    Wrapped<String?>? unit,
    Wrapped<double?>? extended,
    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 WebApiModulesInventoryInventoryReceiptCredits(
      inventoryReceiptCreditId: (inventoryReceiptCreditId != null
          ? inventoryReceiptCreditId.value
          : this.inventoryReceiptCreditId),
      inventoryReceiptId: (inventoryReceiptId != null
          ? inventoryReceiptId.value
          : this.inventoryReceiptId),
      inventoryId:
          (inventoryId != null ? inventoryId.value : this.inventoryId),
      iCode: (iCode != null ? iCode.value : this.iCode),
      description:
          (description != null ? description.value : this.description),
      quantity: (quantity != null ? quantity.value : this.quantity),
      rate: (rate != null ? rate.value : this.rate),
      unit: (unit != null ? unit.value : this.unit),
      extended: (extended != null ? extended.value : this.extended),
      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));
}