PHP Класс OrderService, googleads-php-lib

Наследование: extends BaseService
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$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
createOrders ( $orders ) : the Creates new {@link Order} objects.
getOrdersByStatement ( $filterStatement ) : the Gets an {@link OrderPage} of {@link Order} objects that satisfy the given {@link Statement#query}. The following fields are supported for filtering:
performOrderAction ( $orderAction, $filterStatement ) : the Performs actions on {@link Order} objects that match the given {@link Statement#query}.
updateOrders ( $orders ) : the Updates the specified {@link Order} objects.

Описание методов

__construct() публичный Метод

Constructor using wsdl location and options array
public __construct ( string $wsdl, array $options, $user )
$wsdl string WSDL location for this service
$options array Options for the SoapClient

createOrders() публичный Метод

Creates new {@link Order} objects.
public createOrders ( $orders ) : the
Результат the created orders with their IDs filled in

getOrdersByStatement() публичный Метод

PQL Property Object Property
{@code advertiserId} {@link Order#advertiserId}
{@code endDateTime} {@link Order#endDateTime}
{@code id} {@link Order#id}
{@code name} {@link Order#name}
{@code salespersonId} {@link Order#salespersonId}
{@code startDateTime} {@link Order#startDateTime}
{@code status} {@link Order#status}
{@code traffickerId} {@link Order#traffickerId}
{@code lastModifiedDateTime} {@link Order#lastModifiedDateTime}
public getOrdersByStatement ( $filterStatement ) : the
Результат the orders that match the given filter

performOrderAction() публичный Метод

Performs actions on {@link Order} objects that match the given {@link Statement#query}.
public performOrderAction ( $orderAction, $filterStatement ) : the
Результат the result of the action performed

updateOrders() публичный Метод

Updates the specified {@link Order} objects.
public updateOrders ( $orders ) : the
Результат the updated orders

Описание свойств

$classmap публичное статическое свойство

Default class map for wsdl=>php
public static array $classmap
Результат array

$endpoint публичное статическое свойство

The endpoint of the service
public static string $endpoint
Результат string