Default
Default implementation for ICustomerService.
Functions
Link copied to clipboard
public Address addAddress(String customerId, String address1, String address2, String address3, String city, String state, String zip, ResultStatus resultStatus)
Creates an address and adds it to the specified customer This call will return immediately with the new address object.
Link copied to clipboard
public EmailAddress addEmailAddress(String customerId, String emailAddress, ResultStatus resultStatus)
Creates a new email address and adds it to the specified customer This call will return immediately with the new email address object..
Link copied to clipboard
Creates a new phone number and adds it to the specified customer This call will return immediately with the new phone number object.
Link copied to clipboard
public Customer createCustomer(String firstName, String lastName, boolean marketingAllowed, ResultStatus resultStatus)
Creates a new customer for the merchant bound to the service.
Link copied to clipboard
Deletes a given address from the customer.
Link copied to clipboard
Deletes a given card record from the customer.
Link copied to clipboard
Deletes a given customer from the merchant.
Link copied to clipboard
Deletes a given email address from the customer.
Link copied to clipboard
Deletes a given phone number from the customer.
Link copied to clipboard
Returns a single customer for the merchant bound to the service.
Link copied to clipboard
Get a list of customers for the merchant bound to the service.
Link copied to clipboard
Creates a new customer for the merchant bound to the service.
Link copied to clipboard
public void setAddress(String customerId, String addressId, String address1, String address2, String address3, String city, String state, String zip, ResultStatus resultStatus)
Updates a given address on a customer.
Link copied to clipboard
public void setEmailAddress(String customerId, String emailAddressId, String emailAddress, ResultStatus resultStatus)
Updates a given email address on a customer.
Link copied to clipboard
public void setMarketingAllowed(String customerId, boolean marketingAllowed, ResultStatus resultStatus)
Update the marketing allowed value on a given customer.
Link copied to clipboard
public void setPhoneNumber(String customerId, String phoneNumberId, String phoneNumber, ResultStatus resultStatus)
Updates a given phone number on a customer.