PHP Class OrderService, googleads-php-lib

Inheritance: extends BaseService
Exibir arquivo Open project: googleads/googleads-php-lib Class Usage Examples

Public Properties

Property Type Description
$classmap array Default class map for wsdl=>php
$endpoint string The endpoint of the service

Public Methods

Method Description
__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.

Method Details

__construct() public method

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() public method

Creates new {@link Order} objects.
public createOrders ( $orders ) : the
return the created orders with their IDs filled in

getOrdersByStatement() public method

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
return the orders that match the given filter

performOrderAction() public method

Performs actions on {@link Order} objects that match the given {@link Statement#query}.
public performOrderAction ( $orderAction, $filterStatement ) : the
return the result of the action performed

updateOrders() public method

Updates the specified {@link Order} objects.
public updateOrders ( $orders ) : the
return the updated orders

Property Details

$classmap public_oe static_oe property

Default class map for wsdl=>php
public static array $classmap
return array

$endpoint public_oe static_oe property

The endpoint of the service
public static string $endpoint
return string