Developer's Guide

24 July 2011 PayPal Mobile Payments Developer Guide and Reference Android OS Edition
Description
MEPReceiverAmounts
Similarly to MEPAmounts and MEPAddress, this object is used in dynamic amount calculation
for advanced payments.
Description
Amounts for this receiver.
The receiver for this amount calculation.
PayPalPayment
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.
setSubtotal(BigDecimal
amount)
(Required) Subtotal for the payment.
setRecipient(String
recipient)
(Required) - The email address or phone number of the
payment‟s recipient.
setMerchantName(String
name)
(Optional) - Displayed at the top of the library screen. If not set,
displays the recipient email or phone number string instead.
setInvoiceData(PayPalInvo
iceData)
(Optional) The InvoiceData holds information such as tax and
shipping amounts as well as an optional breakdown of the items
included.
setCustomId(String
customId)
(Optional) The merchant's custom ID.
setIpnUrl(String IPNURL)
(Optional) The IPN URL.
setDescription(String
description)
(Optional) - Description of the item. Defaults to “Item” if not set.
setMemo(String memo)
(Optional) Note for the payment.