setValue

Sets the event value.

The event's value will be accurate 6 digits after the decimal. The number must fall in the range [-2^31, 2^31-1]. Any value outside that range will cause the event to be invalid.

Return

An AccountEventTemplate.

Parameters

value

The event's value as a double. Must be a number.

Throws

if the value is infinity or not a number.


Sets the event value.

The event's value will be accurate 6 digits after the decimal. The number must fall in the range [-2^31, 2^31-1]. Any value outside that range will cause the event to be invalid.

Return

An AccountEventTemplate.

Parameters

value

The event's value as a string. Must contain valid string representation of a big decimal.

Throws

if the event value does not contain a valid string representation of a big decimal.


Sets the event value.

The event's value will be accurate 6 digits after the decimal. The number must fall in the range [-2^31, 2^31-1]. Any value outside that range will cause the event to be invalid.

Return

An AccountEventTemplate.

Parameters

value

The event's value as an int.


Sets the event value.

The event's value will be accurate 6 digits after the decimal. The number must fall in the range [-2^31, 2^31-1]. Any value outside that range will cause the event to be invalid.

Return

An AccountEventTemplate.

Parameters

value

The event's value as a BigDecimal.