Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
Documentation
data ExpenseCurrency Source #
Returns the kind of currency detected.
See: newExpenseCurrency
smart constructor.
Instances
newExpenseCurrency :: ExpenseCurrency Source #
Create a value of ExpenseCurrency
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:code:ExpenseCurrency'
, expenseCurrency_code
- Currency code for detected currency. the current supported codes are:
- USD
- EUR
- GBP
- CAD
- INR
- JPY
- CHF
- AUD
- CNY
- BZR
- SEK
- HKD
$sel:confidence:ExpenseCurrency'
, expenseCurrency_confidence
- Percentage confideence in the detected currency.
expenseCurrency_code :: Lens' ExpenseCurrency (Maybe Text) Source #
Currency code for detected currency. the current supported codes are:
- USD
- EUR
- GBP
- CAD
- INR
- JPY
- CHF
- AUD
- CNY
- BZR
- SEK
- HKD
expenseCurrency_confidence :: Lens' ExpenseCurrency (Maybe Double) Source #
Percentage confideence in the detected currency.