Package ai.promoted.proto.common
Interface MoneyOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Money,Money.Builder
public interface MoneyOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetAmountMicros()int64 amount_micros = 2 [json_name = "amountMicros"];CurrencyCodegetCurrencyCode().common.CurrencyCode currency_code = 1 [json_name = "currencyCode"];intgetCurrencyCodeValue().common.CurrencyCode currency_code = 1 [json_name = "currencyCode"];-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getCurrencyCodeValue
int getCurrencyCodeValue()
.common.CurrencyCode currency_code = 1 [json_name = "currencyCode"];- Returns:
- The enum numeric value on the wire for currencyCode.
-
getCurrencyCode
CurrencyCode getCurrencyCode()
.common.CurrencyCode currency_code = 1 [json_name = "currencyCode"];- Returns:
- The currencyCode.
-
getAmountMicros
long getAmountMicros()
int64 amount_micros = 2 [json_name = "amountMicros"];- Returns:
- The amountMicros.
-
-