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.StringbankAccountNumberprotected java.lang.StringdigipostAddressprotected booleanincludePersonaliasForDigipostUserprotected NameAndAddressnameAndAddressprotected java.lang.StringorganisationNumberprotected java.lang.StringpersonalIdentificationNumber
-
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 booleanequals(java.lang.Object obj)java.lang.StringgetDigipostAddress()NameAndAddressgetNameAndAddress()java.lang.StringgetPersonalIdentificationNumber()inthashCode()java.lang.StringtoString()
-
-
-
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:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-