Package 

Class CardPaymentParams

    • Constructor Detail

      • CardPaymentParams

        CardPaymentParams(String checkoutId, String paymentBrand, String number, String holder, String expiryMonth, String expiryYear, String cvv)
        Creates an object representing a card transaction.
        Parameters:
        checkoutId - The checkout ID of the transaction
        paymentBrand - The payment brand, must be a card brand
        number - The card number
        holder - The name of the card holder
        expiryMonth - The expiration month of the card, it is expected in MM format
        expiryYear - The expiration year, it is expected in YYYY format
        cvv - The CVV code associated with the card
      • CardPaymentParams

        CardPaymentParams(String checkoutId, String number, String holder, String expiryMonth, String expiryYear, String cvv)
        Creates an object representing a card transaction without specifying a brand.
        Parameters:
        checkoutId - The checkout ID of the transaction
        number - The card number
        holder - The name of the card holder
        expiryMonth - The expiration month of the card, it is expected in MM format
        expiryYear - The expiration year, it is expected in YYYY format
        cvv - The CVV code associated with the card
      • CardPaymentParams

        CardPaymentParams(String checkoutId, String paymentBrand, String number, String holder, String expiryMonth, String expiryYear, String cvv, String vPlanID, String installmentAcceptedTermsVersion, String installmentTxId)
        Creates an object representing a card transaction with visa installment options.
        Parameters:
        checkoutId - The checkout ID of the transaction
        paymentBrand - The payment brand, must be a card brand
        number - The card number
        holder - The name of the card holder
        expiryMonth - The expiration month of the card, it is expected in MM format
        expiryYear - The expiration year, it is expected in YYYY format
        cvv - The CVV code associated with the card
        vPlanID - The ID field from the installment response
        installmentAcceptedTermsVersion - The Base64 encoded value of selected installment plan