Developer's Guide

22 August 2012 PayPal Mobile Payments Developer Guide and Reference – iOS Edition
PayPalPayment
This object is passed to the library in the Checkout method. This object contains all the values
for a payment.
Property Description
subTotal
(Required) NSDecimalNumber* the amount of the payment
(subtotal).
paymentType
(Optional) Purpose of payment. Defaults to TYPE_NOT_SET.
paymentSubType
(Optional) Subtype of the “TYPE_SERVICEpaymentType.
Applicable only if you have been approved for special pricing plans.
Defaults to SUBTYPE_NOT_SET.
recipient
(Required) The email address or phone number of the payment’s
recipient. When specifying a number, include the country code; for
example, “+14029352050”.
Character length and limits: 255 characters.
paymentCurrency
(Optional) Currency code for the payment. Defaults to @”USD”. Can
be nil.
invoiceData
(Optional) PayPalInvoiceData* that contains information
regarding shipping, tax, and a breakdown of the items in the payment.
description
(Optional) Payment note.
customId
(Optional) Merchant's custom ID.
merchantName
(Optional) Displayed at the top of the library screen. If left nil, it
displays as blank.
ipnUrl
(Optional) The URL to be used for instant payment notification.
memo
(Optional)
NOTE: The recipient should be a registered user on an existing PayPal Sandbox or Live account,
depending on the environment. The recipient does not need to be registered for personal
payments.