Class Company


  • public class Company
    extends Object
    Company
    • Constructor Detail

      • Company

        public Company()
    • Method Detail

      • links

        public Company links​(CompanyLinks links)
        links
        Parameters:
        links -
        Returns:
        the current Company instance, allowing for method chaining
      • getLinks

        public CompanyLinks getLinks()
        links
        Returns:
        links
      • setLinks

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

        public Company dataCenters​(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 -
        Returns:
        the current Company instance, allowing for method chaining
      • 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)
        Your description for the company account, maximum 300 characters
        Parameters:
        description -
        Returns:
        the current Company instance, allowing for method chaining
      • 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 -
      • id

        public Company id​(String id)
        The unique identifier of the company account.
        Parameters:
        id -
        Returns:
        the current Company instance, allowing for method chaining
      • 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 -
      • name

        public Company name​(String name)
        The legal or trading name of the company.
        Parameters:
        name -
        Returns:
        the current Company instance, allowing for method chaining
      • 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 -
      • reference

        public Company reference​(String reference)
        Your reference to the account
        Parameters:
        reference -
        Returns:
        the current Company instance, allowing for method chaining
      • getReference

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

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

        public Company status​(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 -
        Returns:
        the current Company instance, allowing for method chaining
      • 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