CustomerOperations Class
- java.
lang. Object - com.
microsoft. store. partnercenter. BasePartnerComponent<TContext> - com.
microsoft. store. partnercenter. BasePartnerComponentString - com.
microsoft. store. partnercenter. customers. CustomerOperations
- com.
- com.
- com.
Implements
public class CustomerOperations extends BasePartnerComponentString implements ICustomer
Implements a single customer operations.
Constructor Summary
| Constructor | Description |
|---|---|
| CustomerOperations(IPartner rootPartnerOperations, String customerId) |
Initializes a new instance of the Customer |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| void |
delete()
Deletes the customer from a testing in production account. |
| Customer |
get()
Retrieves information of a specific customer. |
|
ICustomer |
getAgreements()
Obtains the accepted agreements for the customer. |
|
ICustomer |
getAnalytics()
Obtains the customer level analytics collection object. |
|
ICustomer |
getApplicationConsents()
Obtains the application consents for the customer. |
|
IBatch |
getBatchUploadStatus()
Obtains the devices batch upload job status behavior of the customer. |
|
ICart |
getCarts()
Gets the cart behavior for the customer. |
|
IConfiguration |
getConfigurationPolicies()
Obtains the configuration policies behavior for the customer. |
|
IDevices |
getDeviceBatches()
Obtains the devices batches behavior of the customer. |
|
ICustomer |
getDevicePolicy()
Obtains the device policy behavior of the customer. |
|
IDirectory |
getDirectoryRoles()
Obtains the Customer qualification. |
|
IEntitlement |
getEntitlements()
Obtains the entitlement collection object. |
|
IManaged |
getManagedServices()
Obtains the managed services behavior for the customer. |
|
ICustomer |
getOfferCategories()
Obtains the Offer Categories behavior for the customer. |
|
ICustomer |
getOffers()
Obtains the Offers behavior for the customer. |
|
IOrder |
getOrders()
Gets the orders behavior for the customer. |
|
ICustomer |
getProducts()
Gets the cart behavior for the customer. |
|
ICustomer |
getProfiles()
Obtains the profiles behavior for the customer. |
|
ICustomer |
getQualification()
Obtains the Customer qualification. |
|
ICustomer |
getRelationships()
Obtains the relationship collection behavior for the customer. |
|
ICustomer |
getServiceCosts()
Gets the cart behavior for the customer. |
|
IService |
getServiceRequests()
Obtains the service requests behavior for the customer. |
|
ICustomer |
getSubscribedSkus()
Obtains the subscribed SKUs for the customer. |
|
ISubscription |
getSubscriptions()
Gets the subscriptions behavior for the customer. |
|
ICustomer |
getUsageBudget()
Obtains the usage spending budget behavior for the customer. |
|
ICustomer |
getUsageSummary()
Obtains the customer usage summary behavior for the customer. |
|
ICustomer |
getUsers()
Obtains the users for the customer. |
| Customer |
patch(Customer customer)
Removes the relationship between the partner and customer when Relationship |
Inherited Members
Constructor Details
CustomerOperations
public CustomerOperations(IPartner rootPartnerOperations, String customerId)
Initializes a new instance of the CustomerOperations class.
Parameters:
Method Details
delete
public void delete()
Deletes the customer from a testing in production account. This only works for customer in the integration sandbox.
get
public Customer get()
Retrieves information of a specific customer.
Returns:
getAgreements
public ICustomerAgreementCollection getAgreements()
Obtains the accepted agreements for the customer.
Returns:
getAnalytics
public ICustomerAnalyticsCollection getAnalytics()
Obtains the customer level analytics collection object.
getApplicationConsents
public ICustomerApplicationConsentCollection getApplicationConsents()
Obtains the application consents for the customer.
Returns:
getBatchUploadStatus
public IBatchJobStatusCollection getBatchUploadStatus()
Obtains the devices batch upload job status behavior of the customer.
Returns:
getCarts
public ICartCollection getCarts()
Gets the cart behavior for the customer.
Returns:
getConfigurationPolicies
public IConfigurationPolicyCollection getConfigurationPolicies()
Obtains the configuration policies behavior for the customer.
getDeviceBatches
public IDevicesBatchCollection getDeviceBatches()
Obtains the devices batches behavior of the customer.
Returns:
getDevicePolicy
public ICustomerDeviceCollection getDevicePolicy()
Obtains the device policy behavior of the customer.
Returns:
getDirectoryRoles
public IDirectoryRoleCollection getDirectoryRoles()
Obtains the Customer qualification.
getEntitlements
public IEntitlementCollection getEntitlements()
Obtains the entitlement collection object.
getManagedServices
public IManagedServiceCollection getManagedServices()
Obtains the managed services behavior for the customer.
Returns:
getOfferCategories
public ICustomerOfferCategoryCollection getOfferCategories()
Obtains the Offer Categories behavior for the customer.
getOffers
public ICustomerOfferCollection getOffers()
Obtains the Offers behavior for the customer.
getOrders
public IOrderCollection getOrders()
Gets the orders behavior for the customer.
Returns:
getProducts
public ICustomerProductCollection getProducts()
Gets the cart behavior for the customer.
Returns:
getProfiles
public ICustomerProfileCollection getProfiles()
Obtains the profiles behavior for the customer.
Returns:
getQualification
public ICustomerQualification getQualification()
Obtains the Customer qualification.
getRelationships
public ICustomerRelationshipCollection getRelationships()
Obtains the relationship collection behavior for the customer.
getServiceCosts
public ICustomerServiceCostsCollection getServiceCosts()
Gets the cart behavior for the customer.
Returns:
getServiceRequests
public IServiceRequestCollection getServiceRequests()
Obtains the service requests behavior for the customer.
Returns:
getSubscribedSkus
public ICustomerSubscribedSkuCollection getSubscribedSkus()
Obtains the subscribed SKUs for the customer.
Returns:
getSubscriptions
public ISubscriptionCollection getSubscriptions()
Gets the subscriptions behavior for the customer.
getUsageBudget
public ICustomerUsageSpendingBudget getUsageBudget()
Obtains the usage spending budget behavior for the customer.
Returns:
getUsageSummary
public ICustomerUsageSummary getUsageSummary()
Obtains the customer usage summary behavior for the customer.
Returns:
getUsers
public ICustomerUserCollection getUsers()
Obtains the users for the customer.
Returns:
patch
public Customer patch(Customer customer)
Removes the relationship between the partner and customer when RelationshipToPartner == CustomerPartnerRelationship.NONE.
Parameters:
Returns: