Package money.zumo.zumokit
Class CustodyOrder
- java.lang.Object
-
- money.zumo.zumokit.CustodyOrder
-
public final class CustodyOrder extends java.lang.ObjectRecord containing custody order.
-
-
Constructor Summary
Constructors Constructor Description CustodyOrder(java.lang.String id, java.lang.String type, java.lang.String status, java.math.BigDecimal amount, boolean feeInAmount, java.math.BigDecimal estimatedFees, java.math.BigDecimal fees, java.util.ArrayList<java.lang.String> fromAddresses, java.lang.String fromAccountId, java.lang.String fromUserId, java.lang.String fromUserIntegratorId, java.lang.String toAddress, java.lang.String toAccountId, java.lang.String toUserId, java.lang.String toUserIntegratorId, int createdAt, int updatedAt)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.math.BigDecimalgetAmount()Custody order amount, null if not known yet.intgetCreatedAt()Epoch timestamp when custody order was created.java.math.BigDecimalgetEstimatedFees()Estimated custody order fees.booleangetFeeInAmount()Flag indicating if fees are included in order amount.java.math.BigDecimalgetFees()Actual custody order fees, null if not known yet.java.lang.StringgetFromAccountId()DebitAccountidentifier, if applicable.java.util.ArrayList<java.lang.String>getFromAddresses()Crypto addresses from which funds where received, if any.java.lang.StringgetFromUserId()Debit {@link Account's Account's} user identifier, if applicable.java.lang.StringgetFromUserIntegratorId()Debit {@link Account's Account's} user integrator identifier, if applicable.java.lang.StringgetId()Identifier.java.lang.StringgetStatus()Transaction status.java.lang.StringgetToAccountId()CreditAccountidentifier, if applicable.java.lang.StringgetToAddress()Destination crypto address, if applicable.java.lang.StringgetToUserId()Credit {@link Account's Account's} user identifier, if applicable.java.lang.StringgetToUserIntegratorId()Credit {@link Account's Account's} user integrator identifier, if applicable.java.lang.StringgetType()Custody order type.intgetUpdatedAt()Epoch timestamp when custody order was updated.inthashCode()java.lang.StringtoString()
-
-
-
Constructor Detail
-
CustodyOrder
public CustodyOrder(java.lang.String id, java.lang.String type, java.lang.String status, java.math.BigDecimal amount, boolean feeInAmount, java.math.BigDecimal estimatedFees, java.math.BigDecimal fees, java.util.ArrayList<java.lang.String> fromAddresses, java.lang.String fromAccountId, java.lang.String fromUserId, java.lang.String fromUserIntegratorId, java.lang.String toAddress, java.lang.String toAccountId, java.lang.String toUserId, java.lang.String toUserIntegratorId, int createdAt, int updatedAt)
-
-
Method Detail
-
getId
public java.lang.String getId()
Identifier.
-
getType
public java.lang.String getType()
Custody order type.- See Also:
CustodyOrderType
-
getStatus
public java.lang.String getStatus()
Transaction status.- See Also:
CustodyOrder
-
getAmount
public java.math.BigDecimal getAmount()
Custody order amount, null if not known yet.
-
getFeeInAmount
public boolean getFeeInAmount()
Flag indicating if fees are included in order amount.
-
getEstimatedFees
public java.math.BigDecimal getEstimatedFees()
Estimated custody order fees.
-
getFees
public java.math.BigDecimal getFees()
Actual custody order fees, null if not known yet.
-
getFromAddresses
public java.util.ArrayList<java.lang.String> getFromAddresses()
Crypto addresses from which funds where received, if any.
-
getFromAccountId
public java.lang.String getFromAccountId()
DebitAccountidentifier, if applicable.
-
getFromUserId
public java.lang.String getFromUserId()
Debit {@link Account's Account's} user identifier, if applicable.
-
getFromUserIntegratorId
public java.lang.String getFromUserIntegratorId()
Debit {@link Account's Account's} user integrator identifier, if applicable.
-
getToAddress
public java.lang.String getToAddress()
Destination crypto address, if applicable.
-
getToAccountId
public java.lang.String getToAccountId()
CreditAccountidentifier, if applicable.
-
getToUserId
public java.lang.String getToUserId()
Credit {@link Account's Account's} user identifier, if applicable.
-
getToUserIntegratorId
public java.lang.String getToUserIntegratorId()
Credit {@link Account's Account's} user integrator identifier, if applicable.
-
getCreatedAt
public int getCreatedAt()
Epoch timestamp when custody order was created.
-
getUpdatedAt
public int getUpdatedAt()
Epoch timestamp when custody order was updated.
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-