PaymentFlowConfiguration

public final class PaymentFlowConfiguration implements Parcelable

Configuration for the payment flow.

Constructors

Link copied to clipboard
public PaymentFlowConfiguration PaymentFlowConfiguration(Boolean shouldShowReviewBottomDialog, Boolean shouldHandleErrorsInternally, Boolean showCloseButtonOnReviewFragment)

Functions

Link copied to clipboard
public abstract Integer describeContents()
Link copied to clipboard

If set to true, the errors will be handled internally and snackbars will be shown for errors. If set to false, errors will be ignored by the PaymentFragment and the ReviewBottomSheet. In this case the flows exposed by GiniHealth should be observed for errors.

Link copied to clipboard

If set to true, the ReviewBottomSheet will be shown before initiating payment. If set to false, the payment request process will be executed under the hood before redirecting to the selected payment provider

Link copied to clipboard

Set to true to show a close button.

Link copied to clipboard
public abstract Unit writeToParcel(Parcel p0, Integer p1)

Properties

Link copied to clipboard

If set to true, the errors will be handled internally and snackbars will be shown for errors. If set to false, errors will be ignored by the PaymentFragment and the ReviewBottomSheet. In this case the flows exposed by GiniHealth should be observed for errors.

Link copied to clipboard

If set to true, the ReviewBottomSheet will be shown before initiating payment. If set to false, the payment request process will be executed under the hood before redirecting to the selected payment provider

Link copied to clipboard

Set to true to show a close button.