Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Interface PendingAirdropIdOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
PendingAirdropId,PendingAirdropId.Builder
@Generated
public interface PendingAirdropIdOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescription* A token identifier.<br/> This is the type of token for a fungible/common token airdrop.* The id of a single NFT<br/> This is the type of token for a non-fungible/unique token airdrop and consists of a Token ID and serial number.* A receiving account.* A sending account.boolean* A token identifier.<br/> This is the type of token for a fungible/common token airdrop.boolean* The id of a single NFT<br/> This is the type of token for a non-fungible/unique token airdrop and consists of a Token ID and serial number.boolean* A receiving account.boolean* A sending account.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
hasSenderId
boolean hasSenderId()* A sending account. <p> This is the account that initiated, and SHALL fund, this pending airdrop.<br/> This field is REQUIRED.
.proto.AccountID sender_id = 1;- Returns:
- Whether the senderId field is set.
-
getSenderId
AccountID getSenderId()* A sending account. <p> This is the account that initiated, and SHALL fund, this pending airdrop.<br/> This field is REQUIRED.
.proto.AccountID sender_id = 1;- Returns:
- The senderId.
-
hasReceiverId
boolean hasReceiverId()* A receiving account. <p> This is the ID of the account that SHALL receive the airdrop.<br/> This field is REQUIRED.
.proto.AccountID receiver_id = 2;- Returns:
- Whether the receiverId field is set.
-
getReceiverId
AccountID getReceiverId()* A receiving account. <p> This is the ID of the account that SHALL receive the airdrop.<br/> This field is REQUIRED.
.proto.AccountID receiver_id = 2;- Returns:
- The receiverId.
-
hasFungibleTokenType
boolean hasFungibleTokenType()* A token identifier.<br/> This is the type of token for a fungible/common token airdrop. <p> This field is REQUIRED for a fungible/common token and MUST NOT be used for a non-fungible/unique token.
.proto.TokenID fungible_token_type = 3;- Returns:
- Whether the fungibleTokenType field is set.
-
getFungibleTokenType
TokenID getFungibleTokenType()* A token identifier.<br/> This is the type of token for a fungible/common token airdrop. <p> This field is REQUIRED for a fungible/common token and MUST NOT be used for a non-fungible/unique token.
.proto.TokenID fungible_token_type = 3;- Returns:
- The fungibleTokenType.
-
hasNonFungibleToken
boolean hasNonFungibleToken()* The id of a single NFT<br/> This is the type of token for a non-fungible/unique token airdrop and consists of a Token ID and serial number. <p> This field is REQUIRED for a non-fungible/unique token and MUST NOT be used for a fungible/common token.
.proto.NftID non_fungible_token = 4;- Returns:
- Whether the nonFungibleToken field is set.
-
getNonFungibleToken
NftID getNonFungibleToken()* The id of a single NFT<br/> This is the type of token for a non-fungible/unique token airdrop and consists of a Token ID and serial number. <p> This field is REQUIRED for a non-fungible/unique token and MUST NOT be used for a fungible/common token.
.proto.NftID non_fungible_token = 4;- Returns:
- The nonFungibleToken.
-
getTokenReferenceCase
PendingAirdropId.TokenReferenceCase getTokenReferenceCase()
-