LicenseSpring Management .Net SDK 1.9.0
Easily add Software Licensing to your application
LicenseSpring.CustomerService Class Reference

Implements ICustomerService interface More...

Inheritance diagram for LicenseSpring.CustomerService:
LicenseSpring.BaseService LicenseSpring.ICustomerService LicenseSpring.IService LicenseSpring.IService

Public Member Functions

void AddLabelToCustomer (uint labelId, ulong customerId)
 Adds a label to customer. More...
 
Customer CreateCustomer (CreateCustomerDto dto)
 Creates a new customer. More...
 
CustomerAccount CreateCustomerAccount (CustomerAccount account)
 Creates a customer account if requesting manager has access permissions to it. More...
 
CustomerLabel CreateCustomerLabel (CustomerLabel label)
 Creates a customer label. More...
 
string DeleteCustomer (ulong customerId)
 Deletes the customer. More...
 
void DeleteCustomerAccount (CustomerAccount account)
 Deletes a customer account. More...
 
void DeleteCustomerLabel (CustomerLabel label)
 Deletes a customer label. More...
 
Customer EditCustomer (Customer customer)
 Updates information about a customer. More...
 
CustomerAccount EditCustomerAccount (CustomerAccount account)
 Updates a customer account if requesting manager has access permissions to it. More...
 
CustomerLabel EditCustomerLabel (CustomerLabel label)
 Updates information about a customer label. More...
 
CustomerAccount[] ListCustomerAccounts (BaseListDto dto, out uint Count)
 Shows all customer accounts the requesting manager has access permissions to. More...
 
CustomerLabel[] ListCustomerLabels (BaseListDto dto, out uint Count)
 Returns all customer labels. More...
 
Customer[] ListCustomers (ListCustomersRequestDto dto, out uint Count)
 Returns all customers. More...
 
string MergeCustomers (ulong customerId, ulong customerToMergeId)
 Merges once customer into another if requesting manager has access permissions to it. More...
 
void RemoveLabelFromCustomer (CustomerLabel label)
 Removes a label from customer. More...
 
- Public Member Functions inherited from LicenseSpring.BaseService
void Initialize (ManagementConfiguration configuration)
 Initialize management service with given configuration More...
 
bool IsInitialized ()
 Check whether management service has been initialized More...
 
bool IsOnline (bool throwExceptions=false)
 Helper method, it checks connection to the LicenseSpring platform. More...
 
void Initialize (ManagementConfiguration configuration)
 Initialize management service with given configuration More...
 
bool IsInitialized ()
 Check whether management service has been initialized More...
 
bool IsOnline (bool throwExceptions=false)
 Helper method, it checks connection to the LicenseSpring platform. More...
 
void AddLabelToCustomer (uint labelId, ulong customerId)
 Adds a label to customer. More...
 
Customer CreateCustomer (CreateCustomerDto dto)
 Creates a new customer. More...
 
CustomerAccount CreateCustomerAccount (CustomerAccount account)
 Creates a customer account if requesting manager has access permissions to it. More...
 
CustomerLabel CreateCustomerLabel (CustomerLabel label)
 Creates a customer label. More...
 
string DeleteCustomer (ulong customerId)
 Deletes the customer. More...
 
void DeleteCustomerAccount (CustomerAccount account)
 Deletes a customer account. More...
 
void DeleteCustomerLabel (CustomerLabel label)
 Deletes a customer label. More...
 
Customer EditCustomer (Customer customer)
 Updates information about a customer. More...
 
CustomerAccount EditCustomerAccount (CustomerAccount account)
 Updates a customer account if requesting manager has access permissions to it. More...
 
CustomerLabel EditCustomerLabel (CustomerLabel label)
 Updates information about a customer label. More...
 
CustomerAccount[] ListCustomerAccounts (BaseListDto dto, out uint count)
 Shows all customer accounts the requesting manager has access permissions to. More...
 
