public class

SubscriptionInfoType

extends Object
java.lang.Object
   ↳ ebay.apis.eblbasecomponents.SubscriptionInfoType

Class Overview

SubscriptionInfoType Information about a PayPal Subscription.

Java class for SubscriptionInfoType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="SubscriptionInfoType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{urn:ebay:apis:eBLBaseComponents}SubscriptionID"/>
         <element name="SubscriptionDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
         <element name="EffectiveDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
         <element name="RetryTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
         <element name="Username" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="Password" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="Recurrences" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="Terms" type="{urn:ebay:apis:eBLBaseComponents}SubscriptionTermsType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="reattempt" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="recurring" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 

Summary

Fields
protected XMLGregorianCalendar effectiveDate
protected String password
protected String reattempt
protected String recurrences
protected String recurring
protected XMLGregorianCalendar retryTime
protected XMLGregorianCalendar subscriptionDate
protected String subscriptionID
protected List<SubscriptionTermsType> terms
protected String username
Public Constructors
SubscriptionInfoType()
Public Methods
XMLGregorianCalendar getEffectiveDate()
Gets the value of the effectiveDate property.
String getPassword()
Gets the value of the password property.
String getReattempt()
Gets the value of the reattempt property.
String getRecurrences()
Gets the value of the recurrences property.
String getRecurring()
Gets the value of the recurring property.
XMLGregorianCalendar getRetryTime()
Gets the value of the retryTime property.
XMLGregorianCalendar getSubscriptionDate()
Gets the value of the subscriptionDate property.
String getSubscriptionID()
ID generated by PayPal for the subscriber.
List<SubscriptionTermsType> getTerms()
Gets the value of the terms property.
String getUsername()
Gets the value of the username property.
void setEffectiveDate(XMLGregorianCalendar value)
Sets the value of the effectiveDate property.
void setPassword(String value)
Sets the value of the password property.
void setReattempt(String value)
Sets the value of the reattempt property.
void setRecurrences(String value)
Sets the value of the recurrences property.
void setRecurring(String value)
Sets the value of the recurring property.
void setRetryTime(XMLGregorianCalendar value)
Sets the value of the retryTime property.
void setSubscriptionDate(XMLGregorianCalendar value)
Sets the value of the subscriptionDate property.
void setSubscriptionID(String value)
Sets the value of the subscriptionID property.
void setUsername(String value)
Sets the value of the username property.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected XMLGregorianCalendar effectiveDate

protected String password

protected String reattempt

protected String recurrences

protected String recurring

protected XMLGregorianCalendar retryTime

protected XMLGregorianCalendar subscriptionDate

protected String subscriptionID

protected List<SubscriptionTermsType> terms

protected String username

Public Constructors

public SubscriptionInfoType ()

Public Methods

public XMLGregorianCalendar getEffectiveDate ()

Gets the value of the effectiveDate property.

Returns
  • possible object is XMLGregorianCalendar

public String getPassword ()

Gets the value of the password property.

Returns
  • possible object is String

public String getReattempt ()

Gets the value of the reattempt property.

Returns
  • possible object is String

public String getRecurrences ()

Gets the value of the recurrences property.

Returns
  • possible object is String

public String getRecurring ()

Gets the value of the recurring property.

Returns
  • possible object is String

public XMLGregorianCalendar getRetryTime ()

Gets the value of the retryTime property.

Returns
  • possible object is XMLGregorianCalendar

public XMLGregorianCalendar getSubscriptionDate ()

Gets the value of the subscriptionDate property.

Returns
  • possible object is XMLGregorianCalendar

public String getSubscriptionID ()

ID generated by PayPal for the subscriber. Character length and limitations: no limit

Returns
  • possible object is String

public List<SubscriptionTermsType> getTerms ()

Gets the value of the terms property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the terms property.

For example, to add a new item, do as follows:

    getTerms().add(newItem);
 

Objects of the following type(s) are allowed in the list SubscriptionTermsType

public String getUsername ()

Gets the value of the username property.

Returns
  • possible object is String

public void setEffectiveDate (XMLGregorianCalendar value)

Sets the value of the effectiveDate property.

Parameters
value Allowed object is XMLGregorianCalendar

public void setPassword (String value)

Sets the value of the password property.

Parameters
value Allowed object is String

public void setReattempt (String value)

Sets the value of the reattempt property.

Parameters
value Allowed object is String

public void setRecurrences (String value)

Sets the value of the recurrences property.

Parameters
value Allowed object is String

public void setRecurring (String value)

Sets the value of the recurring property.

Parameters
value Allowed object is String

public void setRetryTime (XMLGregorianCalendar value)

Sets the value of the retryTime property.

Parameters
value Allowed object is XMLGregorianCalendar

public void setSubscriptionDate (XMLGregorianCalendar value)

Sets the value of the subscriptionDate property.

Parameters
value Allowed object is XMLGregorianCalendar

public void setSubscriptionID (String value)

Sets the value of the subscriptionID property.

Parameters
value Allowed object is String

public void setUsername (String value)

Sets the value of the username property.

Parameters
value Allowed object is String