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 or AUTHORIZE if the order token was generated using the v2/ API and can be CAPTURE, AUTHORIZE or ORDER if order token was generated using the v1/ API SALE intent on v1/ will be considered as a CAPTURE

    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 be nil for payments associated with the v2 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?