com.hederahashgraph.api.proto.java.AccountAmountOrBuilder Maven / Gradle / Ivy
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: basic_types.proto
package com.hederahashgraph.api.proto.java;
public interface AccountAmountOrBuilder extends
// @@protoc_insertion_point(interface_extends:proto.AccountAmount)
com.google.protobuf.MessageOrBuilder {
/**
*
**
* 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.hederahashgraph.api.proto.java.AccountID getAccountID();
/**
*
**
* The Account ID that sends/receives cryptocurrency or tokens
*
*
* .proto.AccountID accountID = 1;
*/
com.hederahashgraph.api.proto.java.AccountIDOrBuilder getAccountIDOrBuilder();
/**
*
**
* 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();
}