PayPalButtonLabel

Defines the labels available for payment buttons. If no label is provided then it will default to PAYPAL which will not display a label and will only display the PayPal wordmark. For other labels they will have the label value itself along with a position either at the start or the end of the button.

Entries

Link copied to clipboard

Label for PayPal text

Link copied to clipboard

Label for Checkout text

Link copied to clipboard

Label for Buy Now text

Link copied to clipboard

Label for Pay text

Link copied to clipboard

Label for Pay Later text

Types

Link copied to clipboard
object Companion
Link copied to clipboard

Defines at what position a label is displayed. A label can either be positioned at the start or end of a button.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val value: Int

Functions

Link copied to clipboard
fun retrieveLabel(context: Context): String?
Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.