---
title: "Value"
slug: "api/basket/types/value"
sidebar:
  order: 252
---

<a id="ref-8e37953d23da"></a>
<a id="ref-5c4ecf43f158"></a>
<a id="ref-099dd043fa33"></a>

## Synopsis

```text
struct Value {
    decimal* value;
}
```

Value is an abstract type used as base for Money (§[Money](/pCon/configuratorOnline/specs/api/basket/types/money#ref-5ccc2e8715d7)), Percentage (§[Percentage](/pCon/configuratorOnline/specs/api/basket/types/percentage#ref-379db318f5b4)) and  Quantity (§[Quantity](/pCon/configuratorOnline/specs/api/basket/types/quantity#ref-822bab8d41bc)). The value represented by these complex types is either valid or invalid. An invalid value is indicated by a missing `value` attribute. Unless explicitly specified otherwise, the web service does not return elements of above types which represent invalid values. Instead, the element is omitted.
