PaymentFlowConfiguration

public final class PaymentFlowConfiguration implements Parcelable

Configuration for the payment flow.

Constructors

Link copied to clipboard
public PaymentFlowConfiguration PaymentFlowConfiguration(Boolean shouldShowReviewFragment, Boolean shouldHandleErrorsInternally, Boolean isAmountFieldEditable, Boolean checkForReturningUser, Boolean paymentComponentOnTwoRows)

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 GiniMerchant 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
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 GiniMerchant 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