-
- All Implemented Interfaces:
-
com.oppwa.mobile.connect.checkout.uicomponent.PaymentDetailsUiComponentInteraction,com.oppwa.mobile.connect.checkout.uicomponent.UiComponentInteraction
public interface CardTokenUiComponentInteraction implements PaymentDetailsUiComponentInteractionProvides methods to interact with CardTokenUiComponent.
-
-
Method Summary
Modifier and Type Method Description abstract StringgetBrand()Returns the card token brand. abstract CardgetCard()Returns the card token details. abstract Array<Integer>getInstallmentOptions()Returns the list of installment options from the checkout settings. abstract voidsetNumberOfInstallments(intĀ numberOfInstallments)Sets the number of installments. -
-
Method Detail
-
getCard
@NonNull() abstract Card getCard()
Returns the card token details. It contains the last 4 digits of the card number, card expiry date and optionally the card holder.
-
getInstallmentOptions
@NonNull() abstract Array<Integer> getInstallmentOptions()
Returns the list of installment options from the checkout settings.
-
setNumberOfInstallments
abstract void setNumberOfInstallments(intĀ numberOfInstallments)
Sets the number of installments.
- Parameters:
numberOfInstallments- The number of installments.
-
-
-
-