ApprovalData
@objc(PPCApprovalData)
@objcMembers
class ApprovalData
extension ApprovalData : CVarArg, CustomDebugStringConvertible, CustomStringConvertible, Equatable, Hashable, NSObjectProtocol
Data describing an approved order
-
The billing agreement token
Declaration
Swift
let billingToken: String?
-
Buyer information
Declaration
Swift
let buyer: User?
-
Order information
Declaration
Swift
let cart: Cart?
-
Container for identifiers associated with PayPal domain specific events
Declaration
Swift
let correlationIDs: CorrelationIDs
-
The payment token associated with the order, also known as the order id.
Declaration
Swift
let ecToken: String
-
Intent, this will be
CAPTURE
orAUTHORIZE
if the order token was generated using thev2/
API and can beCAPTURE
,AUTHORIZE
orORDER
if order token was generated using thev1/
APISALE
intent onv1/
will be considered as aCAPTURE
Declaration
Swift
let intent: ApprovalOrderIntent
-
Payer ID is also the user id associated with the transaction.
Declaration
Swift
let payerID: String
-
Unique identifier for a payment. Associated with tokens generated with the
v1/payments
API. Will benil
for payments associated with thev2
API.Declaration
Swift
let paymentID: String?
-
Return URL can be used to redirect control back to the merchant
Declaration
Swift
let returnURL: URL?
-
Data describing an approved vault flow
Declaration
Swift
let vaultData: VaultData?