Package-level declarations

Types

Link copied to clipboard
class PayLaterButton @JvmOverloads constructor(context: Context, attributeSet: AttributeSet? = null, defStyleAttr: Int = 0) : PaymentButton<PayPalButtonColor>

PayLaterButton provides a PayPal PayLater button with the ability to modify the color, shape, and size.

Link copied to clipboard
abstract class PaymentButton<C : PaymentButtonColor> @JvmOverloads constructor(context: Context, attributeSet: AttributeSet? = null, defStyleAttr: Int = 0) : LinearLayout
Link copied to clipboard

PaymentButtonColor provides a structure for all colors that can be used within a PaymentButton.

Link copied to clipboard

ColorLuminance defines the intensity of the light emitted by a given color with simplified DARK and LIGHT values.

Link copied to clipboard

Defines the shapes available for payment buttons. If no shape is provided then the default button style will be retrieved from the applications root style.

Link copied to clipboard

Defines the sizes available for payment buttons. If no size is provided then it will default to medium. Button size is used for setting properties like minimum width and height to allow for the use of wrap_content where necessary along with modifying the size of the wordmark and adjusting padding within the button.

Link copied to clipboard
open class PayPalButton @JvmOverloads constructor(context: Context, attributeSet: AttributeSet? = null, defStyleAttr: Int = 0) : PaymentButton<PayPalButtonColor>

PayPalButton provides a PayPal button with the ability to modify the color, label, shape, and size.

Link copied to clipboard

Defines the colors available for PayPal buttons.

Link copied to clipboard

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.

Link copied to clipboard
class PayPalCreditButton @JvmOverloads constructor(context: Context, attributeSet: AttributeSet? = null, defStyleAttr: Int = 0) : PaymentButton<PayPalCreditButtonColor>

PayPalCreditButton provides a PayPal Credit button with the ability to modify the color, shape, and size.

Link copied to clipboard

Defines the colors available for PayPal Credit buttons.