Class Customer


public class Customer
extends ResourceBaseWithLinks<StandardResourceLinks>
Base customer profile for both Company, Billing profiles
  • Constructor Details

  • Method Details

    • getId

      public String getId()
      Gets the identifier.
      Returns:
      The customer identifier.
    • setId

      public void setId​(String value)
      Sets the identifier.
      Parameters:
      value - The customer identifier.
    • getCommerceId

      public String getCommerceId()
      Gets the commerce identifier.
      Returns:
      The commerce identifier.
    • setCommerceId

      public void setCommerceId​(String value)
      Sets the commerce identifier
      Parameters:
      value - The commerce identifier.
    • getCompanyProfile

      public CustomerCompanyProfile getCompanyProfile()
      Gets the company profile.
      Returns:
      The compnay profile.
    • setCompanyProfile

      public void setCompanyProfile​(CustomerCompanyProfile value)
      Sets the company profile.
      Parameters:
      value - The company profile.
    • getBillingProfile

      public CustomerBillingProfile getBillingProfile()
      Gets the billing profile.
      Returns:
      The billing profile.
    • setBillingProfile

      public void setBillingProfile​(CustomerBillingProfile value)
      Sets the billing profile.
      Parameters:
      value - The billing profile.
    • getRelationshipToPartner

      public CustomerPartnerRelationship getRelationshipToPartner()
      Gets the relationship to the partner.
      Returns:
      The relationship to the partner.
    • setRelationshipToPartner

      public void setRelationshipToPartner​(CustomerPartnerRelationship value)
      Sets the relationship to the partner.
      Parameters:
      value - The relationship to the partner.
    • getAllowDelegatedAccess

      public Boolean getAllowDelegatedAccess()
      Gets a flag indicating whether allow delegated access is enabled or not.
      Returns:
      A flag indicating whether allow delegated access is enabled or not.
    • setAllowDelegatedAccess

      public void setAllowDelegatedAccess​(Boolean value)
      Sets a flag indicating whether allow delegated access is enabled or not.
      Parameters:
      value - A flag indicating whether allow delegated access is enabled or not.
    • getUserCredentials

      public UserCredentials getUserCredentials()
      Gets the user credentials.
      Returns:
      The user credentials.
    • setUserCredentials

      public void setUserCredentials​(UserCredentials value)
      Sets the user credentials.
      Parameters:
      value - The user credentials.
    • getCustomDomains

      public List<String> getCustomDomains()
      Gets the custom domains.
      Returns:
      The custom domains.
    • setCustomDomains

      public void setCustomDomains​(List<String> value)
      Sets the custom domains.
      Parameters:
      value - The custom domains.
    • getAssociatedPartnerId

      public String getAssociatedPartnerId()
      Gets the indirect reseller associated to this customer account.
      Returns:
      The indirect reseller associated to this customer account.
    • setAssociatedPartnerId

      public void setAssociatedPartnerId​(String value)
      Sets the indirect reseller associated to this customer account. This value can be set only by indirect CSP partners.
      Parameters:
      value - The indirect reseller associated to this customer account.