Class VisaCheckoutDetails


  • public class VisaCheckoutDetails
    extends Object
    VisaCheckoutDetails
    • Constructor Detail

      • VisaCheckoutDetails

        public VisaCheckoutDetails()
    • Method Detail

      • getCheckoutAttemptId

        public String getCheckoutAttemptId()
        The checkout attempt identifier.
        Returns:
        checkoutAttemptId
      • setCheckoutAttemptId

        public void setCheckoutAttemptId​(String checkoutAttemptId)
      • getFundingSource

        public VisaCheckoutDetails.FundingSourceEnum getFundingSource()
        The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**.
        Returns:
        fundingSource
      • getVisaCheckoutCallId

        public String getVisaCheckoutCallId()
        The Visa Click to Pay Call ID value. When your shopper selects a payment and/or a shipping address from Visa Click to Pay, you will receive a Visa Click to Pay Call ID.
        Returns:
        visaCheckoutCallId
      • setVisaCheckoutCallId

        public void setVisaCheckoutCallId​(String visaCheckoutCallId)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • validateJsonObject

        public static void validateJsonObject​(com.google.gson.JsonObject jsonObj)
                                       throws IOException
        Validates the JSON Object and throws an exception if issues found
        Parameters:
        jsonObj - JSON Object
        Throws:
        IOException - if the JSON Object is invalid with respect to VisaCheckoutDetails
      • fromJson

        public static VisaCheckoutDetails fromJson​(String jsonString)
                                            throws IOException
        Create an instance of VisaCheckoutDetails given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of VisaCheckoutDetails
        Throws:
        IOException - if the JSON string is invalid with respect to VisaCheckoutDetails
      • toJson

        public String toJson()
        Convert an instance of VisaCheckoutDetails to an JSON string
        Returns:
        JSON string