Class AllocationToken

    • Constructor Detail

      • AllocationToken

        public AllocationToken()
    • Method Detail

      • maybeGetStaticTokenInstance

        public static java.util.Optional<AllocationToken> maybeGetStaticTokenInstance​(java.lang.String name)
      • getToken

        public java.lang.String getToken()
      • getRedemptionHistoryEntry

        public java.util.Optional<VKey<? extends HistoryEntry>> getRedemptionHistoryEntry()
      • isRedeemed

        public boolean isRedeemed()
      • getDomainName

        public java.util.Optional<java.lang.String> getDomainName()
      • getCreationTime

        public java.util.Optional<org.joda.time.DateTime> getCreationTime()
      • getAllowedRegistrarIds

        public com.google.common.collect.ImmutableSet<java.lang.String> getAllowedRegistrarIds()
      • getAllowedTlds

        public com.google.common.collect.ImmutableSet<java.lang.String> getAllowedTlds()
      • getDiscountFraction

        public double getDiscountFraction()
      • shouldDiscountPremiums

        public boolean shouldDiscountPremiums()
      • getDiscountYears

        public int getDiscountYears()