com.omgm.speedy.eps.soap.model.ParamParcelInfo Maven / Gradle / Ivy
package com.omgm.speedy.eps.soap.model;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for paramParcelInfo complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="paramParcelInfo">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="packId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
* <element name="parcelId" type="{http://www.w3.org/2001/XMLSchema}long"/>
* <element name="seqNo" type="{http://www.w3.org/2001/XMLSchema}int"/>
* <element name="size" type="{http://ver01.eps.speedy.sirma.com/}size" minOccurs="0"/>
* <element name="weight" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
* @since 1.0.0
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "paramParcelInfo", propOrder = {
"packId",
"parcelId",
"seqNo",
"size",
"weight"
})
public class ParamParcelInfo {
/**
* Parcel's pack id
* MANDATORY: YES
*/
protected Long packId;
/**
* Parcel ID
* MANDATORY: YES
*/
protected long parcelId;
/**
* Parcel's sequence number (2, 3, ...)
* MANDATORY: YES
*/
protected int seqNo;
/**
* Parcel size
* MANDATORY: if pallet service is specified
* @since 2.3.0
*/
protected Size size;
/**
* Parcel weight
* MANDATORY: if pallet service is specified
* @since 2.3.0
*/
protected Double weight;
/**
* Gets the parcel's pack id
* @return Parcel's pack id
*/
public Long getPackId() {
return packId;
}
/**
* Sets the parcel's pack id
* @param packId Parcel's pack id
*/
public void setPackId(Long packId) {
this.packId = packId;
}
/**
* Gets the parcel id
* @return Parcel id
*/
public long getParcelId() {
return parcelId;
}
/**
* Sets the parcelId
* @param parcelId Parcel id
*/
public void setParcelId(long parcelId) {
this.parcelId = parcelId;
}
/**
* Gets the parcel's sequence number
* @return Parcel's sequence number
*/
public int getSeqNo() {
return seqNo;
}
/**
* Sets the parcel's serial number (2, 3, ...)
* Parcel with number 1 is the default parcel for BOL
* @return Parcel's serial number
*/
public void setSeqNo(int value) {
this.seqNo = value;
}
/**
* Gets the parcel's size
* @return Parcel's size
* @since 2.3.0
*/
public Size getSize() {
return size;
}
/**
* Sets parcel's size
* @param size Parcel's size
* @since 2.3.0
*/
public void setSize(Size size) {
this.size = size;
}
/**
* Gets the parcel's weight
* @return Parcel's weight
* @since 2.3.0
*/
public Double getWeight() {
return weight;
}
/**
* Sets parcel's weight
* @param weight Parcel's weight
* @since 2.3.0
*/
public void setWeight(Double weight) {
this.weight = weight;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy