CustomerOperations Class

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 CustomerOperations class.

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.

ICustomerAgreementCollection getAgreements()

Obtains the accepted agreements for the customer.

ICustomerAnalyticsCollection getAnalytics()

Obtains the customer level analytics collection object.

ICustomerApplicationConsentCollection getApplicationConsents()

Obtains the application consents for the customer.

IBatchJobStatusCollection getBatchUploadStatus()

Obtains the devices batch upload job status behavior of the customer.

ICartCollection getCarts()

Gets the cart behavior for the customer.

IConfigurationPolicyCollection getConfigurationPolicies()

Obtains the configuration policies behavior for the customer.

IDevicesBatchCollection getDeviceBatches()

Obtains the devices batches behavior of the customer.

ICustomerDeviceCollection getDevicePolicy()

Obtains the device policy behavior of the customer.

IDirectoryRoleCollection getDirectoryRoles()

Obtains the Customer qualification.

IEntitlementCollection getEntitlements()

Obtains the entitlement collection object.

IManagedServiceCollection getManagedServices()

Obtains the managed services behavior for the customer.

ICustomerOfferCategoryCollection getOfferCategories()

Obtains the Offer Categories behavior for the customer.

ICustomerOfferCollection getOffers()

Obtains the Offers behavior for the customer.

IOrderCollection getOrders()

Gets the orders behavior for the customer.

ICustomerProductCollection getProducts()

Gets the cart behavior for the customer.

ICustomerProfileCollection getProfiles()

Obtains the profiles behavior for the customer.

ICustomerQualification getQualification()

Obtains the Customer qualification.

ICustomerRelationshipCollection getRelationships()

Obtains the relationship collection behavior for the customer.

ICustomerServiceCostsCollection getServiceCosts()

Gets the cart behavior for the customer.

IServiceRequestCollection getServiceRequests()

Obtains the service requests behavior for the customer.

ICustomerSubscribedSkuCollection getSubscribedSkus()

Obtains the subscribed SKUs for the customer.

ISubscriptionCollection getSubscriptions()

Gets the subscriptions behavior for the customer.

ICustomerUsageSpendingBudget getUsageBudget()

Obtains the usage spending budget behavior for the customer.

ICustomerUsageSummary getUsageSummary()

Obtains the customer usage summary behavior for the customer.

ICustomerUserCollection getUsers()

Obtains the users for the customer.

Customer patch(Customer customer)

Removes the relationship between the partner and customer when RelationshipToPartner == CustomerPartnerRelationship.NONE.

Inherited Members

BasePartnerComponent<TContext>.getContext() BasePartnerComponent<TContext>.getPartner() 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

CustomerOperations

public CustomerOperations(IPartner rootPartnerOperations, String customerId)

Initializes a new instance of the CustomerOperations class.

Parameters:

rootPartnerOperations - The root partner operations instance.
customerId - The customer identifier.

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:

The customer object.

getAgreements

public ICustomerAgreementCollection getAgreements()

Obtains the accepted agreements for the customer.

Returns:

The customer accepted agreements.

getAnalytics

public ICustomerAnalyticsCollection getAnalytics()

Obtains the customer level analytics collection object.

getApplicationConsents

public ICustomerApplicationConsentCollection getApplicationConsents()

Obtains the application consents for the customer.

Returns:

The customer application consents.

getBatchUploadStatus

public IBatchJobStatusCollection getBatchUploadStatus()

Obtains the devices batch upload job status behavior of the customer.

Returns:

The device batch upload job status beavior of the customer.

getCarts

public ICartCollection getCarts()

Gets the cart behavior for the customer.

Returns:

The customer carts.

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:

The devices batches behavior of the customer.

getDevicePolicy

public ICustomerDeviceCollection getDevicePolicy()

Obtains the device policy behavior of the customer.

Returns:

The device policy behavior of the customer.

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:

The customer managed services operations.

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:

The customer orders.

getProducts

public ICustomerProductCollection getProducts()

Gets the cart behavior for the customer.

Returns:

The customer carts.

getProfiles

public ICustomerProfileCollection getProfiles()

Obtains the profiles behavior for the customer.

Returns:

The customer profiles.

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:

The customer carts.

getServiceRequests

public IServiceRequestCollection getServiceRequests()

Obtains the service requests behavior for the customer.

Returns:

The customer service request operations.

getSubscribedSkus

public ICustomerSubscribedSkuCollection getSubscribedSkus()

Obtains the subscribed SKUs for the customer.

Returns:

The customer usage spending budget operations.

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:

The customer usage spending budget operations.

getUsageSummary

public ICustomerUsageSummary getUsageSummary()

Obtains the customer usage summary behavior for the customer.

Returns:

The customer usage summary operations.

getUsers

public ICustomerUserCollection getUsers()

Obtains the users for the customer.

Returns:

The customer usage spending budget operations.

patch

public Customer patch(Customer customer)

Removes the relationship between the partner and customer when RelationshipToPartner == CustomerPartnerRelationship.NONE.

Parameters:

customer - A customer with RelationshipToPartner == CustomerPartnerRelationship.NONE.

Returns:

The information for the modified customer.

Applies to