Class ResellersImpl
java.lang.Object
api.equinix.javasdk.customerportal.client.implementation.ResellersImpl
-
Constructor Summary
ConstructorsConstructorDescriptionResellersImpl(ResellerClient<Reseller> serviceClient, ResellerCustomerClient<ResellerCustomer> serviceClientCustomer, CustomerPortal serviceManager) -
Method Summary
Modifier and TypeMethodDescriptionReturns a builder for defining a new reseller customer association.getResellerCustomer(String accountNumber, String customerAccountNumber) Retrieves a specific reseller customer by the reseller and customer account numbers.list()Lists all reseller accounts for the current user.listCustomers(String accountNumber) Lists all customers under the specified reseller account.
-
Constructor Details
-
ResellersImpl
public ResellersImpl(ResellerClient<Reseller> serviceClient, ResellerCustomerClient<ResellerCustomer> serviceClientCustomer, CustomerPortal serviceManager)
-
-
Method Details
-
list
Description copied from interface:ResellersLists all reseller accounts for the current user. -
listCustomers
Description copied from interface:ResellersLists all customers under the specified reseller account.- Specified by:
listCustomersin interfaceResellers- Parameters:
accountNumber- the reseller account number- Returns:
- a paginated list of reseller customers
-
getResellerCustomer
Description copied from interface:ResellersRetrieves a specific reseller customer by the reseller and customer account numbers.- Specified by:
getResellerCustomerin interfaceResellers- Parameters:
accountNumber- the reseller account numbercustomerAccountNumber- the customer account number- Returns:
- the matching reseller customer
-
define
public ResellerCustomerOperator.ResellerCustomerBuilder define(String accountNumber, String customerName) Description copied from interface:ResellersReturns a builder for defining a new reseller customer association.
-