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

    Modifier and Type
    Method
    Description
    long
    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).
    The currency of the price using three-letter acronyms according to [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217).
    com.google.protobuf.ByteString
    The currency of the price using three-letter acronyms according to [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217).
    boolean
    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
    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 Details

    • 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

      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.