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.8-b130911.1802
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2018.06.13 at 02:31:45 PM IST
//
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"/>
* <element name="customerProfileId" type="{http://www.w3.org/2001/XMLSchema}int"/>
* <element name="customerPaymentProfileId" type="{http://www.w3.org/2001/XMLSchema}int"/>
* <element name="customerShippingProfileId" type="{http://www.w3.org/2001/XMLSchema}int" 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",
"customerProfileId",
"customerPaymentProfileId",
"customerShippingProfileId"
})
public class SubscriptionDetail {
protected int id;
protected String name;
@XmlElement(required = true)
@XmlSchemaType(name = "string")
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)
@XmlSchemaType(name = "string")
protected PaymentMethodEnum paymentMethod;
protected String accountNumber;
protected String invoice;
@XmlElement(required = true)
protected BigDecimal amount;
protected String currencyCode;
protected int customerProfileId;
protected int customerPaymentProfileId;
protected Integer customerShippingProfileId;
/**
* 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;
}
/**
* Gets the value of the customerProfileId property.
*
*/
public int getCustomerProfileId() {
return customerProfileId;
}
/**
* Sets the value of the customerProfileId property.
*
*/
public void setCustomerProfileId(int value) {
this.customerProfileId = value;
}
/**
* Gets the value of the customerPaymentProfileId property.
*
*/
public int getCustomerPaymentProfileId() {
return customerPaymentProfileId;
}
/**
* Sets the value of the customerPaymentProfileId property.
*
*/
public void setCustomerPaymentProfileId(int value) {
this.customerPaymentProfileId = value;
}
/**
* Gets the value of the customerShippingProfileId property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getCustomerShippingProfileId() {
return customerShippingProfileId;
}
/**
* Sets the value of the customerShippingProfileId property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setCustomerShippingProfileId(Integer value) {
this.customerShippingProfileId = value;
}
}