Interface GrantedCryptoAllowanceOrBuilder

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

@Generated public interface GrantedCryptoAllowanceOrBuilder 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

    • hasSpender

      boolean hasSpender()
       *
       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 = 1;
      Returns:
      Whether the spender field is set.
    • getSpender

      AccountID getSpender()
       *
       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 = 1;
      Returns:
      The spender.
    • 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.