public class SavedCardTestFlow extends TestFlow
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PAYER_1_CARD_VISA_ID |
static java.lang.String |
PAYER_1_CARD_VISA_LAST_FOUR |
static java.lang.String |
PAYER_1_WITH_CARDS_ACCESS_TOKEN |
Constructor and Description |
---|
SavedCardTestFlow(MercadoPagoCheckout mercadoPagoCheckout,
android.content.Context context) |
SavedCardTestFlow(java.lang.String paymentTypeId,
android.content.Context context) |
SavedCardTestFlow(java.lang.String cardId,
java.lang.String paymentMethodId,
android.content.Context context) |
Modifier and Type | Method and Description |
---|---|
CongratsPage |
runDefaultCardIdPaymentFlow() |
CongratsPage |
runInvalidDefaultCardIdPaymentFlow() |
CongratsPage |
runNewCardPaymentFlow(Card card) |
CongratsPage |
runSavedCardFlowWithEsc(java.lang.String lastFourDigits) |
CongratsPage |
runSavedCardFlowWithoutEsc(java.lang.String lastFourDigits) |
startCheckout
public static final java.lang.String PAYER_1_WITH_CARDS_ACCESS_TOKEN
public static final java.lang.String PAYER_1_CARD_VISA_ID
public static final java.lang.String PAYER_1_CARD_VISA_LAST_FOUR
public SavedCardTestFlow(@NonNull java.lang.String cardId, @NonNull java.lang.String paymentMethodId, @NonNull android.content.Context context)
public SavedCardTestFlow(java.lang.String paymentTypeId, @NonNull android.content.Context context)
public SavedCardTestFlow(@NonNull MercadoPagoCheckout mercadoPagoCheckout, @NonNull android.content.Context context)
public CongratsPage runDefaultCardIdPaymentFlow()
public CongratsPage runInvalidDefaultCardIdPaymentFlow()
public CongratsPage runSavedCardFlowWithoutEsc(@NonNull java.lang.String lastFourDigits)
public CongratsPage runSavedCardFlowWithEsc(@NonNull java.lang.String lastFourDigits)
public CongratsPage runNewCardPaymentFlow(@NonNull Card card)