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

com.bronto.api.model.OrderObject Maven / Gradle / Ivy

The newest version!

package com.bronto.api.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 orderObject complex type. * *

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

 * <complexType name="orderObject">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="id" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="contactId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="email" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="products" type="{http://api.bronto.com/v4}productObject" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="orderDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
 *         <element name="deliveryId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="messageId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="automatorId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="listId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="segmentId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="deliveryType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="tid" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "orderObject", propOrder = { "id", "contactId", "email", "products", "orderDate", "deliveryId", "messageId", "automatorId", "listId", "segmentId", "deliveryType", "tid" }) public class OrderObject { protected String id; protected String contactId; protected String email; @XmlElement(nillable = true) protected List products; @XmlSchemaType(name = "dateTime") protected XMLGregorianCalendar orderDate; protected String deliveryId; protected String messageId; protected String automatorId; protected String listId; protected String segmentId; protected String deliveryType; protected String tid; /** * Gets the value of the id property. * * @return * possible object is * {@link String } * */ public String getId() { return id; } /** * Sets the value of the id property. * * @param value * allowed object is * {@link String } * */ public void setId(String value) { this.id = value; } /** * Gets the value of the contactId property. * * @return * possible object is * {@link String } * */ public String getContactId() { return contactId; } /** * Sets the value of the contactId property. * * @param value * allowed object is * {@link String } * */ public void setContactId(String value) { this.contactId = value; } /** * Gets the value of the email property. * * @return * possible object is * {@link String } * */ public String getEmail() { return email; } /** * Sets the value of the email property. * * @param value * allowed object is * {@link String } * */ public void setEmail(String value) { this.email = value; } /** * Gets the value of the products property. * *

* 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 products property. * *

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

     *    getProducts().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link ProductObject } * * */ public List getProducts() { if (products == null) { products = new ArrayList(); } return this.products; } /** * Gets the value of the orderDate property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getOrderDate() { return orderDate; } /** * Sets the value of the orderDate property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setOrderDate(XMLGregorianCalendar value) { this.orderDate = value; } /** * Gets the value of the deliveryId property. * * @return * possible object is * {@link String } * */ public String getDeliveryId() { return deliveryId; } /** * Sets the value of the deliveryId property. * * @param value * allowed object is * {@link String } * */ public void setDeliveryId(String value) { this.deliveryId = value; } /** * Gets the value of the messageId property. * * @return * possible object is * {@link String } * */ public String getMessageId() { return messageId; } /** * Sets the value of the messageId property. * * @param value * allowed object is * {@link String } * */ public void setMessageId(String value) { this.messageId = value; } /** * Gets the value of the automatorId property. * * @return * possible object is * {@link String } * */ public String getAutomatorId() { return automatorId; } /** * Sets the value of the automatorId property. * * @param value * allowed object is * {@link String } * */ public void setAutomatorId(String value) { this.automatorId = value; } /** * Gets the value of the listId property. * * @return * possible object is * {@link String } * */ public String getListId() { return listId; } /** * Sets the value of the listId property. * * @param value * allowed object is * {@link String } * */ public void setListId(String value) { this.listId = value; } /** * Gets the value of the segmentId property. * * @return * possible object is * {@link String } * */ public String getSegmentId() { return segmentId; } /** * Sets the value of the segmentId property. * * @param value * allowed object is * {@link String } * */ public void setSegmentId(String value) { this.segmentId = value; } /** * Gets the value of the deliveryType property. * * @return * possible object is * {@link String } * */ public String getDeliveryType() { return deliveryType; } /** * Sets the value of the deliveryType property. * * @param value * allowed object is * {@link String } * */ public void setDeliveryType(String value) { this.deliveryType = value; } /** * Gets the value of the tid property. * * @return * possible object is * {@link String } * */ public String getTid() { return tid; } /** * Sets the value of the tid property. * * @param value * allowed object is * {@link String } * */ public void setTid(String value) { this.tid = value; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy