Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Interface NftTransferOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
NftTransfer,NftTransfer.Builder
@Generated
public interface NftTransferOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionboolean* An approved allowance flag.<br/> If true then the transfer is expected to be an approved allowance.* Two calls, the first call before attempting the CryptoTransfer, to a method with logical signature allowPre(HookContext, ProposedTransfers); and the second call after attempting the CryptoTransfer, to a method with logical signature allowPost(HookContext, ProposedTransfers).* Two calls, the first call before attempting the CryptoTransfer, to a method with logical signature allowPre(HookContext, ProposedTransfers); and the second call after attempting the CryptoTransfer, to a method with logical signature allowPost(HookContext, ProposedTransfers).* A single call made before attempting the CryptoTransfer, to a method with logical signature allow(HookContext, ProposedTransfers)* A single call made before attempting the CryptoTransfer, to a method with logical signature allow(HookContext, ProposedTransfers)* An Account identifier for the receiver.* An Account identifier for the sender.long* A serial number for the NFT to transfer.boolean* Two calls, the first call before attempting the CryptoTransfer, to a method with logical signature allowPre(HookContext, ProposedTransfers); and the second call after attempting the CryptoTransfer, to a method with logical signature allowPost(HookContext, ProposedTransfers).boolean* Two calls, the first call before attempting the CryptoTransfer, to a method with logical signature allowPre(HookContext, ProposedTransfers); and the second call after attempting the CryptoTransfer, to a method with logical signature allowPost(HookContext, ProposedTransfers).boolean* A single call made before attempting the CryptoTransfer, to a method with logical signature allow(HookContext, ProposedTransfers)boolean* A single call made before attempting the CryptoTransfer, to a method with logical signature allow(HookContext, ProposedTransfers)boolean* An Account identifier for the receiver.boolean* An Account identifier for the sender.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
hasSenderAccountID
boolean hasSenderAccountID()* An Account identifier for the sender.
.proto.AccountID senderAccountID = 1;- Returns:
- Whether the senderAccountID field is set.
-
getSenderAccountID
AccountID getSenderAccountID()* An Account identifier for the sender.
.proto.AccountID senderAccountID = 1;- Returns:
- The senderAccountID.
-
hasReceiverAccountID
boolean hasReceiverAccountID()* An Account identifier for the receiver.
.proto.AccountID receiverAccountID = 2;- Returns:
- Whether the receiverAccountID field is set.
-
getReceiverAccountID
AccountID getReceiverAccountID()* An Account identifier for the receiver.
.proto.AccountID receiverAccountID = 2;- Returns:
- The receiverAccountID.
-
getSerialNumber
long getSerialNumber()* A serial number for the NFT to transfer.
int64 serialNumber = 3;- Returns:
- The serialNumber.
-
getIsApproval
boolean getIsApproval()* An approved allowance flag.<br/> If true then the transfer is expected to be an approved allowance. <p> If set, `senderAccountID` SHALL be the owner that previously approved the allowance.<br/> If set, the `senderAccountID` MUST be the "payer" account for the transaction <br/> The default value SHALL be false (unset).
bool is_approval = 4;- Returns:
- The isApproval.
-
hasPreTxSenderAllowanceHook
boolean hasPreTxSenderAllowanceHook()* A single call made before attempting the CryptoTransfer, to a method with logical signature allow(HookContext, ProposedTransfers)
.proto.HookCall pre_tx_sender_allowance_hook = 5;- Returns:
- Whether the preTxSenderAllowanceHook field is set.
-
getPreTxSenderAllowanceHook
HookCall getPreTxSenderAllowanceHook()* A single call made before attempting the CryptoTransfer, to a method with logical signature allow(HookContext, ProposedTransfers)
.proto.HookCall pre_tx_sender_allowance_hook = 5;- Returns:
- The preTxSenderAllowanceHook.
-
hasPrePostTxSenderAllowanceHook
boolean hasPrePostTxSenderAllowanceHook()* Two calls, the first call before attempting the CryptoTransfer, to a method with logical signature allowPre(HookContext, ProposedTransfers); and the second call after attempting the CryptoTransfer, to a method with logical signature allowPost(HookContext, ProposedTransfers).
.proto.HookCall pre_post_tx_sender_allowance_hook = 6;- Returns:
- Whether the prePostTxSenderAllowanceHook field is set.
-
getPrePostTxSenderAllowanceHook
HookCall getPrePostTxSenderAllowanceHook()* Two calls, the first call before attempting the CryptoTransfer, to a method with logical signature allowPre(HookContext, ProposedTransfers); and the second call after attempting the CryptoTransfer, to a method with logical signature allowPost(HookContext, ProposedTransfers).
.proto.HookCall pre_post_tx_sender_allowance_hook = 6;- Returns:
- The prePostTxSenderAllowanceHook.
-
hasPreTxReceiverAllowanceHook
boolean hasPreTxReceiverAllowanceHook()* A single call made before attempting the CryptoTransfer, to a method with logical signature allow(HookContext, ProposedTransfers)
.proto.HookCall pre_tx_receiver_allowance_hook = 7;- Returns:
- Whether the preTxReceiverAllowanceHook field is set.
-
getPreTxReceiverAllowanceHook
HookCall getPreTxReceiverAllowanceHook()* A single call made before attempting the CryptoTransfer, to a method with logical signature allow(HookContext, ProposedTransfers)
.proto.HookCall pre_tx_receiver_allowance_hook = 7;- Returns:
- The preTxReceiverAllowanceHook.
-
hasPrePostTxReceiverAllowanceHook
boolean hasPrePostTxReceiverAllowanceHook()* Two calls, the first call before attempting the CryptoTransfer, to a method with logical signature allowPre(HookContext, ProposedTransfers); and the second call after attempting the CryptoTransfer, to a method with logical signature allowPost(HookContext, ProposedTransfers).
.proto.HookCall pre_post_tx_receiver_allowance_hook = 8;- Returns:
- Whether the prePostTxReceiverAllowanceHook field is set.
-
getPrePostTxReceiverAllowanceHook
HookCall getPrePostTxReceiverAllowanceHook()* Two calls, the first call before attempting the CryptoTransfer, to a method with logical signature allowPre(HookContext, ProposedTransfers); and the second call after attempting the CryptoTransfer, to a method with logical signature allowPost(HookContext, ProposedTransfers).
.proto.HookCall pre_post_tx_receiver_allowance_hook = 8;- Returns:
- The prePostTxReceiverAllowanceHook.
-
getSenderAllowanceHookCallCase
NftTransfer.SenderAllowanceHookCallCase getSenderAllowanceHookCallCase() -
getReceiverAllowanceHookCallCase
NftTransfer.ReceiverAllowanceHookCallCase getReceiverAllowanceHookCallCase()
-