net.authorize.api.contract.v1.SubscriptionDetail Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2015.05.26 at 11:27:57 AM PDT
//
package net.authorize.api.contract.v1;
import java.math.BigDecimal;
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 SubscriptionDetail complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="SubscriptionDetail">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="id" type="{http://www.w3.org/2001/XMLSchema}int"/>
* <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="status" type="{AnetApi/xml/v1/schema/AnetApiSchema.xsd}ARBSubscriptionStatusEnum"/>
* <element name="createTimeStampUTC" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
* <element name="firstName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="lastName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="totalOccurrences" type="{http://www.w3.org/2001/XMLSchema}int"/>
* <element name="pastOccurrences" type="{http://www.w3.org/2001/XMLSchema}int"/>
* <element name="paymentMethod" type="{AnetApi/xml/v1/schema/AnetApiSchema.xsd}paymentMethodEnum"/>
* <element name="accountNumber" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="invoice" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="amount">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}decimal">
* <minInclusive value="0.00"/>
* <fractionDigits value="4"/>
* </restriction>
* </simpleType>
* </element>
* <element name="currencyCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SubscriptionDetail", propOrder = {
"id",
"name",
"status",
"createTimeStampUTC",
"firstName",
"lastName",
"totalOccurrences",
"pastOccurrences",
"paymentMethod",
"accountNumber",
"invoice",
"amount",
"currencyCode"
})
public class SubscriptionDetail {
protected int id;
protected String name;
@XmlElement(required = true)
protected ARBSubscriptionStatusEnum status;
@XmlElement(required = true)
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar createTimeStampUTC;
protected String firstName;
protected String lastName;
protected int totalOccurrences;
protected int pastOccurrences;
@XmlElement(required = true)
protected PaymentMethodEnum paymentMethod;
protected String accountNumber;
protected String invoice;
@XmlElement(required = true)
protected BigDecimal amount;
protected String currencyCode;
/**
* Gets the value of the id property.
*
*/
public int getId() {
return id;
}
/**
* Sets the value of the id property.
*
*/
public void setId(int value) {
this.id = value;
}
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
/**
* Gets the value of the status property.
*
* @return
* possible object is
* {@link ARBSubscriptionStatusEnum }
*
*/
public ARBSubscriptionStatusEnum getStatus() {
return status;
}
/**
* Sets the value of the status property.
*
* @param value
* allowed object is
* {@link ARBSubscriptionStatusEnum }
*
*/
public void setStatus(ARBSubscriptionStatusEnum value) {
this.status = value;
}
/**
* Gets the value of the createTimeStampUTC property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getCreateTimeStampUTC() {
return createTimeStampUTC;
}
/**
* Sets the value of the createTimeStampUTC property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setCreateTimeStampUTC(XMLGregorianCalendar value) {
this.createTimeStampUTC = value;
}
/**
* Gets the value of the firstName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFirstName() {
return firstName;
}
/**
* Sets the value of the firstName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFirstName(String value) {
this.firstName = value;
}
/**
* Gets the value of the lastName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLastName() {
return lastName;
}
/**
* Sets the value of the lastName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLastName(String value) {
this.lastName = value;
}
/**
* Gets the value of the totalOccurrences property.
*
*/
public int getTotalOccurrences() {
return totalOccurrences;
}
/**
* Sets the value of the totalOccurrences property.
*
*/
public void setTotalOccurrences(int value) {
this.totalOccurrences = value;
}
/**
* Gets the value of the pastOccurrences property.
*
*/
public int getPastOccurrences() {
return pastOccurrences;
}
/**
* Sets the value of the pastOccurrences property.
*
*/
public void setPastOccurrences(int value) {
this.pastOccurrences = value;
}
/**
* Gets the value of the paymentMethod property.
*
* @return
* possible object is
* {@link PaymentMethodEnum }
*
*/
public PaymentMethodEnum getPaymentMethod() {
return paymentMethod;
}
/**
* Sets the value of the paymentMethod property.
*
* @param value
* allowed object is
* {@link PaymentMethodEnum }
*
*/
public void setPaymentMethod(PaymentMethodEnum value) {
this.paymentMethod = value;
}
/**
* Gets the value of the accountNumber property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAccountNumber() {
return accountNumber;
}
/**
* Sets the value of the accountNumber property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAccountNumber(String value) {
this.accountNumber = value;
}
/**
* Gets the value of the invoice property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getInvoice() {
return invoice;
}
/**
* Sets the value of the invoice property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setInvoice(String value) {
this.invoice = value;
}
/**
* Gets the value of the amount property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getAmount() {
return amount;
}
/**
* Sets the value of the amount property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setAmount(BigDecimal value) {
this.amount = value;
}
/**
* Gets the value of the currencyCode property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCurrencyCode() {
return currencyCode;
}
/**
* Sets the value of the currencyCode property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCurrencyCode(String value) {
this.currencyCode = value;
}
}