Click or drag to resize
IServiceProviderCustomerManagerUpdateServiceProviderCustomerFromAddress Method

[This is preliminary documentation and is subject to change.]

Updates a service provider customer's address details based on an address

Namespace: Netadmin.Management.Customer
Assembly: Netadmin.Management.Interfaces (in Netadmin.Management.Interfaces.dll) Version: release/9.0@131b654fe7332b0776120c2b44d96c6cac5ac9a2
Syntax
void UpdateServiceProviderCustomerFromAddress(
	long customerId,
	long serviceProviderId,
	long addressId,
	bool updateBillingPart,
	bool updateContactPart
)

Parameters

customerId
Type: SystemInt64
The id of the base customer to update
serviceProviderId
Type: SystemInt64
The id the service provider to which the customer instance belongs
addressId
Type: SystemInt64
The id of the address to use
updateBillingPart
Type: SystemBoolean
True if the customer's billing details should be updated
updateContactPart
Type: SystemBoolean
True if the customer's contact details should be updated
Remarks
Will log a warning if customer instance or address does not exist and then return with no further action
See Also