The MonetaryValue method

Version:

To define the monetary value property for the Outcome event, use the MonetaryValue() method.

Property

Details

UT SDK method

MonetaryValue(decimal)

Required/optional

Optional

Multiple invocations

Multiple invocations are forbidden and cause an InvalidOperationException exception

Value validation

Only decimal numbers allowed

For example:

var outcome = UTRequestBuilder.OutcomeWithDefinitionId("01f8ffbf-d662-4a87-beee-413307055c48")
                              .CurrencyCode("usd")
                              .MonetaryValue(42)
If you have suggestions for improving this article, let us know!