Skip navigation links
A B C D F G H I J M N P S T Z 

A

add(Message) - Method in class io.token.proto.ProtoHasher
Adds message to the ProtoHasher byte array.
addJson(Message) - Method in class io.token.proto.ProtoHasher
Serializes JSON into canonical fomrat, then adds UTF8 byte array to the ProtoHasher.
alias() - Static method in class io.token.proto.common.testing.Sample
Alias in the form of an email address.
alias(boolean) - Static method in class io.token.proto.common.testing.Sample
Alias in the form of an email address.
AliasHasher - Class in io.token.proto
 

B

bankAccount() - Static method in class io.token.proto.common.testing.Sample
Token bank account.
bankTransfer() - Static method in class io.token.proto.common.testing.Sample
Transfer token payload.

C

create(List<T>, P) - Static method in class io.token.proto.PagedList
 

D

domainAlias() - Static method in class io.token.proto.common.testing.Sample
Alias in the form of a URL.

F

feeAsMoney(PricingProtos.TransferQuote) - Static method in class io.token.proto.PricingUtil
Converts quote fees into MoneyProtos.Money representation.
findFxRate(List<PricingProtos.TransferQuote.FxRate>, String, String) - Static method in class io.token.proto.PricingUtil
Returns an FX rate that matches the specified currencies.
fromJson(String, Message.Builder) - Static method in class io.token.proto.ProtoJson
Gets message from JSON.

G

getList() - Method in class io.token.proto.PagedList
 
getOffset() - Method in class io.token.proto.PagedList
 

H

hasFailed(TransactionProtos.TransactionStatus) - Static method in class io.token.proto.TransactionStatusHelper
Checks for failed statuses.
hash(AliasProtos.Alias) - Static method in class io.token.proto.AliasHasher
Converts an alias to an alias hash.
hash(Message) - Static method in class io.token.proto.ProtoHasher
Computes hash of the message.
hash() - Method in class io.token.proto.ProtoHasher
Gets hash byte array.
hashAndSerialize(Message) - Static method in class io.token.proto.ProtoHasher
Serializes hashes message and returns in human readable format.
hashAndSerializeJson(Message) - Static method in class io.token.proto.ProtoHasher
Serializes message into Json, then hashes and returns in human readable format.

I

io.token.proto - package io.token.proto
 
io.token.proto.common.testing - package io.token.proto.common.testing
 

J

JsonSorter - Class in io.token.proto
 
JsonSorter() - Constructor for class io.token.proto.JsonSorter
 

M

minus(MoneyProtos.Money, MoneyProtos.Money) - Static method in class io.token.proto.PricingUtil
Subtracts two money amounts.
MoneyUtil - Class in io.token.proto
Utility methods for handling MoneyProtos.Money.

N

newMoney(double, String) - Static method in class io.token.proto.MoneyUtil
Creates a new MoneyProtos.Money instance.
newMoney(BigDecimal, String) - Static method in class io.token.proto.MoneyUtil
Creates a new MoneyProtos.Money instance.
normalize(AliasProtos.Alias) - Static method in class io.token.proto.AliasHasher
Normalizes the alias value.
normalize(MoneyProtos.Money) - Static method in class io.token.proto.MoneyUtil
Normalizes MoneyProtos.Money instance.
normalize(double) - Static method in class io.token.proto.MoneyUtil
Normalizes double amount.
normalize(BigDecimal) - Static method in class io.token.proto.MoneyUtil
Normalizes BigDecimal amount.
normalize(BigDecimal, RoundingMode) - Static method in class io.token.proto.MoneyUtil
Normalizes BigDecimal amount.
normalizeAndHash(AliasProtos.Alias) - Static method in class io.token.proto.AliasHasher
Normalizes alias and converts to alias hash.

P

PagedList<T,P> - Class in io.token.proto
Wraps results returned from the offset/limit enabled methods.
PagedList() - Constructor for class io.token.proto.PagedList
 
parse(String, Message.Builder) - Static method in class io.token.proto.ProtoIds
Parses out a message previously serialized with the serialize.
parseAmount(String) - Static method in class io.token.proto.MoneyUtil
Parses amount as BigDecimal.
performFx(MoneyProtos.Money, String, PricingProtos.TransferQuote.FxRate) - Static method in class io.token.proto.PricingUtil
Performs FX conversion of a given amount using the specified fx rate.
performFx(MoneyProtos.Money, String, List<PricingProtos.TransferQuote.FxRate>) - Static method in class io.token.proto.PricingUtil
Performs FX conversion of a given amount.
plus(MoneyProtos.Money, MoneyProtos.Money) - Static method in class io.token.proto.PricingUtil
Adds up two money amounts.
PricingException - Exception in io.token.proto
Pricing Exception for handling errors in PricingUtil calculations.
PricingException(String) - Constructor for exception io.token.proto.PricingException
 
PricingUtil - Class in io.token.proto
Helper class that contains Pricing Calculation functions, including FX calculations.
PricingUtil() - Constructor for class io.token.proto.PricingUtil
 
ProtoHasher - Class in io.token.proto
Computes content hash of a protobuf message.
ProtoHasher() - Constructor for class io.token.proto.ProtoHasher
 
ProtoIds - Class in io.token.proto
Deals with proto buffer based ID serialization and parsing.
ProtoJson - Class in io.token.proto
Converts proto messages to canonical JSON format.

S

Sample - Class in io.token.proto.common.testing
Testing samples.
Sample() - Constructor for class io.token.proto.common.testing.Sample
 
serialize(Message) - Static method in class io.token.proto.ProtoIds
Serializes the specified protobuf into a string.
serialize(byte[]) - Static method in class io.token.proto.ProtoIds
Serializes the specified byte array into a string.
signature() - Static method in class io.token.proto.common.testing.Sample
Signature.
sort(String) - Static method in class io.token.proto.JsonSorter
Sorts the JSON string into a new JSON string with keys ordered alphabetically (recursive) Relies on the fact that JsonObjects use a LinkedHashMap internally, which maintains the order of the keys, as they are inserted.

T

timeAfter(long, long, TimeUnit) - Static method in class io.token.proto.common.testing.Sample
Adds a specified duration and returns the timestamp.
timeBefore(long, long, TimeUnit) - Static method in class io.token.proto.common.testing.Sample
Subtracts a specified duration and returns the timestamp.
toJson(Message) - Static method in class io.token.proto.ProtoJson
Converts message to JSON.
tokenMember() - Static method in class io.token.proto.common.testing.Sample
Token member.
TransactionStatusHelper - Class in io.token.proto
 
transferEndpoint() - Static method in class io.token.proto.common.testing.Sample
Transfer source or destination.
transferInstructions() - Static method in class io.token.proto.common.testing.Sample
Transfer instructions.

Z

zero() - Static method in class io.token.proto.MoneyUtil
Returns 0 amount.
A B C D F G H I J M N P S T Z 
Skip navigation links