paypalnvp.fields
Class RecurringPaymentsProfileDetails

java.lang.Object
  extended by paypalnvp.fields.RecurringPaymentsProfileDetails
All Implemented Interfaces:
java.io.Serializable, RequestFields

public final class RecurringPaymentsProfileDetails
extends java.lang.Object
implements RequestFields

Recurring Payments Profile Details Fields

See Also:
Serialized Form

Constructor Summary
RecurringPaymentsProfileDetails(java.util.Date profileStartDate)
           
 
Method Summary
 java.util.Map<java.lang.String,java.lang.String> getNVPRequest()
          Creates and returns part of the nvp (name value pair) request containing request values
 void setProfileReference(java.lang.String referenceNumber)
           
 void setSubscriberName(java.lang.String name)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RecurringPaymentsProfileDetails

public RecurringPaymentsProfileDetails(java.util.Date profileStartDate)
Parameters:
profileStartDate - The date when billing for this profile begins. Must be a valid date, in UTC/GMT format. Note: The profile may take up to 24 hours for activation.
Method Detail

setSubscriberName

public void setSubscriberName(java.lang.String name)
                       throws java.lang.IllegalArgumentException
Parameters:
name - Full name of the person receiving the product or service paid for by the recurring payment. If not present, the name in the buyer's PayPal account is used. Character length and limitations: 32 single-byte characters.
Throws:
java.lang.IllegalArgumentException

setProfileReference

public void setProfileReference(java.lang.String referenceNumber)
                         throws java.lang.IllegalArgumentException
Parameters:
referenceNumber - The merchant’s own unique reference or invoice number. Character length and limitations: 127 single-byte alphanumeric characters.
Throws:
java.lang.IllegalArgumentException

getNVPRequest

public java.util.Map<java.lang.String,java.lang.String> getNVPRequest()
Description copied from interface: RequestFields
Creates and returns part of the nvp (name value pair) request containing request values

Specified by:
getNVPRequest in interface RequestFields
Returns:
part of the nvp request as a Map

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object