All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.omgm.speedy.eps.soap.model.ResultBOL Maven / Gradle / Ivy


package com.omgm.speedy.eps.soap.model;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;


/**
 * 

Java class for resultBOL complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="resultBOL">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="amounts" type="{http://ver01.eps.speedy.sirma.com/}resultAmounts" minOccurs="0"/>
 *         <element name="deadlineDelivery" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
 *         <element name="generatedParcels" type="{http://ver01.eps.speedy.sirma.com/}resultParcelInfo" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* *

Instances of this class are returned as a result of create picking speedy web service calls * * @since 1.0.0 * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "resultBOL", propOrder = { "amounts", "deadlineDelivery", "generatedParcels" }) public class ResultBOL { /** * Amounts */ protected ResultAmounts amounts; /** * Deadline for delivery */ @XmlSchemaType(name = "dateTime") protected XMLGregorianCalendar deadlineDelivery; /** * List of parcels data */ @XmlElement(nillable = true) protected List generatedParcels; /** * Gets the amounts calculated * @return Amounts calculated */ public ResultAmounts getAmounts() { return amounts; } /** * Sets the amounts calculated * @param amounts Amounts calculated */ public void setAmounts(ResultAmounts amounts) { this.amounts = amounts; } /** * Gets the deadline for delivery * @return Deadline for delivery */ public XMLGregorianCalendar getDeadlineDelivery() { return deadlineDelivery; } /** * Sets the deadline for delivery * @param deadlineDelivery Deadline for delivery */ public void setDeadlineDelivery(XMLGregorianCalendar deadlineDelivery) { this.deadlineDelivery = deadlineDelivery; } /** * Gets the list of parcels data * *

* 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 set method for the generatedParcels property. * *

* For example, to add a new item, do as follows: *

     *    getGeneratedParcels().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link ResultParcelInfo } * * */ public List getGeneratedParcels() { if (generatedParcels == null) { generatedParcels = new ArrayList(); } return this.generatedParcels; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy