Developer's Guide

Mobile Payments Library Developer Guide and Reference Android OS Edition July 2011 25
PayPalAdvancedPayment
This object is passed to the library through extra data in the Intent when the Library Activity is
started. This object contains all the values for a payment
Method
Description
setCurrencyType(String
currency)
(Required) - Currency code for the payment. Defaults to USD if
not set.
setReceivers(ArrayList<Pa
yPalReceiverDetails>
receivers)
or
getReceivers()
(Required) Your payment must have at minimum one receiver.
The receiver itself should be set up before adding it to the
payment. See Receiver below for more details.
The getReceivers() call can be used to alter the current ArrayList.
setIpnUrl(String IPNRUL)
(Optional) The IPN URL
setMemo(String memo)
(Optional) Note for the payment.