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)
- error: The
-
Called when the booking form was fetched successfully
- purchaseForm: Fetched
PurchaseForm
Declaration
Swift
func purchaseFormFetchDidSucceedWith(_ purchaseForm: PurchaseForm)
- purchaseForm: Fetched