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