//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2015.03.18 at 01:35:39 PM CET
//
package ch.fd.invoice400.request;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* <p>
* Java class for payantType complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="payantType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="biller" type="{http://www.xmlData.ch/xmlInvoice/XSD}billerAddressType"/>
* <element name="provider" type="{http://www.xmlData.ch/xmlInvoice/XSD}providerAddressType"/>
* <element name="insurance" type="{http://www.xmlData.ch/xmlInvoice/XSD}insuranceAddressType"/>
* <element name="patient" type="{http://www.xmlData.ch/xmlInvoice/XSD}patientAddressType"/>
* <element name="guarantor" type="{http://www.xmlData.ch/xmlInvoice/XSD}guarantorAddressType"/>
* <element name="referrer" type="{http://www.xmlData.ch/xmlInvoice/XSD}referrerAddressType" minOccurs="0"/>
* </sequence>
* <attribute name="invoice_modification" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
* <attribute name="purpose" default="invoice">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
* <enumeration value="invoice"/>
* <enumeration value="annulment"/>
* <enumeration value="creditAdvice"/>
* </restriction>
* </simpleType>
* </attribute>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "payantType", propOrder = {
"biller", "provider", "insurance", "patient", "guarantor", "referrer"
})
public class PayantType {
@XmlElement(required = true)
protected BillerAddressType biller;
@XmlElement(required = true)
protected ProviderAddressType provider;
@XmlElement(required = true)
protected InsuranceAddressType insurance;
@XmlElement(required = true)
protected PatientAddressType patient;
@XmlElement(required = true)
protected GuarantorAddressType guarantor;
protected ReferrerAddressType referrer;
@XmlAttribute(name = "invoice_modification")
protected Boolean invoiceModification;
@XmlAttribute(name = "purpose")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String purpose;
/**
* Gets the value of the biller property.
*
* @return possible object is {@link BillerAddressType }
*
*/
public BillerAddressType getBiller(){
return biller;
}
/**
* Sets the value of the biller property.
*
* @param value
* allowed object is {@link BillerAddressType }
*
*/
public void setBiller(BillerAddressType value){
this.biller = value;
}
/**
* Gets the value of the provider property.
*
* @return possible object is {@link ProviderAddressType }
*
*/
public ProviderAddressType getProvider(){
return provider;
}
/**
* Sets the value of the provider property.
*
* @param value
* allowed object is {@link ProviderAddressType }
*
*/
public void setProvider(ProviderAddressType value){
this.provider = value;
}
/**
* Gets the value of the insurance property.
*
* @return possible object is {@link InsuranceAddressType }
*
*/
public InsuranceAddressType getInsurance(){
return insurance;
}
/**
* Sets the value of the insurance property.
*
* @param value
* allowed object is {@link InsuranceAddressType }
*
*/
public void setInsurance(InsuranceAddressType value){
this.insurance = value;
}
/**
* Gets the value of the patient property.
*
* @return possible object is {@link PatientAddressType }
*
*/
public PatientAddressType getPatient(){
return patient;
}
/**
* Sets the value of the patient property.
*
* @param value
* allowed object is {@link PatientAddressType }
*
*/
public void setPatient(PatientAddressType value){
this.patient = value;
}
/**
* Gets the value of the guarantor property.
*
* @return possible object is {@link GuarantorAddressType }
*
*/
public GuarantorAddressType getGuarantor(){
return guarantor;
}
/**
* Sets the value of the guarantor property.
*
* @param value
* allowed object is {@link GuarantorAddressType }
*
*/
public void setGuarantor(GuarantorAddressType value){
this.guarantor = value;
}
/**
* Gets the value of the referrer property.
*
* @return possible object is {@link ReferrerAddressType }
*
*/
public ReferrerAddressType getReferrer(){
return referrer;
}
/**
* Sets the value of the referrer property.
*
* @param value
* allowed object is {@link ReferrerAddressType }
*
*/
public void setReferrer(ReferrerAddressType value){
this.referrer = value;
}
/**
* Gets the value of the invoiceModification property.
*
* @return possible object is {@link Boolean }
*
*/
public boolean isInvoiceModification(){
if (invoiceModification == null) {
return false;
} else {
return invoiceModification;
}
}
/**
* Sets the value of the invoiceModification property.
*
* @param value
* allowed object is {@link Boolean }
*
*/
public void setInvoiceModification(Boolean value){
this.invoiceModification = value;
}
/**
* Gets the value of the purpose property.
*
* @return possible object is {@link String }
*
*/
public String getPurpose(){
if (purpose == null) {
return "invoice";
} else {
return purpose;
}
}
/**
* Sets the value of the purpose property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setPurpose(String value){
this.purpose = value;
}
}