Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Interface TokenRejectTransactionBodyOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
TokenRejectTransactionBody,TokenRejectTransactionBody.Builder
@Generated
public interface TokenRejectTransactionBodyOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetOwner()* An account identifier.<br/> This OPTIONAL field identifies the account holding the tokens to be rejected.getRejections(int index) * A list of one or more token rejections.int* A list of one or more token rejections.* A list of one or more token rejections.booleanhasOwner()* An account identifier.<br/> This OPTIONAL field identifies the account holding the tokens to be rejected.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
hasOwner
boolean hasOwner()* An account identifier.<br/> This OPTIONAL field identifies the account holding the tokens to be rejected. <p> If set, this account MUST sign this transaction. If not set, the `payer` for this transaction SHALL be the effective `owner` for this transaction.
.proto.AccountID owner = 1;- Returns:
- Whether the owner field is set.
-
getOwner
AccountID getOwner()* An account identifier.<br/> This OPTIONAL field identifies the account holding the tokens to be rejected. <p> If set, this account MUST sign this transaction. If not set, the `payer` for this transaction SHALL be the effective `owner` for this transaction.
.proto.AccountID owner = 1;- Returns:
- The owner.
-
getRejectionsList
List<TokenReference> getRejectionsList()* A list of one or more token rejections. <p> On success each rejected token serial number or balance SHALL be transferred from the requesting account to the treasury account for that token type.<br/> After rejection the requesting account SHALL continue to be associated with the token.<br/> If dissociation is desired then a separate `TokenDissociate` transaction MUST be submitted to remove the association.<br/> This list MUST contain at least one (1) entry and MUST NOT contain more than ten (10) entries.
repeated .proto.TokenReference rejections = 2; -
getRejections
* A list of one or more token rejections. <p> On success each rejected token serial number or balance SHALL be transferred from the requesting account to the treasury account for that token type.<br/> After rejection the requesting account SHALL continue to be associated with the token.<br/> If dissociation is desired then a separate `TokenDissociate` transaction MUST be submitted to remove the association.<br/> This list MUST contain at least one (1) entry and MUST NOT contain more than ten (10) entries.
repeated .proto.TokenReference rejections = 2; -
getRejectionsCount
int getRejectionsCount()* A list of one or more token rejections. <p> On success each rejected token serial number or balance SHALL be transferred from the requesting account to the treasury account for that token type.<br/> After rejection the requesting account SHALL continue to be associated with the token.<br/> If dissociation is desired then a separate `TokenDissociate` transaction MUST be submitted to remove the association.<br/> This list MUST contain at least one (1) entry and MUST NOT contain more than ten (10) entries.
repeated .proto.TokenReference rejections = 2;
-