Class Bond


  • public class Bond
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Bond()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean isRedeemBondScreenOpen()  
      static boolean openRedeemBondScreen()
      Opens the bond interface either with a bond in your inventory or through the Account tab
      static boolean redeem​(int bonds)
      Redeems the given number of bonds for membership
      static boolean redeemForPasscode()
      Redeems a single bond for a passcode sent to your inbox
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Bond

        public Bond()
    • Method Detail

      • redeem

        public static boolean redeem​(int bonds)
        Redeems the given number of bonds for membership
        Parameters:
        bonds - 1, 2, 3, or 20
        Returns:
        true if successfully redeemed, false otherwise
      • redeemForPasscode

        public static boolean redeemForPasscode()
        Redeems a single bond for a passcode sent to your inbox
        Returns:
        true if successfully redeemed, false otherwise
      • openRedeemBondScreen

        public static boolean openRedeemBondScreen()
        Opens the bond interface either with a bond in your inventory or through the Account tab
        Returns:
        true if it's opened, false otherwise
      • isRedeemBondScreenOpen

        public static boolean isRedeemBondScreenOpen()