Interface Incentive.Requirement.SpendOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Incentive.Requirement.Spend, Incentive.Requirement.Spend.Builder
Enclosing class:
Incentive.Requirement

public static interface Incentive.Requirement.SpendOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.type.Money
    Required.
    com.google.type.MoneyOrBuilder
    Required.
    com.google.type.Money
    Required.
    com.google.type.MoneyOrBuilder
    Required.
    boolean
    Required.
    boolean
    Required.

    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

    • hasAwardAmount

      boolean hasAwardAmount()
       Required. Amount in free spend that user will be granted after spending
       target amount. Denominated in the currency of the country passed in the
       get request.
       
      optional .google.type.Money award_amount = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the awardAmount field is set.
    • getAwardAmount

      com.google.type.Money getAwardAmount()
       Required. Amount in free spend that user will be granted after spending
       target amount. Denominated in the currency of the country passed in the
       get request.
       
      optional .google.type.Money award_amount = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The awardAmount.
    • getAwardAmountOrBuilder

      com.google.type.MoneyOrBuilder getAwardAmountOrBuilder()
       Required. Amount in free spend that user will be granted after spending
       target amount. Denominated in the currency of the country passed in the
       get request.
       
      optional .google.type.Money award_amount = 1 [(.google.api.field_behavior) = REQUIRED];
    • hasRequiredAmount

      boolean hasRequiredAmount()
       Required. Amount that user must spend to receive the award amount.
       Denominated in the currency of the country passed in the get request.
       
      optional .google.type.Money required_amount = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the requiredAmount field is set.
    • getRequiredAmount

      com.google.type.Money getRequiredAmount()
       Required. Amount that user must spend to receive the award amount.
       Denominated in the currency of the country passed in the get request.
       
      optional .google.type.Money required_amount = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The requiredAmount.
    • getRequiredAmountOrBuilder

      com.google.type.MoneyOrBuilder getRequiredAmountOrBuilder()
       Required. Amount that user must spend to receive the award amount.
       Denominated in the currency of the country passed in the get request.
       
      optional .google.type.Money required_amount = 2 [(.google.api.field_behavior) = REQUIRED];