PayLaterButton
PayLaterButton provides a PayPal PayLater button with the ability to modify the color, shape, and size.
Setting up PayLaterButton within an XML layout:
<PayPalLater
android:id="@+id/payLaterButton"
android:layout_width="match_parent"
android:layout_height="wrap_content" />Optionally you can provide the following attributes: paypal_color, paypal_label, payment_button_shape, and payment_button_size.
Constructors
Properties
Updates the color of the Payment Button with the provided PayPalButtonColor.
Updates the corner radius of the button
Provides the label of the PayLaterButton. This value will always be PaymentButtonFundingType.PAY_LATER, attempting to set the value to anything else will result in that value being ignored.
The prefix text which is displayed before the button's wordmark.
Visibility of the prefix text which is displayed before the button's wordmark.
Updates the shape of the Payment Button with the provided PaymentButtonShape and defaults to ROUNDED if one is not provided.
Updates the size of the Payment Button with the provided PaymentButtonSize.
Value of the suffix text which is displayed after the button's wordmark.
Visibility of the suffix text which is displayed before the button's wordmark.