package com.experian.payline.ws.obj; 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; /** * * An array of subscribed options * * * <p>Java class for option complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="option"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="id" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="subscribed" type="{http://www.w3.org/2001/XMLSchema}boolean"/> * <element name="endDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "option", propOrder = { "id", "subscribed", "endDate" }) public class Option { @XmlElement(required = true) protected String id; @XmlElement(required = true, type = Boolean.class, nillable = true) protected Boolean subscribed; @XmlElement(required = true, nillable = true) @XmlSchemaType(name = "dateTime") protected XMLGregorianCalendar endDate; /** * 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 subscribed property. * * @return * possible object is * {@link Boolean } * */ public Boolean isSubscribed() { return subscribed; } /** * Sets the value of the subscribed property. * * @param value * allowed object is * {@link Boolean } * */ public void setSubscribed(Boolean value) { this.subscribed = value; } /** * Gets the value of the endDate property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getEndDate() { return endDate; } /** * Sets the value of the endDate property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setEndDate(XMLGregorianCalendar value) { this.endDate = value; } }