Class 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 Detail

      • id

        protected int id
      • firstName

        protected String firstName
      • lastName

        protected String lastName
      • totalOccurrences

        protected int totalOccurrences
      • pastOccurrences

        protected int pastOccurrences
      • accountNumber

        protected String accountNumber
      • invoice

        protected String invoice
      • currencyCode

        protected String currencyCode
      • customerProfileId

        protected int customerProfileId
      • customerPaymentProfileId

        protected int customerPaymentProfileId
      • customerShippingProfileId

        protected Integer customerShippingProfileId
    • Constructor Detail

      • SubscriptionDetail

        public SubscriptionDetail()
    • 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 is String
      • setCreateTimeStampUTC

        public void setCreateTimeStampUTC​(XMLGregorianCalendar value)
        Sets the value of the createTimeStampUTC property.
        Parameters:
        value - allowed object is XMLGregorianCalendar
      • 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 is String
      • 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 is String
      • 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.
      • setPaymentMethod

        public void setPaymentMethod​(PaymentMethodEnum value)
        Sets the value of the paymentMethod property.
        Parameters:
        value - allowed object is PaymentMethodEnum
      • 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 is String
      • 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 is String
      • 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 is BigDecimal
      • 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 is String
      • 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
      • setCustomerShippingProfileId

        public void setCustomerShippingProfileId​(Integer value)
        Sets the value of the customerShippingProfileId property.
        Parameters:
        value - allowed object is Integer