Property | Type | Description | |
---|---|---|---|
$classmap | array | Default class map for wsdl=>php | |
$endpoint | string | The endpoint of the service |
Method | Description | |
---|---|---|
__construct ( string $wsdl, array $options, $user ) | Constructor using wsdl location and options array | |
get ( ) : customer | Returns details of the authorized customer. | |
getCustomers ( ) | Returns details of all the customers directly accessible by the user authenticating the call. | |
getServiceLinks ( $selector ) | This field is required and should not be {@code null}. | |
mutate ( $customer ) | This field is required and should not be {@code null}. | |
mutateServiceLinks ( $operations ) | This field must not contain {@code null} elements. This field must contain at least one element. This field is required and should not be {@code null}. The following {@link Operator}s are supported: SET, REMOVE. |
public __construct ( string $wsdl, array $options, $user ) | ||
$wsdl | string | WSDL location for this service |
$options | array | Options for the SoapClient |
public get ( ) : customer | ||
return | customer | associated with the caller |
Following V201605, if {@code clientCustomerId} is specified in the request header, only details of that customer will be returned.
public getCustomers ( ) |
public getServiceLinks ( $selector ) |
While there are a limited set of properties available to update, please read this help center article on auto-tagging before updating {@code customer.autoTaggingEnabled}.
public mutate ( $customer ) |
public mutateServiceLinks ( $operations ) |
public static array $classmap | ||
return | array |
public static string $endpoint | ||
return | string |