CustomerLabel[] ListCustomerLabels (BaseListDto dto, out uint count)
 Returns all customer labels. More...
 
Customer[] ListCustomers (ListCustomersRequestDto dto, out uint count)
 Returns all customers. More...
 
string MergeCustomers (ulong customerId, ulong customerToMergeId)
 Merges once customer into another if requesting manager has access permissions to it. More...
 
void RemoveLabelFromCustomer (CustomerLabel label)
 Removes a label from customer. More...
 

Detailed Description

Implements ICustomerService interface

Member Function Documentation

◆ AddLabelToCustomer()

void LicenseSpring.CustomerService.AddLabelToCustomer ( uint  labelId,
ulong  customerId 
)

Adds a label to customer.

Implements LicenseSpring.ICustomerService.

◆ CreateCustomer()

Customer LicenseSpring.CustomerService.CreateCustomer ( CreateCustomerDto  dto)

Creates a new customer.

Implements LicenseSpring.ICustomerService.

◆ CreateCustomerAccount()

CustomerAccount LicenseSpring.CustomerService.CreateCustomerAccount ( CustomerAccount  account)

Creates a customer account if requesting manager has access permissions to it.

Implements LicenseSpring.ICustomerService.

◆ CreateCustomerLabel()

CustomerLabel LicenseSpring.CustomerService.CreateCustomerLabel ( CustomerLabel  label)

Creates a customer label.

Implements LicenseSpring.ICustomerService.

◆ DeleteCustomer()

string LicenseSpring.CustomerService.DeleteCustomer ( ulong  customerId)

Deletes the customer.

Implements LicenseSpring.ICustomerService.

◆ DeleteCustomerAccount()

void LicenseSpring.CustomerService.DeleteCustomerAccount ( CustomerAccount  account)

Deletes a customer account.

Implements LicenseSpring.ICustomerService.

◆ DeleteCustomerLabel()

void LicenseSpring.CustomerService.DeleteCustomerLabel ( CustomerLabel  label)

Deletes a customer label.

Implements LicenseSpring.ICustomerService.

◆ EditCustomer()

Customer LicenseSpring.CustomerService.EditCustomer ( Customer  customer)

Updates information about a customer.

Implements LicenseSpring.ICustomerService.

◆ EditCustomerAccount()

CustomerAccount LicenseSpring.CustomerService.EditCustomerAccount ( CustomerAccount  account)

Updates a customer account if requesting manager has access permissions to it.

Implements LicenseSpring.ICustomerService.

◆ EditCustomerLabel()

CustomerLabel LicenseSpring.CustomerService.EditCustomerLabel ( CustomerLabel  label)

Updates information about a customer label.

Implements LicenseSpring.ICustomerService.

◆ ListCustomerAccounts()

CustomerAccount[] LicenseSpring.CustomerService.ListCustomerAccounts ( BaseListDto  dto,
out uint  Count 
)

Shows all customer accounts the requesting manager has access permissions to.

Implements LicenseSpring.ICustomerService.

◆ ListCustomerLabels()

CustomerLabel[] LicenseSpring.CustomerService.ListCustomerLabels ( BaseListDto  dto,
out uint  Count 
)

Returns all customer labels.

Implements LicenseSpring.ICustomerService.

◆ ListCustomers()

Customer[] LicenseSpring.CustomerService.ListCustomers ( ListCustomersRequestDto  dto,
out uint  Count 
)

Returns all customers.

Implements LicenseSpring.ICustomerService.

◆ MergeCustomers()

string LicenseSpring.CustomerService.MergeCustomers ( ulong  customerId,
ulong  customerToMergeId 
)

Merges once customer into another if requesting manager has access permissions to it.

Implements LicenseSpring.ICustomerService.

◆ RemoveLabelFromCustomer()

void LicenseSpring.CustomerService.RemoveLabelFromCustomer ( CustomerLabel  label)

Removes a label from customer.

Implements LicenseSpring.ICustomerService.


The documentation for this class was generated from the following file: