Approval

@objc(PPCApproval)
@objcMembers
class Approval
extension Approval : CVarArg, CustomDebugStringConvertible, CustomStringConvertible, Equatable, Hashable, NSObjectProtocol

Encapsulates metadata after CheckoutConfig.onApprove is called. This meta information can be utilized to properly capture an order.

  • Actions to handle capturing or authorizing an approved payment. These could be used in place of server side functions to do the same.

    Declaration

    Swift

    let actions: ApprovalActions
  • Data associated with the approved payment

    Declaration

    Swift

    let data: ApprovalData