Package 

Class GooglePayPaymentParams

    • Constructor Detail

      • GooglePayPaymentParams

        GooglePayPaymentParams(String checkoutId, String paymentToken, String cardBrand)
        Creates an object representing the GOOGLEPAY payment parameters.
        Parameters:
        checkoutId - The checkout ID of the transaction.
        paymentToken - The payment token received from Google Payment API.
        cardBrand - The actual card brand, should be taken from com.google.android.gms.wallet.PaymentData.
      • GooglePayPaymentParams

        GooglePayPaymentParams(String checkoutId, String paymentToken, String cardBrand, BillingAddress billingAddress, Customer customer)
        Creates an object representing the GOOGLEPAY payment parameters.
        Parameters:
        checkoutId - The checkout ID of the transaction.
        paymentToken - The payment token received from Google Payment API.
        cardBrand - The actual card brand, should be taken from com.google.android.gms.wallet.PaymentData.
        billingAddress - The Billing Address details received from Google Payment API.
        customer - Customer details like name, phone and email received from Google Payment API.