Package net.authorize.api.contract.v1
Class SubscriptionDetail
- java.lang.Object
-
- net.authorize.api.contract.v1.SubscriptionDetail
-
public class SubscriptionDetail extends Object
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>
-
-
Field Summary
Fields Modifier and Type Field Description protected StringaccountNumberprotected BigDecimalamountprotected XMLGregorianCalendarcreateTimeStampUTCprotected StringcurrencyCodeprotected intcustomerPaymentProfileIdprotected intcustomerProfileIdprotected IntegercustomerShippingProfileIdprotected StringfirstNameprotected intidprotected Stringinvoiceprotected StringlastNameprotected Stringnameprotected intpastOccurrencesprotected PaymentMethodEnumpaymentMethodprotected ARBSubscriptionStatusEnumstatusprotected inttotalOccurrences
-
Constructor Summary
Constructors Constructor Description SubscriptionDetail()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAccountNumber()Gets the value of the accountNumber property.BigDecimalgetAmount()Gets the value of the amount property.XMLGregorianCalendargetCreateTimeStampUTC()Gets the value of the createTimeStampUTC property.StringgetCurrencyCode()Gets the value of the currencyCode property.intgetCustomerPaymentProfileId()Gets the value of the customerPaymentProfileId property.intgetCustomerProfileId()Gets the value of the customerProfileId property.IntegergetCustomerShippingProfileId()Gets the value of the customerShippingProfileId property.StringgetFirstName()Gets the value of the firstName property.intgetId()Gets the value of the id property.StringgetInvoice()Gets the value of the invoice property.StringgetLastName()Gets the value of the lastName property.StringgetName()Gets the value of the name property.intgetPastOccurrences()Gets the value of the pastOccurrences property.PaymentMethodEnumgetPaymentMethod()Gets the value of the paymentMethod property.ARBSubscriptionStatusEnumgetStatus()Gets the value of the status property.intgetTotalOccurrences()Gets the value of the totalOccurrences property.voidsetAccountNumber(String value)Sets the value of the accountNumber property.voidsetAmount(BigDecimal value)Sets the value of the amount property.voidsetCreateTimeStampUTC(XMLGregorianCalendar value)Sets the value of the createTimeStampUTC property.voidsetCurrencyCode(String value)Sets the value of the currencyCode property.voidsetCustomerPaymentProfileId(int value)Sets the value of the customerPaymentProfileId property.voidsetCustomerProfileId(int value)Sets the value of the customerProfileId property.voidsetCustomerShippingProfileId(Integer value)Sets the value of the customerShippingProfileId property.voidsetFirstName(String value)Sets the value of the firstName property.voidsetId(int value)Sets the value of the id property.voidsetInvoice(String value)Sets the value of the invoice property.voidsetLastName(String value)Sets the value of the lastName property.voidsetName(String value)Sets the value of the name property.voidsetPastOccurrences(int value)Sets the value of the pastOccurrences property.voidsetPaymentMethod(PaymentMethodEnum value)Sets the value of the paymentMethod property.voidsetStatus(ARBSubscriptionStatusEnum value)Sets the value of the status property.voidsetTotalOccurrences(int value)Sets the value of the totalOccurrences property.
-
-
-
Field Detail
-
id
protected int id
-
name
protected String name
-
status
protected ARBSubscriptionStatusEnum status
-
createTimeStampUTC
protected XMLGregorianCalendar createTimeStampUTC
-
firstName
protected String firstName
-
lastName
protected String lastName
-
totalOccurrences
protected int totalOccurrences
-
pastOccurrences
protected int pastOccurrences
-
paymentMethod
protected PaymentMethodEnum paymentMethod
-
accountNumber
protected String accountNumber
-
invoice
protected String invoice
-
amount
protected BigDecimal amount
-
currencyCode
protected String currencyCode
-
customerProfileId
protected int customerProfileId
-
customerPaymentProfileId
protected int customerPaymentProfileId
-
customerShippingProfileId
protected Integer customerShippingProfileId
-
-
Method Detail
-
getId
public int getId()
Gets the value of the id property.
-
setId
public void setId(int value)
Sets the value of the id property.
-
getName
public String getName()
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
public void setName(String value)
Sets the value of the name property.- Parameters:
value- allowed object isString
-
getStatus
public ARBSubscriptionStatusEnum getStatus()
Gets the value of the status property.- Returns:
- possible object is
ARBSubscriptionStatusEnum
-
setStatus
public void setStatus(ARBSubscriptionStatusEnum value)
Sets the value of the status property.- Parameters:
value- allowed object isARBSubscriptionStatusEnum
-
getCreateTimeStampUTC
public XMLGregorianCalendar getCreateTimeStampUTC()
Gets the value of the createTimeStampUTC property.- Returns:
- possible object is
XMLGregorianCalendar
-
setCreateTimeStampUTC
public void setCreateTimeStampUTC(XMLGregorianCalendar value)
Sets the value of the createTimeStampUTC property.- Parameters:
value- allowed object isXMLGregorianCalendar
-
getFirstName
public String getFirstName()
Gets the value of the firstName property.- Returns:
- possible object is
String
-
setFirstName
public void setFirstName(String value)
Sets the value of the firstName property.- Parameters:
value- allowed object isString
-
getLastName
public String getLastName()
Gets the value of the lastName property.- Returns:
- possible object is
String
-
setLastName
public void setLastName(String value)
Sets the value of the lastName property.- Parameters:
value- allowed object isString
-
getTotalOccurrences
public int getTotalOccurrences()
Gets the value of the totalOccurrences property.
-
setTotalOccurrences
public void setTotalOccurrences(int value)
Sets the value of the totalOccurrences property.
-
getPastOccurrences
public int getPastOccurrences()
Gets the value of the pastOccurrences property.
-
setPastOccurrences
public void setPastOccurrences(int value)
Sets the value of the pastOccurrences property.
-
getPaymentMethod
public PaymentMethodEnum getPaymentMethod()
Gets the value of the paymentMethod property.- Returns:
- possible object is
PaymentMethodEnum
-
setPaymentMethod
public void setPaymentMethod(PaymentMethodEnum value)
Sets the value of the paymentMethod property.- Parameters:
value- allowed object isPaymentMethodEnum
-
getAccountNumber
public String getAccountNumber()
Gets the value of the accountNumber property.- Returns:
- possible object is
String
-
setAccountNumber
public void setAccountNumber(String value)
Sets the value of the accountNumber property.- Parameters:
value- allowed object isString
-
getInvoice
public String getInvoice()
Gets the value of the invoice property.- Returns:
- possible object is
String
-
setInvoice
public void setInvoice(String value)
Sets the value of the invoice property.- Parameters:
value- allowed object isString
-
getAmount
public BigDecimal getAmount()
Gets the value of the amount property.- Returns:
- possible object is
BigDecimal
-
setAmount
public void setAmount(BigDecimal value)
Sets the value of the amount property.- Parameters:
value- allowed object isBigDecimal
-
getCurrencyCode
public String getCurrencyCode()
Gets the value of the currencyCode property.- Returns:
- possible object is
String
-
setCurrencyCode
public void setCurrencyCode(String value)
Sets the value of the currencyCode property.- Parameters:
value- allowed object isString
-
getCustomerProfileId
public int getCustomerProfileId()
Gets the value of the customerProfileId property.
-
setCustomerProfileId
public void setCustomerProfileId(int value)
Sets the value of the customerProfileId property.
-
getCustomerPaymentProfileId
public int getCustomerPaymentProfileId()
Gets the value of the customerPaymentProfileId property.
-
setCustomerPaymentProfileId
public void setCustomerPaymentProfileId(int value)
Sets the value of the customerPaymentProfileId property.
-
getCustomerShippingProfileId
public Integer getCustomerShippingProfileId()
Gets the value of the customerShippingProfileId property.- Returns:
- possible object is
Integer
-
-