Interface PriceOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Price, Price.Builder

    public interface PriceOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      long getAmountMicros()
      The price represented as a number in micros (1 million micros is an equivalent to one's currency standard unit, for example, 1 USD = 1000000 micros).
      java.lang.String getCurrencyCode()
      The currency of the price using three-letter acronyms according to [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217).
      com.google.protobuf.ByteString getCurrencyCodeBytes()
      The currency of the price using three-letter acronyms according to [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217).
      boolean hasAmountMicros()
      The price represented as a number in micros (1 million micros is an equivalent to one's currency standard unit, for example, 1 USD = 1000000 micros).
      boolean hasCurrencyCode()
      The currency of the price using three-letter acronyms according to [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217).
      • 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 Detail

      • hasAmountMicros

        boolean hasAmountMicros()
         The price represented as a number in micros (1 million micros is an
         equivalent to one's currency standard unit, for example, 1 USD = 1000000
         micros).
         
        optional int64 amount_micros = 1;
        Returns:
        Whether the amountMicros field is set.
      • getAmountMicros

        long getAmountMicros()
         The price represented as a number in micros (1 million micros is an
         equivalent to one's currency standard unit, for example, 1 USD = 1000000
         micros).
         
        optional int64 amount_micros = 1;
        Returns:
        The amountMicros.
      • hasCurrencyCode

        boolean hasCurrencyCode()
         The currency of the price using three-letter acronyms according to [ISO
         4217](http://en.wikipedia.org/wiki/ISO_4217).
         
        optional string currency_code = 2;
        Returns:
        Whether the currencyCode field is set.
      • getCurrencyCode

        java.lang.String getCurrencyCode()
         The currency of the price using three-letter acronyms according to [ISO
         4217](http://en.wikipedia.org/wiki/ISO_4217).
         
        optional string currency_code = 2;
        Returns:
        The currencyCode.
      • getCurrencyCodeBytes

        com.google.protobuf.ByteString getCurrencyCodeBytes()
         The currency of the price using three-letter acronyms according to [ISO
         4217](http://en.wikipedia.org/wiki/ISO_4217).
         
        optional string currency_code = 2;
        Returns:
        The bytes for currencyCode.