Customer Class
- java.
lang. Object - com.
microsoft. store. partnercenter. models. ResourceBase - com.
microsoft. store. partnercenter. models. ResourceBaseWithLinks<TLinks> - com.
microsoft. store. partnercenter. models. customers. Customer
- com.
- com.
- com.
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. |
|
Customer |
getBillingProfile()
Gets the billing profile. |
| java.lang.String |
getCommerceId()
Gets the commerce identifier. |
|
Customer |
getCompanyProfile()
Gets the company profile. |
| java.util.List<java.lang.String> |
getCustomDomains()
Gets the custom domains. |
| java.lang.String |
getId()
Gets the identifier. |
|
Customer |
getRelationshipToPartner()
Gets the relationship to the partner. |
|
User |
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
Constructor Details
Customer
public Customer()
Method Details
getAllowDelegatedAccess
public Boolean getAllowDelegatedAccess()
Gets a flag indicating whether allow delegated access is enabled or not.
Returns:
getAssociatedPartnerId
public String getAssociatedPartnerId()
Gets the indirect reseller associated to this customer account.
Returns:
getBillingProfile
public CustomerBillingProfile getBillingProfile()
Gets the billing profile.
Returns:
getCommerceId
public String getCommerceId()
Gets the commerce identifier.
Returns:
getCompanyProfile
public CustomerCompanyProfile getCompanyProfile()
Gets the company profile.
Returns:
getCustomDomains
public List
Gets the custom domains.
Returns:
getId
public String getId()
Gets the identifier.
Returns:
getRelationshipToPartner
public CustomerPartnerRelationship getRelationshipToPartner()
Gets the relationship to the partner.
Returns:
getUserCredentials
public UserCredentials getUserCredentials()
Gets the user credentials.
Returns:
setAllowDelegatedAccess
public void setAllowDelegatedAccess(Boolean value)
Sets a flag indicating whether allow delegated access is enabled or not.
Parameters:
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:
setBillingProfile
public void setBillingProfile(CustomerBillingProfile value)
Sets the billing profile.
Parameters:
setCommerceId
public void setCommerceId(String value)
Sets the commerce identifier
Parameters:
setCompanyProfile
public void setCompanyProfile(CustomerCompanyProfile value)
Sets the company profile.
Parameters:
setCustomDomains
public void setCustomDomains(List
Sets the custom domains.
Parameters:
setId
public void setId(String value)
Sets the identifier.
Parameters:
setRelationshipToPartner
public void setRelationshipToPartner(CustomerPartnerRelationship value)
Sets the relationship to the partner.
Parameters:
setUserCredentials
public void setUserCredentials(UserCredentials value)
Sets the user credentials.
Parameters: