com.hedera.hashgraph.sdk.proto.AccountAmountOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: basic_types.proto
package com.hedera.hashgraph.sdk.proto;
public interface AccountAmountOrBuilder extends
// @@protoc_insertion_point(interface_extends:proto.AccountAmount)
com.google.protobuf.MessageLiteOrBuilder {
/**
*
**
* The Account ID that sends/receives cryptocurrency or tokens
*
*
* .proto.AccountID accountID = 1;
* @return Whether the accountID field is set.
*/
boolean hasAccountID();
/**
*
**
* The Account ID that sends/receives cryptocurrency or tokens
*
*
* .proto.AccountID accountID = 1;
* @return The accountID.
*/
com.hedera.hashgraph.sdk.proto.AccountID getAccountID();
/**
*
**
* The amount of tinybars (for Crypto transfers) or in the lowest
* denomination (for Token transfers) that the account sends(negative) or
* receives(positive)
*
*
* sint64 amount = 2;
* @return The amount.
*/
long getAmount();
/**
*
**
* If true then the transfer is expected to be an approved allowance and the
* accountID is expected to be the owner. The default is false (omitted).
*
*
* bool is_approval = 3;
* @return The isApproval.
*/
boolean getIsApproval();
}