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

    Modifier and Type
    Method
    Description
    строковый ISO-код валюты
    com.google.protobuf.ByteString
    строковый ISO-код валюты
    int
    дробная часть суммы, может быть отрицательным числом
    long
    целая часть суммы, может быть отрицательным числом

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods 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.