예제 #1
0
 /**
  * Service Call: GetAvailableShippingAddresses
  * @param GetAvailableShippingAddressesRequest $getAvailableShippingAddressesRequest
  * @param mixed $apiCredential - Optional API credential - can either be
  * 		a username configured in sdk_config.ini or a ICredential object
  *      created dynamically 		
  * @return GetAvailableShippingAddressesResponse
  * @throws APIException
  */
 public function GetAvailableShippingAddresses($getAvailableShippingAddressesRequest, $apiCredential = NULL)
 {
     $ret = new GetAvailableShippingAddressesResponse();
     $resp = $this->call('AdaptivePayments', 'GetAvailableShippingAddresses', $getAvailableShippingAddressesRequest, $apiCredential);
     $ret->init(PPUtils::nvpToMap($resp));
     return $ret;
 }
예제 #2
0
 /**
  * Service Call: GetAvailableShippingAddresses
  * @param GetAvailableShippingAddressesRequest $getAvailableShippingAddressesRequest
  * @return GetAvailableShippingAddressesResponse
  * @throws APIException
  */
 public function GetAvailableShippingAddresses($getAvailableShippingAddressesRequest, $apiUsername = null)
 {
     $ret = new GetAvailableShippingAddressesResponse();
     $resp = $this->call("GetAvailableShippingAddresses", $getAvailableShippingAddressesRequest, $apiUsername);
     $ret->init(PPUtils::nvpToMap($resp));
     return $ret;
 }
 /**
  * Service Call: GetAvailableShippingAddresses
  * @param GetAvailableShippingAddressesRequest $getAvailableShippingAddressesRequest
  * @param mixed $apiCredential - Optional API credential - can either be
  * 		a username configured in sdk_config.ini or a ICredential object
  *      created dynamically 		
  * @return GetAvailableShippingAddressesResponse
  * @throws APIException
  */
 public function GetAvailableShippingAddresses($getAvailableShippingAddressesRequest, $apiCredential = NULL)
 {
     $apiContext = new PPApiContext($this->config);
     $handlers = array(new PPPlatformServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION));
     $ret = new GetAvailableShippingAddressesResponse();
     $resp = $this->call('AdaptivePayments', 'GetAvailableShippingAddresses', $getAvailableShippingAddressesRequest, $apiContext, $handlers);
     $ret->init(PPUtils::nvpToMap($resp));
     return $ret;
 }