Class Company


  • public class Company
    extends Object
    Company
    • Constructor Detail

      • Company

        public Company()
    • Method Detail

      • getLinks

        public CompanyLinks getLinks()
        Get links
        Returns:
        links
      • setLinks

        public void setLinks​(CompanyLinks links)
        links
        Parameters:
        links -
      • addDataCentersItem

        public Company addDataCentersItem​(DataCenter dataCentersItem)
      • getDataCenters

        public List<DataCenter> getDataCenters()
        List of available data centers. Adyen has several data centers around the world.In the URL that you use for making API requests, we recommend you use the live URL prefix from the data center closest to your shoppers.
        Returns:
        dataCenters
      • setDataCenters

        public void setDataCenters​(List<DataCenter> dataCenters)
        List of available data centers. Adyen has several data centers around the world.In the URL that you use for making API requests, we recommend you use the live URL prefix from the data center closest to your shoppers.
        Parameters:
        dataCenters -
      • description

        public Company description​(String description)
      • getDescription

        public String getDescription()
        Your description for the company account, maximum 300 characters
        Returns:
        description
      • setDescription

        public void setDescription​(String description)
        Your description for the company account, maximum 300 characters
        Parameters:
        description -
      • getId

        public String getId()
        The unique identifier of the company account.
        Returns:
        id
      • setId

        public void setId​(String id)
        The unique identifier of the company account.
        Parameters:
        id -
      • getName

        public String getName()
        The legal or trading name of the company.
        Returns:
        name
      • setName

        public void setName​(String name)
        The legal or trading name of the company.
        Parameters:
        name -
      • getReference

        public String getReference()
        Your reference to the account
        Returns:
        reference
      • setReference

        public void setReference​(String reference)
        Your reference to the account
        Parameters:
        reference -
      • getStatus

        public String getStatus()
        The status of the company account. Possible values: * **Active**: Users can log in. Processing and payout capabilities depend on the status of the merchant account. * **Inactive**: Users can log in. Payment processing and payouts are disabled. * **Closed**: The company account is closed and this cannot be reversed. Users cannot log in. Payment processing and payouts are disabled.
        Returns:
        status
      • setStatus

        public void setStatus​(String status)
        The status of the company account. Possible values: * **Active**: Users can log in. Processing and payout capabilities depend on the status of the merchant account. * **Inactive**: Users can log in. Payment processing and payouts are disabled. * **Closed**: The company account is closed and this cannot be reversed. Users cannot log in. Payment processing and payouts are disabled.
        Parameters:
        status -
      • equals

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

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

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

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