paypalnvp.profile
Class BaseProfile
java.lang.Object
paypalnvp.profile.BaseProfile
- All Implemented Interfaces:
- java.io.Serializable, Profile
public final class BaseProfile
- extends java.lang.Object
- implements Profile
Represents paypal user - his/her password, user name etc.
BaseProfile builder for instatiating this class. Example:
BaseProfile usr = new BaseProfile.Builder(userName, pass).signature(sign).build();
- See Also:
- Serialized Form
Nested Class Summary |
static class |
BaseProfile.Builder
Builder class that constructs instance of BaseProfile class. |
Method Summary |
java.util.Map<java.lang.String,java.lang.String> |
getNVPMap()
Creates and returns part of the nvp (name value pair) containing user
name, password, signature etc. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
getNVPMap
public java.util.Map<java.lang.String,java.lang.String> getNVPMap()
- Description copied from interface:
Profile
- Creates and returns part of the nvp (name value pair) containing user
name, password, signature etc. (obtained from paypal)
- Specified by:
getNVPMap
in interface Profile
- Returns:
- user part of the nvp request as a Map
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object