Record Class Invoice.History
java.lang.Object
java.lang.Record
kr.paysync.sdk.invoice.Invoice.History
- Record Components:
type- 기록 종류at- 일어난 시각actor- 한 주체detail- 취소 사유 같은 설명changes-InvoiceHistoryType.UPDATED에서 바뀐 필드
- Enclosing class:
Invoice
public static record Invoice.History(InvoiceHistoryType type, Instant at, @Nullable Actor actor, @Nullable String detail, List<Invoice.Change> changes)
extends Record
주문 기록입니다.
-
Constructor Summary
ConstructorsConstructorDescriptionHistory(InvoiceHistoryType type, Instant at, @Nullable Actor actor, @Nullable String detail, List<Invoice.Change> changes) Creates an instance of aHistoryrecord class. -
Method Summary
Modifier and TypeMethodDescription@Nullable Actoractor()Returns the value of theactorrecord component.at()Returns the value of theatrecord component.changes()Returns the value of thechangesrecord component.@Nullable Stringdetail()Returns the value of thedetailrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.
-
Constructor Details
-
History
public History(InvoiceHistoryType type, Instant at, @Nullable Actor actor, @Nullable String detail, List<Invoice.Change> changes) Creates an instance of aHistoryrecord class.
-
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
type
-
at
-
actor
-
detail
-
changes
-