Class Identification
- java.lang.Object
-
- no.digipost.api.client.representations.Identification
-
public class Identification extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
bankAccountNumber
protected java.lang.String
digipostAddress
protected boolean
includePersonaliasForDigipostUser
protected NameAndAddress
nameAndAddress
protected java.lang.String
organisationNumber
protected java.lang.String
personalIdentificationNumber
-
Constructor Summary
Constructors Constructor Description Identification()
Identification(BankAccountNumber bankAccountNumber)
Identification(DigipostAddress digipostAddress)
Identification(DigipostAddress digipostAddress, boolean includePersonaliasForDigipostUser)
Identification(NameAndAddress nameAndAddress)
Identification(NameAndAddress nameAndAddress, boolean includePersonaliasForDigipostUser)
Identification(OrganisationNumber organisationNumber)
Identification(PersonalIdentificationNumber personalIdentificationNumber)
Identification(PersonalIdentificationNumber personalIdentificationNumber, boolean includePersonaliasForDigipostUser)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getDigipostAddress()
NameAndAddress
getNameAndAddress()
java.lang.String
getPersonalIdentificationNumber()
int
hashCode()
java.lang.String
toString()
-
-
-
Field Detail
-
includePersonaliasForDigipostUser
protected boolean includePersonaliasForDigipostUser
-
nameAndAddress
protected NameAndAddress nameAndAddress
-
digipostAddress
protected java.lang.String digipostAddress
-
bankAccountNumber
protected java.lang.String bankAccountNumber
-
personalIdentificationNumber
protected java.lang.String personalIdentificationNumber
-
organisationNumber
protected java.lang.String organisationNumber
-
-
Constructor Detail
-
Identification
public Identification(NameAndAddress nameAndAddress)
-
Identification
public Identification(NameAndAddress nameAndAddress, boolean includePersonaliasForDigipostUser)
-
Identification
public Identification(DigipostAddress digipostAddress)
-
Identification
public Identification(DigipostAddress digipostAddress, boolean includePersonaliasForDigipostUser)
-
Identification
public Identification(PersonalIdentificationNumber personalIdentificationNumber)
-
Identification
public Identification(PersonalIdentificationNumber personalIdentificationNumber, boolean includePersonaliasForDigipostUser)
-
Identification
public Identification(OrganisationNumber organisationNumber)
-
Identification
public Identification(BankAccountNumber bankAccountNumber)
-
Identification
public Identification()
-
-
Method Detail
-
getNameAndAddress
public NameAndAddress getNameAndAddress()
-
getDigipostAddress
public java.lang.String getDigipostAddress()
-
getPersonalIdentificationNumber
public java.lang.String getPersonalIdentificationNumber()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-