PaymentButtonContainerDelegate
@objc(PPCPaymentButtonContainerDelegate)
protocol PaymentButtonContainerDelegate
PaymentButtonContainerDelegate for managing native Smart Payment Button container eligibility and ui status
-
This function will be invoked as soon as the eligibility call is triggered and PaymentButtonContainer view is finished.
Declaration
Swift
func onFinish(fundingEligibilityState: PaymentFundingEligibilityState)Parameters
fundingEligibilityStateContains information about each one of the native smart payments button [PAYPAL], [PAYPAL_CREDIT] or [PAY_LATER] and whether the button is eligible or not indication for which button is eligible.
-
This function will be invoked as soon as the eligibility call is triggered and PaymentButtonContainer view starts loading.
Declaration
Swift
func onLoading()
View on GitHub
Install in Dash
PaymentButtonContainerDelegate Protocol Reference