PaymentsView

public class PaymentsView : APIView

Undocumented

  • Request a list of available products for purchase for the given app

    Declaration

    Swift

    @discardableResult
    public func products(for app: String = "", completion: @escaping Zone5.ResultHandler<Products>) -> PendingRequest?

    Parameters

    app

    Return all products available for this app

    completion

    Function called with the Products results matching the given criteria, or the error if one occurred.

  • Verify payment by sending up the receipt

    Declaration

    Swift

    @discardableResult
    public func verify(for app: String = "", with receipt: PaymentVerification, completion: @escaping Zone5.ResultHandler<PaymentVerification>) -> PendingRequest?

    Parameters

    app

    app that this purchase relates to

    completion

    Function called with the Products results matching the given criteria, or the error if one occurred.