Class Customer
java.lang.Object
com.microsoft.store.partnercenter.models.ResourceBase
com.microsoft.store.partnercenter.models.ResourceBaseWithLinks<StandardResourceLinks>
com.microsoft.store.partnercenter.models.customers.Customer
public class Customer extends ResourceBaseWithLinks<StandardResourceLinks>
Base customer profile for both Company, Billing profiles
-
Constructor Summary
Constructors Constructor Description Customer() -
Method Summary
Modifier and Type Method Description BooleangetAllowDelegatedAccess()Gets a flag indicating whether allow delegated access is enabled or not.StringgetAssociatedPartnerId()Gets the indirect reseller associated to this customer account.CustomerBillingProfilegetBillingProfile()Gets the billing profile.StringgetCommerceId()Gets the commerce identifier.CustomerCompanyProfilegetCompanyProfile()Gets the company profile.List<String>getCustomDomains()Gets the custom domains.StringgetId()Gets the identifier.CustomerPartnerRelationshipgetRelationshipToPartner()Gets the relationship to the partner.UserCredentialsgetUserCredentials()Gets the user credentials.voidsetAllowDelegatedAccess(Boolean value)Sets a flag indicating whether allow delegated access is enabled or not.voidsetAssociatedPartnerId(String value)Sets the indirect reseller associated to this customer account.voidsetBillingProfile(CustomerBillingProfile value)Sets the billing profile.voidsetCommerceId(String value)Sets the commerce identifiervoidsetCompanyProfile(CustomerCompanyProfile value)Sets the company profile.voidsetCustomDomains(List<String> value)Sets the custom domains.voidsetId(String value)Sets the identifier.voidsetRelationshipToPartner(CustomerPartnerRelationship value)Sets the relationship to the partner.voidsetUserCredentials(UserCredentials value)Sets the user credentials.Methods inherited from class com.microsoft.store.partnercenter.models.ResourceBaseWithLinks
getLinks, setLinks
-
Constructor Details
-
Customer
public Customer()
-
-
Method Details
-
getId
Gets the identifier.- Returns:
- The customer identifier.
-
setId
Sets the identifier.- Parameters:
value- The customer identifier.
-
getCommerceId
Gets the commerce identifier.- Returns:
- The commerce identifier.
-
setCommerceId
Sets the commerce identifier- Parameters:
value- The commerce identifier.
-
getCompanyProfile
Gets the company profile.- Returns:
- The compnay profile.
-
setCompanyProfile
Sets the company profile.- Parameters:
value- The company profile.
-
getBillingProfile
Gets the billing profile.- Returns:
- The billing profile.
-
setBillingProfile
Sets the billing profile.- Parameters:
value- The billing profile.
-
getRelationshipToPartner
Gets the relationship to the partner.- Returns:
- The relationship to the partner.
-
setRelationshipToPartner
Sets the relationship to the partner.- Parameters:
value- The relationship to the partner.
-
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
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
Gets the user credentials.- Returns:
- The user credentials.
-
setUserCredentials
Sets the user credentials.- Parameters:
value- The user credentials.
-
getCustomDomains
Gets the custom domains.- Returns:
- The custom domains.
-
setCustomDomains
Sets the custom domains.- Parameters:
value- The custom domains.
-
getAssociatedPartnerId
Gets the indirect reseller associated to this customer account.- Returns:
- The indirect reseller associated to this customer account.
-
setAssociatedPartnerId
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.
-