Interface AccountFungibleTokenAllowanceOrBuilder

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

@Generated public interface AccountFungibleTokenAllowanceOrBuilder 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.
    * The identifier for the token associated with this allowance.
    boolean
    * The identifier for the spending account associated with this allowance.
    boolean
    * The identifier for the token associated with this allowance.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • hasTokenId

      boolean hasTokenId()
       *
       The identifier for the token associated with this allowance.
       <p>
       This token MUST be a fungible/common token.
       
      .proto.TokenID token_id = 1;
      Returns:
      Whether the tokenId field is set.
    • getTokenId

      TokenID getTokenId()
       *
       The identifier for the token associated with this allowance.
       <p>
       This token MUST be a fungible/common token.
       
      .proto.TokenID token_id = 1;
      Returns:
      The tokenId.
    • hasSpenderId

      boolean hasSpenderId()
       *
       The identifier for the spending account associated with this allowance.
       <p>
       This account SHALL be permitted to sign transactions to spend tokens of
       the associated token type from the funding/allowing account.<br/>
       This permission SHALL be limited to no more than the specified `amount`.
       
      .proto.AccountID spender_id = 2;
      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 tokens of
       the associated token type from the funding/allowing account.<br/>
       This permission SHALL be limited to no more than the specified `amount`.
       
      .proto.AccountID spender_id = 2;
      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 the smallest units of the relevant token
       (i.e. 10<sup>-decimals</sup> whole tokens).
       
      int64 amount = 3;
      Returns:
      The amount.