code: public void redeemRewards(@NonNull final String bucket,
                                final int count, BranchReferralStateChangedListener callback) {
          ServerRequestRedeemRewards req = new ServerRequestRedeemRewards(context_, bucket, count, callback);
          if (!req.constructError_ && !req.handleErrors(context_)) {
              handleNewRequest(req);
          }
      }
docs: <p>Redeems the specified number of credits from the named bucket, if there are sufficient
  credits within it. If the number to redeem exceeds the number available in the bucket, all of
  the available credits will be redeemed instead.</p>
  
  @param bucket   A {@link String} value containing the name of the referral bucket to attempt
  to redeem credits from.
  @param count    A {@link Integer} specifying the number of credits to attempt to redeem from
  the specified bucket.
  @param callback A {@link BranchReferralStateChangedListener} callback instance that will
  trigger actions defined therein upon a executing redeem rewards.