public class CreateMandateRequest extends Object
| Constructor and Description |
|---|
CreateMandateRequest() |
| Modifier and Type | Method and Description |
|---|---|
void |
addRepresentative(Element representative)
Adds a representative.
|
Element |
getMandator()
Gets the mandator.
|
Element |
getRepresentative()
Gets the representative.
|
Element |
getSignature() |
void |
setMandator(Element mandator)
Sets the mandator.
|
void |
setMandator(String familyName,
String givenName,
String dateOfBirth,
String postalCode,
String municipality,
String streetName,
String buildingNumber,
String unit,
boolean physical,
String cbFullName,
String cbIdentificationType,
String cbIdentificationValue)
Sets the Mandator.
|
void |
setRepresentative(InfoboxValidatorParams params,
String identificationType,
String identificationValue)
Sets the Representative.
|
void |
setSignature(Element signature) |
Element |
toElement()
Creates the CreateMandateRequest element that will
be sent to SZR-gateway
|
public Element toElement() throws SZRGWClientException
SZRGWClientExceptionpublic void addRepresentative(Element representative)
representative - an XML representative to add.public Element getRepresentative()
public Element getMandator()
public void setMandator(Element mandator)
mandator - the mandator.public void setMandator(String familyName, String givenName, String dateOfBirth, String postalCode, String municipality, String streetName, String buildingNumber, String unit, boolean physical, String cbFullName, String cbIdentificationType, String cbIdentificationValue) throws SZRGWClientException
familyName - the family name of the mandator.SZRGWClientExceptionpublic void setRepresentative(InfoboxValidatorParams params, String identificationType, String identificationValue) throws SZRGWClientException
params - InfoboxValidatorParams contain the data of the representative.identificationType - the type of the identification of the representative (has to be urn:publicid:gv.at:cdid).identificationValue - the identification value (bPK).SZRGWClientExceptionpublic Element getSignature()
public void setSignature(Element signature) throws SZRGWClientException
signature - the signature to setSZRGWClientExceptionCopyright © 2016. All Rights Reserved.