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
Modifier and TypeMethodDescriptionlongAmount in micros.Three-character ISO 4217 currency code.com.google.protobuf.ByteStringThree-character ISO 4217 currency code.booleanAmount in micros.booleanThree-character ISO 4217 currency code.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasCurrencyCode
boolean hasCurrencyCode()Three-character ISO 4217 currency code.
optional string currency_code = 3;- Returns:
- Whether the currencyCode field is set.
-
getCurrencyCode
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.
-