|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpaypalnvp.fields.UserSelectedOptions
public final class UserSelectedOptions
User Selected Options Type Fields
Nested Class Summary | |
---|---|
static class |
UserSelectedOptions.ShippingCalculation
How the options that were presented to the user were determined |
Constructor Summary | |
---|---|
UserSelectedOptions()
|
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 |
setDefaultShippingOption(boolean option)
Is true if the buyer chose the default shipping option. |
void |
setInsurance(boolean insurance)
The Yes/No option that you chose for insurance. |
void |
setShippingAmount(java.lang.String amount)
The shipping amount that was chosen by the buyer Limitations: Must not exceed $10,000 USD in any currency. |
void |
setShippingCalculation(UserSelectedOptions.ShippingCalculation calculation)
Describes how the options that were presented to the user were determined. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public UserSelectedOptions()
Method Detail |
---|
public void setShippingCalculation(UserSelectedOptions.ShippingCalculation calculation)
calculation
- public void setInsurance(boolean insurance)
insurance
- public void setDefaultShippingOption(boolean option)
option
- public void setShippingAmount(java.lang.String amount) throws java.lang.IllegalArgumentException
amount
-
java.lang.IllegalArgumentException
public java.util.Map<java.lang.String,java.lang.String> getNVPRequest()
RequestFields
getNVPRequest
in interface RequestFields
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |