PaymentOptionsFetchDelegate
public protocol PaymentOptionsFetchDelegate : AnyObject
Notified of the PaymentOptions fetch
-
Called when payment options were fetched successfuly
Declaration
Swift
func fetchPaymentOptionsDidSucceedWith(_ result: [PaymentOption])
Parameters
result
An array of fetched
PaymentOption
s -
Called when there was an error fetching the payment options.
Declaration
Swift
func fetchPaymentOptionsDidFailWith(_ error: Error)
Parameters
error
The
Error
representing the reason for failure