Свойство | Тип | Описание | |
---|---|---|---|
$classmap | array | Default class map for wsdl=>php | |
$endpoint | string | The endpoint of the service |
Метод | Описание | |
---|---|---|
__construct ( string $wsdl, array $options, $user ) | Constructor using wsdl location and options array | |
get ( $serviceSelector ) : A | This field is required and should not be {@code null}. | |
getBillingAccounts ( ) : A | Returns all the open/active BillingAccounts associated with the current manager. | |
mutate ( $operations ) : BudgetOrders | 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: ADD, SET, REMOVE. |
public __construct ( string $wsdl, array $options, $user ) | ||
$wsdl | string | WSDL location for this service |
$options | array | Options for the SoapClient |
public get ( $serviceSelector ) : A | ||
Результат | A | {@link BudgetOrderPage} of BudgetOrders of the client customer. All BudgetOrder fields are returned. Stats are not yet supported. |
public getBillingAccounts ( ) : A | ||
Результат | A | list of {@link BillingAccount}s. |
ADD
: Adds a {@link BudgetOrder} to the billing account
specified by the billing account ID.
SET
: Sets the start/end date and amount of the
{@link BudgetOrder}.
REMOVE
: Cancels the {@link BudgetOrder} (status change).
Warning: The BudgetOrderService
is limited to one operation per mutate request. Any attempt to make more
than one operation will result in an ApiException
.
public mutate ( $operations ) : BudgetOrders | ||
Результат | BudgetOrders | affected by the mutate operation. |
public static array $classmap | ||
Результат | array |
public static string $endpoint | ||
Результат | string |