paypalnvp.request
Class ManageRecurringPaymentsProfileStatus
java.lang.Object
paypalnvp.request.ManageRecurringPaymentsProfileStatus
- All Implemented Interfaces:
- java.io.Serializable, Request
public final class ManageRecurringPaymentsProfileStatus
- extends java.lang.Object
- implements Request
- See Also:
- Serialized Form
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 |
java.util.Map<java.lang.String,java.lang.String> |
getNVPResponse()
Return response from paypal. |
void |
setNote(java.lang.String note)
|
void |
setNVPResponse(java.util.Map<java.lang.String,java.lang.String> nvpResponse)
Setter for nvp (name value pair) response |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ManageRecurringPaymentsProfileStatus
public ManageRecurringPaymentsProfileStatus(java.lang.String profileId,
ManageRecurringPaymentsProfileStatus.Action action)
throws java.lang.IllegalArgumentException
- Parameters:
profileId
- Recurring payments profile ID returned in the
CreateRecurringPaymentsProfile response. Character
length and limitations: 14 single-byte alphanumeric
characters. 19 character profile IDs are supported for
compatibility with previous versions of the PayPal API.action
- The action to be performed to the recurring payments
profile.
- Throws:
java.lang.IllegalArgumentException
setNote
public void setNote(java.lang.String note)
- Parameters:
note
- The reason for the change in status. For profiles created
using Express Checkout, this message will be included in
the email notification to the buyer when the status of the
profile is successfully changed, and can also be seen by
both you and the buyer on the Status History page of the
PayPal account.
getNVPRequest
public java.util.Map<java.lang.String,java.lang.String> getNVPRequest()
- Description copied from interface:
Request
- Creates and returns part of the nvp (name value pair) request containing
request values
- Specified by:
getNVPRequest
in interface Request
- Returns:
- part of the nvp request as a Map
setNVPResponse
public void setNVPResponse(java.util.Map<java.lang.String,java.lang.String> nvpResponse)
- Description copied from interface:
Request
- Setter for nvp (name value pair) response
- Specified by:
setNVPResponse
in interface Request
getNVPResponse
public java.util.Map<java.lang.String,java.lang.String> getNVPResponse()
- Description copied from interface:
Request
- Return response from paypal. If response is not set/received returns
empty Map.
- Specified by:
getNVPResponse
in interface Request
- Returns:
- response from paypal as a Map
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object