Developer's Guide
Mobile Payments Library Developer Guide & Reference – Blackberry OS Edition 24
Enumerated Values in the Mobile Payments Library
The enumerated values supported by various methods in the library are:
PayPalServerType
ENV_LIVE – Use the PayPal production servers.
ENV_SANDBOX
– Use the PayPal testing servers.
ENV_NONE – Do not use any PayPal servers. Operate in demonstration mode, instead.
Demonstration mode lets you view various payment flows without requiring production or
test accounts on PayPal servers. Network calls within the library are simulated by using
demonstration data held within the library.
NOTE: ENV_LIVE does not support simulators.
FieldSize
BUTTON_118x24
BUTTON_152x33
BUTTON_194x37
BUTTON_278x43
BUTTON_294x45
NOTE: If the TextType
parameter
is set to "Donate”, the word “Pay” in the above buttons is
replaced by “Donate.” The language of the button will also change based on the language
you pass into the
setLang
method or the auto detected language on the phone.
PaymentType
GOOD
PERSONAL
SERVICE