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()Amount in micros.java.lang.StringgetCurrencyCode()Three-character ISO 4217 currency code.com.google.protobuf.ByteStringgetCurrencyCodeBytes()Three-character ISO 4217 currency code.booleanhasAmountMicros()Amount in micros.booleanhasCurrencyCode()Three-character ISO 4217 currency code.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasCurrencyCode
boolean hasCurrencyCode()
Three-character ISO 4217 currency code.
optional string currency_code = 3;- Returns:
- Whether the currencyCode field is set.
-
getCurrencyCode
java.lang.String getCurrencyCode()
Three-character ISO 4217 currency code.
optional string currency_code = 3;- Returns:
- The currencyCode.
-
getCurrencyCodeBytes
com.google.protobuf.ByteString getCurrencyCodeBytes()
Three-character ISO 4217 currency code.
optional string currency_code = 3;- Returns:
- The bytes for currencyCode.
-
hasAmountMicros
boolean hasAmountMicros()
Amount in micros. One million is equivalent to one unit.
optional int64 amount_micros = 4;- Returns:
- Whether the amountMicros field is set.
-
getAmountMicros
long getAmountMicros()
Amount in micros. One million is equivalent to one unit.
optional int64 amount_micros = 4;- Returns:
- The amountMicros.
-
-