Developer's Guide

Mobile Payments Library Developer Guide & Reference Blackberry OS Edition 21
PayPalPayment
This object is passed to the library when the specific checkout method
(
checkoutSimplePayment
,
checkoutPreapprovalPayment
, etc.) is called. This object
contains all the values for a payment.
Method Description
setCurrencyType(String
currencyType)
setSubtotal(BigDecimal
subtotal)
setRecipient
(String recipient)
setMerchantName(String
name)
setInvoiceData(PayPalInvo
iceData invoiceData)
setCustomID(String
customID)
(Optional) Currency code for the payment. Defaults to USD if
not set.
(Required) Subtotal for the payment.
(Required) The email address or phone number of
the
payment’s
recipient.
(Optional) Displayed at the top of the library screen. If not
set, displays the recipient email or phone number string instead.
(Optional) Holds information such as tax and shipping
amounts as well as an optional breakdown of the items
included.
(Optional) The merchant's custom ID. This can be used as a
pass through field which will later be available on the IPN.
setIpnUrl(String IpnUrl)
(Optional) The IPN URL.
setDescription(String
description)
(Optional) Description of the item. Defaults to Itemif not set.