The MonetaryValue method
Version: 10.4
To define the monetary value property for the Outcome event, use the MonetaryValue() method.
|
Property |
Details |
|---|---|
|
UT SDK method |
|
|
Required/optional |
Optional |
|
Multiple invocations |
Multiple invocations are forbidden and cause an InvalidOperationException exception |
|
Value validation |
Only decimal numbers allowed |
For example:
RequestResponse
var outcome = UTRequestBuilder.OutcomeWithDefinitionId("01f8ffbf-d662-4a87-beee-413307055c48")
.CurrencyCode("usd")
.MonetaryValue(42)