Interface ConversionEvent.DefaultConversionValueOrBuilder (0.56.0)

public static interface ConversionEvent.DefaultConversionValueOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCurrencyCode()

public abstract String getCurrencyCode()

When a conversion event for this event_name has no set currency, this currency will be applied as the default. Must be in ISO 4217 currency code format. See https://en.wikipedia.org/wiki/ISO_4217 for more information.

optional string currency_code = 2;

Returns
Type Description
String

The currencyCode.

getCurrencyCodeBytes()

public abstract ByteString getCurrencyCodeBytes()

When a conversion event for this event_name has no set currency, this currency will be applied as the default. Must be in ISO 4217 currency code format. See https://en.wikipedia.org/wiki/ISO_4217 for more information.

optional string currency_code = 2;

Returns
Type Description
ByteString

The bytes for currencyCode.

getValue()

public abstract double getValue()

This value will be used to populate the value for all conversions of the specified event_name where the event "value" parameter is unset.

optional double value = 1;

Returns
Type Description
double

The value.

hasCurrencyCode()

public abstract boolean hasCurrencyCode()

When a conversion event for this event_name has no set currency, this currency will be applied as the default. Must be in ISO 4217 currency code format. See https://en.wikipedia.org/wiki/ISO_4217 for more information.

optional string currency_code = 2;

Returns
Type Description
boolean

Whether the currencyCode field is set.

hasValue()

public abstract boolean hasValue()

This value will be used to populate the value for all conversions of the specified event_name where the event "value" parameter is unset.

optional double value = 1;

Returns
Type Description
boolean

Whether the value field is set.