Package 

Interface CardTokenUiComponentInteraction

  • All Implemented Interfaces:
    com.oppwa.mobile.connect.checkout.uicomponent.PaymentDetailsUiComponentInteraction , com.oppwa.mobile.connect.checkout.uicomponent.UiComponentInteraction

    
    public interface CardTokenUiComponentInteraction
     implements PaymentDetailsUiComponentInteraction
                        

    Provides methods to interact with CardTokenUiComponent.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract String getBrand() Returns the card token brand.
      abstract Card getCard() Returns the card token details.
      abstract Array<Integer> getInstallmentOptions() Returns the list of installment options from the checkout settings.
      abstract void setNumberOfInstallments(intĀ numberOfInstallments) Sets the number of installments.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • 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.

      • setNumberOfInstallments

         abstract void setNumberOfInstallments(intĀ numberOfInstallments)

        Sets the number of installments.

        Parameters:
        numberOfInstallments - The number of installments.