Class CheckoutSessionThreeDS2RequestData


  • public class CheckoutSessionThreeDS2RequestData
    extends Object
    CheckoutSessionThreeDS2RequestData
    • Constructor Detail

      • CheckoutSessionThreeDS2RequestData

        public CheckoutSessionThreeDS2RequestData()
    • Method Detail

      • getHomePhone

        public Phone getHomePhone()
        Get homePhone
        Returns:
        homePhone
      • setHomePhone

        public void setHomePhone​(Phone homePhone)
        homePhone
        Parameters:
        homePhone -
      • getMobilePhone

        public Phone getMobilePhone()
        Get mobilePhone
        Returns:
        mobilePhone
      • setMobilePhone

        public void setMobilePhone​(Phone mobilePhone)
        mobilePhone
        Parameters:
        mobilePhone -
      • getThreeDSRequestorChallengeInd

        public CheckoutSessionThreeDS2RequestData.ThreeDSRequestorChallengeIndEnum getThreeDSRequestorChallengeInd()
        Indicates whether a challenge is requested for this transaction. Possible values: * **01** — No preference * **02** — No challenge requested * **03** — Challenge requested (3DS Requestor preference) * **04** — Challenge requested (Mandate) * **05** — No challenge (transactional risk analysis is already performed) * **06** — Data Only
        Returns:
        threeDSRequestorChallengeInd
      • setThreeDSRequestorChallengeInd

        public void setThreeDSRequestorChallengeInd​(CheckoutSessionThreeDS2RequestData.ThreeDSRequestorChallengeIndEnum threeDSRequestorChallengeInd)
        Indicates whether a challenge is requested for this transaction. Possible values: * **01** — No preference * **02** — No challenge requested * **03** — Challenge requested (3DS Requestor preference) * **04** — Challenge requested (Mandate) * **05** — No challenge (transactional risk analysis is already performed) * **06** — Data Only
        Parameters:
        threeDSRequestorChallengeInd -
      • getWorkPhone

        public Phone getWorkPhone()
        Get workPhone
        Returns:
        workPhone
      • setWorkPhone

        public void setWorkPhone​(Phone workPhone)
        workPhone
        Parameters:
        workPhone -
      • equals

        public boolean equals​(Object o)
        Return true if this CheckoutSessionThreeDS2RequestData object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

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

        public static CheckoutSessionThreeDS2RequestData fromJson​(String jsonString)
                                                           throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of CheckoutSessionThreeDS2RequestData given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of CheckoutSessionThreeDS2RequestData
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to CheckoutSessionThreeDS2RequestData
      • toJson

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of CheckoutSessionThreeDS2RequestData to an JSON string
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException