Record Class BankAccount
java.lang.Object
java.lang.Record
kr.paysync.sdk.model.BankAccount
- Record Components:
id- 계좌 ID (bac_...)alias- 대시보드에서 정한 계좌 별칭provider- 은행type- 계좌 종류number- 은행 표기 방식대로 하이픈을 넣은 계좌번호
public record BankAccount(String id, String alias, BankAccountProvider provider, BankAccountType type, String number)
extends Record
입금이 들어온 계좌입니다.
-
Constructor Summary
ConstructorsConstructorDescriptionBankAccount(String id, String alias, BankAccountProvider provider, BankAccountType type, String number) Creates an instance of aBankAccountrecord class. -
Method Summary
Modifier and TypeMethodDescriptionalias()Returns the value of thealiasrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.number()Returns the value of thenumberrecord component.provider()Returns the value of theproviderrecord component.final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.
-
Constructor Details
-
BankAccount
public BankAccount(String id, String alias, BankAccountProvider provider, BankAccountType type, String number) Creates an instance of aBankAccountrecord 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). -
id
-
alias
-
provider
-
type
-
number
-