GiniPayBusinessDelegate
public protocol GiniPayBusinessDelegate : AnyObject
Delegate to inform about the current status of the Gini Pay Business SDK. Makes use of callback for handling payment request creation.
-
Called when the payment request was successfully created
Declaration
Swift
func didCreatePaymentRequest(paymentRequestID: String)Parameters
paymentRequestIDId of created payment request.
-
Error handling. If delegate is set and error is going to be handled internally the method should return true. If error hadling is planned to be custom return false for specific error case.
Declaration
Swift
func shouldHandleErrorInternally(error: GiniPayBusinessError) -> BoolParameters
errorerror which will be handled.
View on GitHub
GiniPayBusinessDelegate Protocol Reference