com.hedera.hashgraph.sdk.proto.TokenRejectTransactionBodyOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sdk-full Show documentation
Show all versions of sdk-full Show documentation
Hedera™ Hashgraph SDK for Java
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: token_reject.proto
// Protobuf Java Version: 3.25.3
package com.hedera.hashgraph.sdk.proto;
public interface TokenRejectTransactionBodyOrBuilder extends
// @@protoc_insertion_point(interface_extends:proto.TokenRejectTransactionBody)
com.google.protobuf.MessageOrBuilder {
/**
*
**
* An account holding the tokens to be rejected.<br/>
* If set, this account MUST sign this transaction.
* If not set, the payer for this transaction SHALL be the account rejecting tokens.
*
*
* .proto.AccountID owner = 1;
* @return Whether the owner field is set.
*/
boolean hasOwner();
/**
*
**
* An account holding the tokens to be rejected.<br/>
* If set, this account MUST sign this transaction.
* If not set, the payer for this transaction SHALL be the account rejecting tokens.
*
*
* .proto.AccountID owner = 1;
* @return The owner.
*/
com.hedera.hashgraph.sdk.proto.AccountID getOwner();
/**
*
**
* An account holding the tokens to be rejected.<br/>
* If set, this account MUST sign this transaction.
* If not set, the payer for this transaction SHALL be the account rejecting tokens.
*
*
* .proto.AccountID owner = 1;
*/
com.hedera.hashgraph.sdk.proto.AccountIDOrBuilder getOwnerOrBuilder();
/**
*
**
* A list of one or more token rejections.<br/>
* 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.
*
*
* repeated .proto.TokenReference rejections = 2;
*/
java.util.List
getRejectionsList();
/**
*
**
* A list of one or more token rejections.<br/>
* 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.
*
*
* repeated .proto.TokenReference rejections = 2;
*/
com.hedera.hashgraph.sdk.proto.TokenReference getRejections(int index);
/**
*
**
* A list of one or more token rejections.<br/>
* 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.
*
*
* repeated .proto.TokenReference rejections = 2;
*/
int getRejectionsCount();
/**
*
**
* A list of one or more token rejections.<br/>
* 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.
*
*
* repeated .proto.TokenReference rejections = 2;
*/
java.util.List extends com.hedera.hashgraph.sdk.proto.TokenReferenceOrBuilder>
getRejectionsOrBuilderList();
/**
*
**
* A list of one or more token rejections.<br/>
* 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.
*
*
* repeated .proto.TokenReference rejections = 2;
*/
com.hedera.hashgraph.sdk.proto.TokenReferenceOrBuilder getRejectionsOrBuilder(
int index);
}