Interface PriceOrBuilder

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

@Generated public interface PriceOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasBasePrice

      boolean hasBasePrice()
       Base price.
       
      .google.type.Money base_price = 1;
      Returns:
      Whether the basePrice field is set.
    • getBasePrice

      Money getBasePrice()
       Base price.
       
      .google.type.Money base_price = 1;
      Returns:
      The basePrice.
    • getBasePriceOrBuilder

      MoneyOrBuilder getBasePriceOrBuilder()
       Base price.
       
      .google.type.Money base_price = 1;
    • getDiscount

      double getDiscount()
       Discount percentage, represented as decimal.
       For example, a 20% discount will be represent as 0.2.
       
      double discount = 2;
      Returns:
      The discount.
    • hasEffectivePrice

      boolean hasEffectivePrice()
       Effective Price after applying the discounts.
       
      .google.type.Money effective_price = 3;
      Returns:
      Whether the effectivePrice field is set.
    • getEffectivePrice

      Money getEffectivePrice()
       Effective Price after applying the discounts.
       
      .google.type.Money effective_price = 3;
      Returns:
      The effectivePrice.
    • getEffectivePriceOrBuilder

      MoneyOrBuilder getEffectivePriceOrBuilder()
       Effective Price after applying the discounts.
       
      .google.type.Money effective_price = 3;
    • hasPricePeriod

      boolean hasPricePeriod()
       The time period with respect to which base and effective prices are
       defined.
       Example: 1 month, 6 months, 1 year, etc.
       
      .google.cloud.channel.v1.Period price_period = 6;
      Returns:
      Whether the pricePeriod field is set.
    • getPricePeriod

      Period getPricePeriod()
       The time period with respect to which base and effective prices are
       defined.
       Example: 1 month, 6 months, 1 year, etc.
       
      .google.cloud.channel.v1.Period price_period = 6;
      Returns:
      The pricePeriod.
    • getPricePeriodOrBuilder

      PeriodOrBuilder getPricePeriodOrBuilder()
       The time period with respect to which base and effective prices are
       defined.
       Example: 1 month, 6 months, 1 year, etc.
       
      .google.cloud.channel.v1.Period price_period = 6;
    • getExternalPriceUri

      String getExternalPriceUri()
       Link to external price list, such as link to Google Voice rate card.
       
      string external_price_uri = 4;
      Returns:
      The externalPriceUri.
    • getExternalPriceUriBytes

      com.google.protobuf.ByteString getExternalPriceUriBytes()
       Link to external price list, such as link to Google Voice rate card.
       
      string external_price_uri = 4;
      Returns:
      The bytes for externalPriceUri.
    • getDiscountComponentsList

      List<DiscountComponent> getDiscountComponentsList()
       Breakdown of the discount into its components.
       This will be empty if there is no discount present.
       
      repeated .google.cloud.channel.v1.DiscountComponent discount_components = 5;
    • getDiscountComponents

      DiscountComponent getDiscountComponents(int index)
       Breakdown of the discount into its components.
       This will be empty if there is no discount present.
       
      repeated .google.cloud.channel.v1.DiscountComponent discount_components = 5;
    • getDiscountComponentsCount

      int getDiscountComponentsCount()
       Breakdown of the discount into its components.
       This will be empty if there is no discount present.
       
      repeated .google.cloud.channel.v1.DiscountComponent discount_components = 5;
    • getDiscountComponentsOrBuilderList

      List<? extends DiscountComponentOrBuilder> getDiscountComponentsOrBuilderList()
       Breakdown of the discount into its components.
       This will be empty if there is no discount present.
       
      repeated .google.cloud.channel.v1.DiscountComponent discount_components = 5;
    • getDiscountComponentsOrBuilder

      DiscountComponentOrBuilder getDiscountComponentsOrBuilder(int index)
       Breakdown of the discount into its components.
       This will be empty if there is no discount present.
       
      repeated .google.cloud.channel.v1.DiscountComponent discount_components = 5;