Class AcceptTermsOfServiceRequest


  • public class AcceptTermsOfServiceRequest
    extends Object
    AcceptTermsOfServiceRequest
    • Constructor Detail

      • AcceptTermsOfServiceRequest

        public AcceptTermsOfServiceRequest()
    • Method Detail

      • acceptedBy

        public AcceptTermsOfServiceRequest acceptedBy​(String acceptedBy)
        The legal entity ID of the user accepting the Terms of Service. For organizations, this must be the individual legal entity ID of an authorized signatory for the organization. For sole proprietorships, this must be the individual legal entity ID of the owner. For individuals, this must be the individual legal entity id of either the individual, parent, or guardian.
        Parameters:
        acceptedBy -
        Returns:
        the current AcceptTermsOfServiceRequest instance, allowing for method chaining
      • getAcceptedBy

        public String getAcceptedBy()
        The legal entity ID of the user accepting the Terms of Service. For organizations, this must be the individual legal entity ID of an authorized signatory for the organization. For sole proprietorships, this must be the individual legal entity ID of the owner. For individuals, this must be the individual legal entity id of either the individual, parent, or guardian.
        Returns:
        acceptedBy
      • setAcceptedBy

        public void setAcceptedBy​(String acceptedBy)
        The legal entity ID of the user accepting the Terms of Service. For organizations, this must be the individual legal entity ID of an authorized signatory for the organization. For sole proprietorships, this must be the individual legal entity ID of the owner. For individuals, this must be the individual legal entity id of either the individual, parent, or guardian.
        Parameters:
        acceptedBy -
      • ipAddress

        public AcceptTermsOfServiceRequest ipAddress​(String ipAddress)
        The IP address of the user accepting the Terms of Service.
        Parameters:
        ipAddress -
        Returns:
        the current AcceptTermsOfServiceRequest instance, allowing for method chaining
      • getIpAddress

        public String getIpAddress()
        The IP address of the user accepting the Terms of Service.
        Returns:
        ipAddress
      • setIpAddress

        public void setIpAddress​(String ipAddress)
        The IP address of the user accepting the Terms of Service.
        Parameters:
        ipAddress -
      • equals

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

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

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

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