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 ( $serviceSelector ) : List | This field is required and should not be {@code null}. | |
getPendingInvitations ( $selector ) | This field is required and should not be {@code null}. | |
mutate ( $operations ) : The | 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, ADD. | |
mutateLabel ( $operations ) | This field is required and should not be {@code null}. The following {@link Operator}s are supported: ADD, REMOVE. | |
mutateLink ( $operations ) : results | This field is required and should not be {@code null}. The following {@link Operator}s are supported: SET, ADD. | |
mutateManager ( $operations ) : results | 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. |
public __construct ( string $wsdl, array $options, $user ) | ||
$wsdl | string | WSDL location for this service |
$options | array | Options for the SoapClient |
public get ( $serviceSelector ) : List | ||
return | List | of customers identified by the selector. |
public getPendingInvitations ( $selector ) |
Note: See {@link ManagedCustomerOperation} for available operators.
public mutate ( $operations ) : The | ||
return | The | list of updated managed customers, returned in the same order as the
operations array. |
To add an {@linkplain AccountLabel} to a {@linkplain ManagedCustomer}, use {@link Operator#ADD}. To remove an {@linkplain AccountLabel} from a {@linkplain ManagedCustomer}, use {@link Operator#REMOVE}.
The label must already exist (see {@link AccountLabelService#mutate} for how to create them) and be owned by the authenticated user.
The {@linkplain ManagedCustomer} must already exist and be managed by the customer making the request (either directly or indirectly).
An AccountLabel may be applied to at most 1000 customers.
This method does not support partial failures, and will fail if any operation is invalid.
public mutateLabel ( $operations ) |
public mutateLink ( $operations ) : results | ||
return | results | for the given operations |
public mutateManager ( $operations ) : results | ||
return | results | for the given operations |
public static array $classmap | ||
return | array |
public static string $endpoint | ||
return | string |