Record Class Invoice.CashReceiptInfo
java.lang.Object
java.lang.Record
kr.paysync.sdk.invoice.Invoice.CashReceiptInfo
- Record Components:
type- 현금영수증 종류identifier- 휴대폰 번호, 현금영수증 카드 번호, 사업자등록번호
- Enclosing class:
Invoice
public static record Invoice.CashReceiptInfo(CashReceiptType type, String identifier)
extends Record
결제 완료 때 자동으로 발급할 현금영수증 정보입니다.
-
Constructor Summary
ConstructorsConstructorDescriptionCashReceiptInfo(CashReceiptType type, String identifier) Creates an instance of aCashReceiptInforecord 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 theidentifierrecord component.final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.
-
Constructor Details
-
CashReceiptInfo
Creates an instance of aCashReceiptInforecord class.- Parameters:
type- the value for thetyperecord componentidentifier- the value for theidentifierrecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
type
-
identifier
Returns the value of theidentifierrecord component.- Returns:
- the value of the
identifierrecord component
-