Class AffirmDetails


  • public class AffirmDetails
    extends Object
    AffirmDetails
    • Constructor Detail

      • AffirmDetails

        public AffirmDetails()
    • Method Detail

      • checkoutAttemptId

        public AffirmDetails checkoutAttemptId​(String checkoutAttemptId)
        The checkout attempt identifier.
        Parameters:
        checkoutAttemptId -
        Returns:
        the current AffirmDetails instance, allowing for method chaining
      • getCheckoutAttemptId

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

        public void setCheckoutAttemptId​(String checkoutAttemptId)
        The checkout attempt identifier.
        Parameters:
        checkoutAttemptId -
      • equals

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

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

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

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