@empathyco/x-components
Version:
Empathy X Components
97 lines (43 loc) • 1.03 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-types](./x-types.md) > [ResultPrice](./x-types.resultprice.md)
## ResultPrice interface
The result price.
**Signature:**
```typescript
export interface ResultPrice
```
## Properties
<table><thead><tr><th>
Property
</th><th>
Modifiers
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
[hasDiscount](./x-types.resultprice.hasdiscount.md)
</td><td>
</td><td>
boolean
</td><td>
Whether this result has a discount.
</td></tr>
<tr><td>
[originalValue?](./x-types.resultprice.originalvalue.md)
</td><td>
</td><td>
number \| undefined
</td><td>
_(Optional)_ The old value.
</td></tr>
<tr><td>
[value?](./x-types.resultprice.value.md)
</td><td>
</td><td>
number \| undefined
</td><td>
_(Optional)_ The current value.
</td></tr>
</tbody></table>