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
CAPTUREorAUTHORIZEif the order token was generated using thev2/API and can beCAPTURE,AUTHORIZEorORDERif order token was generated using thev1/APISALEintent onv1/will be considered as aCAPTUREDeclaration
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/paymentsAPI. Will benilfor payments associated with thev2API.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?
View on GitHub
Install in Dash
ApprovalData Class Reference