package examples.localserver;

import javax.xml.bind.annotation.Documentation;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlType;
import java.util.ArrayList;
import java.util.List;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SignatureResponse")
public class SignatureResponse {
    @XmlElementWrapper(required = true)
    @XmlElement(name = "invoiceHash", required = true)
    @Documentation("Список хэшей ЭСФ")
    private List<InvoiceHash> invoiceHashList = new ArrayList<>();

    public List<InvoiceHash> getInvoiceHashList() {
        return invoiceHashList;
    }

    public void setInvoiceHashList(List<InvoiceHash> invoiceHashList) {
        this.invoiceHashList = invoiceHashList;
    }
}
