PayPalCheckoutRequest

Represents the parameters that are needed to start the PayPal Checkout flow

Constructors

Link copied to clipboard
constructor(@NonNull amount: String)
Deprecated.
constructor(@NonNull amount: String, hasUserLocationConsent: Boolean)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@get:NonNull
open var intent: String
Link copied to clipboard
A non-PayPal account landing page is used.
Link copied to clipboard
A PayPal account login page is used.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open var localeCode: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val USER_ACTION_COMMIT: String = "commit"
Shows a deterministic call-to-action.
Link copied to clipboard
Shows the default call-to-action text on the PayPal Express Checkout page.
Link copied to clipboard
@get:NonNull
open var userAction: String

Functions

Link copied to clipboard
open fun describeContents(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setAppLinkEnabled(appLinkEnabled: Boolean)
Optional: When set to true, the Android App Link website associated with your application will be used to return to your app from browser or app switch based payment flows.
Link copied to clipboard
Optional: The line items for this transaction.
Link copied to clipboard
open fun setShippingAddressEditable(shippingAddressEditable: Boolean)
Defaults to false.
Link copied to clipboard
open fun setShippingAddressRequired(shippingAddressRequired: Boolean)
Defaults to false.
Link copied to clipboard
open fun setUserAuthenticationEmail(@Nullable userAuthenticationEmail: String)
Optional: User email to initiate a quicker authentication flow in cases where the user has a PayPal Account with the same email.
Link copied to clipboard
open fun writeToParcel(dest: Parcel, flags: Int)