Package com.tuladb
Record Class Models.TransferResult
java.lang.Object
java.lang.Record
com.tuladb.Models.TransferResult
- Enclosing class:
Models
public static record Models.TransferResult(byte phase, int status, long batchSeq, long timestamp, long drPostedBalance, long drAvailableBalance, long crPostedBalance, long crAvailableBalance, long transferHi, long transferLo, int batchIndex)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionTransferResult(byte phase, int status, long batchSeq, long timestamp, long drPostedBalance, long drAvailableBalance, long crPostedBalance, long crAvailableBalance, long transferHi, long transferLo, int batchIndex) Creates an instance of aTransferResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of thebatchIndexrecord component.longbatchSeq()Returns the value of thebatchSeqrecord component.longReturns the value of thecrAvailableBalancerecord component.longReturns the value of thecrPostedBalancerecord component.longReturns the value of thedrAvailableBalancerecord component.longReturns the value of thedrPostedBalancerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.bytephase()Returns the value of thephaserecord component.intstatus()Returns the value of thestatusrecord component.longReturns the value of thetimestamprecord component.final StringtoString()Returns a string representation of this record class.longReturns the value of thetransferHirecord component.longReturns the value of thetransferLorecord component.
-
Constructor Details
-
TransferResult
public TransferResult(byte phase, int status, long batchSeq, long timestamp, long drPostedBalance, long drAvailableBalance, long crPostedBalance, long crAvailableBalance, long transferHi, long transferLo, int batchIndex) Creates an instance of aTransferResultrecord class.- Parameters:
phase- the value for thephaserecord componentstatus- the value for thestatusrecord componentbatchSeq- the value for thebatchSeqrecord componenttimestamp- the value for thetimestamprecord componentdrPostedBalance- the value for thedrPostedBalancerecord componentdrAvailableBalance- the value for thedrAvailableBalancerecord componentcrPostedBalance- the value for thecrPostedBalancerecord componentcrAvailableBalance- the value for thecrAvailableBalancerecord componenttransferHi- the value for thetransferHirecord componenttransferLo- the value for thetransferLorecord componentbatchIndex- the value for thebatchIndexrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with '=='. -
phase
public byte phase()Returns the value of thephaserecord component.- Returns:
- the value of the
phaserecord component
-
status
public int status()Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-
batchSeq
public long batchSeq()Returns the value of thebatchSeqrecord component.- Returns:
- the value of the
batchSeqrecord component
-
timestamp
public long timestamp()Returns the value of thetimestamprecord component.- Returns:
- the value of the
timestamprecord component
-
drPostedBalance
public long drPostedBalance()Returns the value of thedrPostedBalancerecord component.- Returns:
- the value of the
drPostedBalancerecord component
-
drAvailableBalance
public long drAvailableBalance()Returns the value of thedrAvailableBalancerecord component.- Returns:
- the value of the
drAvailableBalancerecord component
-
crPostedBalance
public long crPostedBalance()Returns the value of thecrPostedBalancerecord component.- Returns:
- the value of the
crPostedBalancerecord component
-
crAvailableBalance
public long crAvailableBalance()Returns the value of thecrAvailableBalancerecord component.- Returns:
- the value of the
crAvailableBalancerecord component
-
transferHi
public long transferHi()Returns the value of thetransferHirecord component.- Returns:
- the value of the
transferHirecord component
-
transferLo
public long transferLo()Returns the value of thetransferLorecord component.- Returns:
- the value of the
transferLorecord component
-
batchIndex
public int batchIndex()Returns the value of thebatchIndexrecord component.- Returns:
- the value of the
batchIndexrecord component
-