/*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
* Copyright (c) 2013, MPL CodeInside http://codeinside.ru
*/
package ru.roskazna.xsd.doacknowledgmentrequest;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.*;
import org.w3._2000._09.xmldsig.SignatureType;
import ru.roskazna.xsd.postblock.PostBlock;
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DoAcknowledgmentRequestType", propOrder = {
"postBlock",
"supplierBillID",
"payments",
"signature"
})
@XmlRootElement (name = "DoAcknowledgmentRequest")
public class DoAcknowledgmentRequestType {
@XmlElement(name = "PostBlock", required = true)
protected PostBlock postBlock;
@XmlElement(name = "SupplierBillID", required = true)
protected String supplierBillID;
@XmlElement(name = "Payments", required = true)
protected DoAcknowledgmentRequestType.Payments payments;
@XmlElement(name = "Signature", namespace = "http://www.w3.org/2000/09/xmldsig#")
protected SignatureType signature;
/**
* Gets the value of the postBlock property.
*
* @return
* possible object is
* {@link PostBlock }
*
*/
public PostBlock getPostBlock() {
return postBlock;
}
/**
* Sets the value of the postBlock property.
*
* @param value
* allowed object is
* {@link PostBlock }
*
*/
public void setPostBlock(PostBlock value) {
this.postBlock = value;
}
/**
* Gets the value of the supplierBillID property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSupplierBillID() {
return supplierBillID;
}
/**
* Sets the value of the supplierBillID property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSupplierBillID(String value) {
this.supplierBillID = value;
}
/**
* Gets the value of the payments property.
*
* @return
* possible object is
* {@link DoAcknowledgmentRequestType.Payments }
*
*/
public DoAcknowledgmentRequestType.Payments getPayments() {
return payments;
}
/**
* Sets the value of the payments property.
*
* @param value
* allowed object is
* {@link DoAcknowledgmentRequestType.Payments }
*
*/
public void setPayments(DoAcknowledgmentRequestType.Payments value) {
this.payments = value;
}
/**
* Gets the value of the signature property.
*
* @return
* possible object is
* {@link SignatureType }
*
*/
public SignatureType getSignature() {
return signature;
}
/**
* Sets the value of the signature property.
*
* @param value
* allowed object is
* {@link SignatureType }
*
*/
public void setSignature(SignatureType value) {
this.signature = value;
}
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="PaymentSystemIdentifier" maxOccurs="unbounded">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <minLength value="1"/>
* <maxLength value="36"/>
* </restriction>
* </simpleType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"paymentSystemIdentifier"
})
public static class Payments {
@XmlElement(name = "PaymentSystemIdentifier", required = true)
protected List<String> paymentSystemIdentifier;
/**
* Gets the value of the paymentSystemIdentifier property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the paymentSystemIdentifier property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getPaymentSystemIdentifier().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List<String> getPaymentSystemIdentifier() {
if (paymentSystemIdentifier == null) {
paymentSystemIdentifier = new ArrayList<String>();
}
return this.paymentSystemIdentifier;
}
}
}