java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.gql.TransactionCredit
public record TransactionCredit(String credit, List<OtherCurrency> credit_other, String due_fees_collected)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionTransactionCredit
(String credit, List<OtherCurrency> credit_other, String due_fees_collected) Creates an instance of aTransactionCredit
record class. -
Method Summary
Modifier and TypeMethodDescriptioncredit()
Returns the value of thecredit
record component.static QueryExecutorBuilder
credit
(String objectFieldsTree, BigIntFormat format) Returns the value of thecredit_other
record component.Returns the value of thedue_fees_collected
record component.static QueryExecutorBuilder
due_fees_collected
(String objectFieldsTree, BigIntFormat format) final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
TransactionCredit
public TransactionCredit(String credit, List<OtherCurrency> credit_other, String due_fees_collected) Creates an instance of aTransactionCredit
record class.- Parameters:
credit
- the value for thecredit
record componentcredit_other
- the value for thecredit_other
record componentdue_fees_collected
- the value for thedue_fees_collected
record component
-
-
Method Details
-
credit
-
due_fees_collected
-
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 withObjects::equals(Object,Object)
. -
credit
Returns the value of thecredit
record component.- Returns:
- the value of the
credit
record component
-
credit_other
Returns the value of thecredit_other
record component.- Returns:
- the value of the
credit_other
record component
-
due_fees_collected
Returns the value of thedue_fees_collected
record component.- Returns:
- the value of the
due_fees_collected
record component
-