Class CreateOrUpdateCompanyRequest

java.lang.Object
com.intercom.api.resources.companies.requests.CreateOrUpdateCompanyRequest

public final class CreateOrUpdateCompanyRequest extends Object
  • Method Details

    • getName

      public Optional<String> getName()
      Returns:
      The name of the Company
    • getCompanyId

      public Optional<String> getCompanyId()
      Returns:
      The company id you have defined for the company. Can't be updated
    • getPlan

      public Optional<String> getPlan()
      Returns:
      The name of the plan you have associated with the company.
    • getSize

      public Optional<Integer> getSize()
      Returns:
      The number of employees in this company.
    • getWebsite

      public Optional<String> getWebsite()
      Returns:
      The URL for this company's website. Please note that the value specified here is not validated. Accepts any string.
    • getIndustry

      public Optional<String> getIndustry()
      Returns:
      The industry that this company operates in.
    • getCustomAttributes

      public Optional<Map<String,Object>> getCustomAttributes()
      Returns:
      A hash of key/value pairs containing any other data about the company you want Intercom to store.
    • getRemoteCreatedAt

      public Optional<Integer> getRemoteCreatedAt()
      Returns:
      The time the company was created by you.
    • getMonthlySpend

      public Optional<Integer> getMonthlySpend()
      Returns:
      How much revenue the company generates for your business. Note that this will truncate floats. i.e. it only allow for whole integers, 155.98 will be truncated to 155. Note that this has an upper limit of 2**31-1 or 2147483647..
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object
    • builder

      public static CreateOrUpdateCompanyRequest.Builder builder()