Package ru.tinkoff.piapi.contract.v1
Interface MoneyValueOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
MoneyValue,MoneyValue.Builder
public interface MoneyValueOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
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
-
getCurrency
String getCurrency()строковый ISO-код валюты
string currency = 1;- Returns:
- The currency.
-
getCurrencyBytes
com.google.protobuf.ByteString getCurrencyBytes()строковый ISO-код валюты
string currency = 1;- Returns:
- The bytes for currency.
-
getUnits
long getUnits()целая часть суммы, может быть отрицательным числом
int64 units = 2;- Returns:
- The units.
-
getNano
int getNano()дробная часть суммы, может быть отрицательным числом
int32 nano = 3;- Returns:
- The nano.
-