Record Class Transaction.Unmatch

java.lang.Object
java.lang.Record
kr.paysync.sdk.transaction.Transaction.Unmatch
Record Components:
invoiceId - 매칭돼 있던 주문 ID
invoiceNumber - 매칭돼 있던 주문번호
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 Details

    • Unmatch

      public Unmatch(String invoiceId, long invoiceNumber, MatchMethod method, UnmatchReason reason, @Nullable String note, Instant unmatchedAt, Actor unmatchedBy)
      Creates an instance of a Unmatch record class.
      Parameters:
      invoiceId - the value for the invoiceId record component
      invoiceNumber - the value for the invoiceNumber record component
      method - the value for the method record component
      reason - the value for the reason record component
      note - the value for the note record component
      unmatchedAt - the value for the unmatchedAt record component
      unmatchedBy - the value for the unmatchedBy record component
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object); primitive components are compared with the compare method from their corresponding wrapper classes.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • invoiceId

      public String invoiceId()
      Returns the value of the invoiceId record component.
      Returns:
      the value of the invoiceId record component
    • invoiceNumber

      public long invoiceNumber()
      Returns the value of the invoiceNumber record component.
      Returns:
      the value of the invoiceNumber record component
    • method

      public MatchMethod method()
      Returns the value of the method record component.
      Returns:
      the value of the method record component
    • reason

      public UnmatchReason reason()
      Returns the value of the reason record component.
      Returns:
      the value of the reason record component
    • note

      public @Nullable String note()
      Returns the value of the note record component.
      Returns:
      the value of the note record component
    • unmatchedAt

      public Instant unmatchedAt()
      Returns the value of the unmatchedAt record component.
      Returns:
      the value of the unmatchedAt record component
    • unmatchedBy

      public Actor unmatchedBy()
      Returns the value of the unmatchedBy record component.
      Returns:
      the value of the unmatchedBy record component