PurchaseFormFetchDelegate

public protocol PurchaseFormFetchDelegate : AnyObject

Notified of product form fetch results

  • Called when there was an error processing the order

    • error: The Error representing the reason for failure. No specific errors to look for here. Best course of action is to just display a generic error message.

    Declaration

    Swift

    func purchaseFormFetchDidFailWith(_ error: Error)
  • Called when the booking form was fetched successfully

    Declaration

    Swift

    func purchaseFormFetchDidSucceedWith(_ purchaseForm: PurchaseForm)