Record Class Transaction.Unmatch
java.lang.Object
java.lang.Record
kr.paysync.sdk.transaction.Transaction.Unmatch
- Record Components:
invoiceId- 매칭돼 있던 주문 IDinvoiceNumber- 매칭돼 있던 주문번호method- 해제한 매칭의 방식reason- 해제 사유note- 메모unmatchedAt- 해제한 시각unmatchedBy- 해제한 주체
- Enclosing class:
Transaction
public static record Transaction.Unmatch(String invoiceId, long invoiceNumber, MatchMethod method, UnmatchReason reason, @Nullable String note, Instant unmatchedAt, Actor unmatchedBy)
extends Record
매칭을 해제한 기록입니다.
-
Constructor Summary
ConstructorsConstructorDescriptionUnmatch(String invoiceId, long invoiceNumber, MatchMethod method, UnmatchReason reason, @Nullable String note, Instant unmatchedAt, Actor unmatchedBy) Creates an instance of aUnmatchrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theinvoiceIdrecord component.longReturns the value of theinvoiceNumberrecord component.method()Returns the value of themethodrecord component.@Nullable Stringnote()Returns the value of thenoterecord component.reason()Returns the value of thereasonrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theunmatchedAtrecord component.Returns the value of theunmatchedByrecord component.
-
Constructor Details
-
Unmatch
public Unmatch(String invoiceId, long invoiceNumber, MatchMethod method, UnmatchReason reason, @Nullable String note, Instant unmatchedAt, Actor unmatchedBy) Creates an instance of aUnmatchrecord class.- Parameters:
invoiceId- the value for theinvoiceIdrecord componentinvoiceNumber- the value for theinvoiceNumberrecord componentmethod- the value for themethodrecord componentreason- the value for thereasonrecord componentnote- the value for thenoterecord componentunmatchedAt- the value for theunmatchedAtrecord componentunmatchedBy- the value for theunmatchedByrecord component
-
-
Method Details
-
toString
-
hashCode
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
invoiceId
-
invoiceNumber
public long invoiceNumber()Returns the value of theinvoiceNumberrecord component.- Returns:
- the value of the
invoiceNumberrecord component
-
method
-
reason
-
note
-
unmatchedAt
Returns the value of theunmatchedAtrecord component.- Returns:
- the value of the
unmatchedAtrecord component
-
unmatchedBy
Returns the value of theunmatchedByrecord component.- Returns:
- the value of the
unmatchedByrecord component
-