Customer Class

public class Customer extends ResourceBaseWithLinks<StandardResourceLinks>

Base customer profile for both Company, Billing profiles

Constructor Summary

Constructor Description
Customer()

Method Summary

Modifier and Type Method and Description
java.lang.Boolean getAllowDelegatedAccess()

Gets a flag indicating whether allow delegated access is enabled or not.

java.lang.String getAssociatedPartnerId()

Gets the indirect reseller associated to this customer account.

CustomerBillingProfile getBillingProfile()

Gets the billing profile.

java.lang.String getCommerceId()

Gets the commerce identifier.

CustomerCompanyProfile getCompanyProfile()

Gets the company profile.

java.util.List<java.lang.String> getCustomDomains()

Gets the custom domains.

java.lang.String getId()

Gets the identifier.

CustomerPartnerRelationship getRelationshipToPartner()

Gets the relationship to the partner.

UserCredentials getUserCredentials()

Gets the user credentials.

void setAllowDelegatedAccess(Boolean value)

Sets a flag indicating whether allow delegated access is enabled or not.

void setAssociatedPartnerId(String value)

Sets the indirect reseller associated to this customer account.

void setBillingProfile(CustomerBillingProfile value)

Sets the billing profile.

void setCommerceId(String value)

Sets the commerce identifier

void setCompanyProfile(CustomerCompanyProfile value)

Sets the company profile.

void setCustomDomains(List<String> value)

Sets the custom domains.

void setId(String value)

Sets the identifier.

void setRelationshipToPartner(CustomerPartnerRelationship value)

Sets the relationship to the partner.

void setUserCredentials(UserCredentials value)

Sets the user credentials.

Inherited Members

ResourceBase.getAttributes() ResourceBaseWithLinks<TLinks>.getLinks() ResourceBaseWithLinks<TLinks>.setLinks(TLinks value) java.lang.Object.clone() java.lang.Object.equals(java.lang.Object) java.lang.Object.finalize() java.lang.Object.getClass() java.lang.Object.hashCode() java.lang.Object.notify() java.lang.Object.notifyAll() java.lang.Object.toString() java.lang.Object.wait() java.lang.Object.wait(long) java.lang.Object.wait(long,int)

Constructor Details

Customer

public Customer()

Method Details

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.

getAssociatedPartnerId

public String getAssociatedPartnerId()

Gets the indirect reseller associated to this customer account.

Returns:

The indirect reseller associated to this customer account.

getBillingProfile

public CustomerBillingProfile getBillingProfile()

Gets the billing profile.

Returns:

The billing profile.

getCommerceId

public String getCommerceId()

Gets the commerce identifier.

Returns:

The commerce identifier.

getCompanyProfile

public CustomerCompanyProfile getCompanyProfile()

Gets the company profile.

Returns:

The company profile.

getCustomDomains

public List getCustomDomains()

Gets the custom domains.

Returns:

The custom domains.

getId

public String getId()

Gets the identifier.

Returns:

The customer identifier.

getRelationshipToPartner

public CustomerPartnerRelationship getRelationshipToPartner()

Gets the relationship to the partner.

Returns:

The relationship to the partner.

getUserCredentials

public UserCredentials getUserCredentials()

Gets the user credentials.

Returns:

The user credentials.

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.

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.

setBillingProfile

public void setBillingProfile(CustomerBillingProfile value)

Sets the billing profile.

Parameters:

value - The billing profile.

setCommerceId

public void setCommerceId(String value)

Sets the commerce identifier

Parameters:

value - The commerce identifier.

setCompanyProfile

public void setCompanyProfile(CustomerCompanyProfile value)

Sets the company profile.

Parameters:

value - The company profile.

setCustomDomains

public void setCustomDomains(List value)

Sets the custom domains.

Parameters:

value - The custom domains.

setId

public void setId(String value)

Sets the identifier.

Parameters:

value - The customer identifier.

setRelationshipToPartner

public void setRelationshipToPartner(CustomerPartnerRelationship value)

Sets the relationship to the partner.

Parameters:

value - The relationship to the partner.

setUserCredentials

public void setUserCredentials(UserCredentials value)

Sets the user credentials.

Parameters:

value - The user credentials.

Applies to