Interface AccountCryptoAllowanceOrBuilder

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

@Generated public interface AccountCryptoAllowanceOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    The maximum amount that the spender account may transfer within the scope of this allowance.
    * The identifier for the spending account associated with this allowance.
    boolean
    * The identifier for the spending account associated with this allowance.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • hasSpenderId

      boolean hasSpenderId()
       *
       The identifier for the spending account associated with this allowance.
       <p>
       This account SHALL be permitted to sign transactions to spend HBAR from
       the funding/allowing account.<br/>
       This permission SHALL be limited to no more than the specified `amount`.
       
      .proto.AccountID spender_id = 1;
      Returns:
      Whether the spenderId field is set.
    • getSpenderId

      AccountID getSpenderId()
       *
       The identifier for the spending account associated with this allowance.
       <p>
       This account SHALL be permitted to sign transactions to spend HBAR from
       the funding/allowing account.<br/>
       This permission SHALL be limited to no more than the specified `amount`.
       
      .proto.AccountID spender_id = 1;
      Returns:
      The spenderId.
    • getAmount

      long getAmount()
      
       The maximum amount that the spender account may transfer within the
       scope of this allowance.
       <p>
       This allowance SHALL be consumed if any combination of transfers
       authorized via this allowance meet this value in total.<br/>
       This value MUST be specified in tinybar (i.e. 10<sup>-8</sup> HBAR).
       
      int64 amount = 2;
      Returns:
      The amount.