Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
Google_Service_Dfareporting_PostalCodes_Resource Class Reference

The "postalCodes" collection of methods. More...

Inheritance diagram for Google_Service_Dfareporting_PostalCodes_Resource:
Google_Service_Resource

Public Member Functions

 call ($name, $arguments, $expected_class=null)
 TODO: This function needs simplifying.
 
 get ($profileId, $code, $optParams=array())
 Gets one postal code by ID.
 
 listPostalCodes ($profileId, $optParams=array())
 Retrieves a list of postal codes.
 

Protected Member Functions

 convertToArrayAndStripNulls ($o)
 

Detailed Description

The "postalCodes" collection of methods.

Typical usage is: $dfareportingService = new Google_Service_Dfareporting(...); $postalCodes = $dfareportingService->postalCodes;

Member Function Documentation

◆ call()

Google_Service_Resource::call ( $name,
$arguments,
$expected_class = null )
inherited

TODO: This function needs simplifying.

Parameters
$name
$arguments
$expected_class- optional, the expected class name
Return values
Google_Http_Request|expected_class
Exceptions
Google_Exception

◆ get()

Google_Service_Dfareporting_PostalCodes_Resource::get ( $profileId,
$code,
$optParams = array() )

Gets one postal code by ID.

(postalCodes.get)

Parameters
string$profileIdUser profile ID associated with this request.
string$codePostal code ID.
array$optParamsOptional parameters.
Return values
Google_Service_Dfareporting_PostalCode

◆ listPostalCodes()

Google_Service_Dfareporting_PostalCodes_Resource::listPostalCodes ( $profileId,
$optParams = array() )

Retrieves a list of postal codes.

(postalCodes.listPostalCodes)

Parameters
string$profileIdUser profile ID associated with this request.
array$optParamsOptional parameters.
Return values
Google_Service_Dfareporting_PostalCodesListResponse

The documentation for this class was generated from the following file: