PayPalWebCheckoutClient

Use this client to approve an order with a PayPalWebCheckoutRequest.

Constructors

Link copied to clipboard
constructor(context: Context, configuration: CoreConfig, urlScheme: String)

Create a new instance of PayPalWebCheckoutClient.

constructor(context: Context, configuration: CoreConfig)

Properties

Link copied to clipboard

Capture instance state for later restoration. This can be useful for recovery during a process kill.

Functions

Link copied to clipboard

After a merchant app has re-entered the foreground following an auth challenge (@see PayPalWebCheckoutClient.start), call this method to see if a user has successfully authorized a PayPal account as a payment source.

Link copied to clipboard

After a merchant app has re-entered the foreground following an auth challenge (@see PayPalWebCheckoutClient.vault), call this method to see if a user has successfully authorized a PayPal account for vaulting.

Link copied to clipboard
fun restore(instanceState: String)

Restore a feature client using instance state. @see instanceState

Link copied to clipboard

Confirm PayPal payment source for an order.

Confirm PayPal payment source for an order with callback.

Link copied to clipboard

Vault PayPal as a payment method.

Vault PayPal as a payment method with callback. Network operations are handled automatically by the Http layer.