diff --git a/CHANGELOG.md b/CHANGELOG.md
index c76d3a16..44e98e24 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,111 +1,185 @@
+###CHANGELOG
+#### Version 2.11.117 - August 22, 2014
+
+ - Updated stubs for 117 release
+ - InstrumentDetails, InstrumentCategory, InstrumentID, MerchantData
+
+You can see source code of this release in github under https://github.com/paypal/merchant-sdk-php/tree/v2.11.117.
+
+--------------------------------------------------------------------------------------------------
+#### Version 2.10.116 - July 23, 2014
+
+ - Updated stubs for 116 release. CartChangeTolerance, FinancingFeeAmount, FinancingTotalCost, ShipToStore added.
+
+You can see source code of this release in github under https://github.com/paypal/merchant-sdk-php/tree/v2.10.116.
+
+--------------------------------------------------------------------------------------------------
-# CHANGELOG
+####Version 2.9.115 - June 20, 2014
-## Version 2.4.101 - May 06, 2013
+ - Updated stubs for 115 release
+
+You can see source code of this release in github under https://github.com/paypal/merchant-sdk-php/tree/v2.8.115.
+
+--------------------------------------------------------------------------------------------------
+
+####Version 2.8.114 - May 14, 2014
+
+ - Updated stubs for 114 release, Idempotency for DoExpressCheckoutPaymentReq
+
+You can see source code of this release in github under https://github.com/paypal/merchant-sdk-php/tree/v2.8.114.
+
+--------------------------------------------------------------------------------------------------
+
+## Version 2.7.113 - April 24, 2014
+
+ - Updated stubs for 113 release, Wallet Items and Discount Type option added
+
+You can see source code of this release in github under https://github.com/paypal/merchant-sdk-php/tree/v2.7.113.
- - Restructuring config file location. Updating installer script to reflect this.
- - Fix for dynamic configuration overwrite in previous release.
-
--------------------------------------------------------------------------------------------------
-## Version 2.3.101 - April 30, 2013
+## Version 2.6.112 - April 9, 2014
+
+ - Updated stubs for 112 release, useSessionPaymentDetails option added
+
+You can see source code of this release in github under https://github.com/paypal/merchant-sdk-php/tree/v2.6.112.
- - Updated stubs for 101 release
+--------------------------------------------------------------------------------------------------
+
+## Version 2.5.106 - August 22, 2013
+
+ - Updated stubs.
+ - Updated samples to showcase dynamic onfiguration.
+
+
+You can see source code of this release in github under https://github.com/paypal/merchant-sdk-php/tree/v2.5.106.
+
+--------------------------------------------------------------------------------------------------
+
+#### Version 2.4.103 - June 11, 2013
+
+ - Updated stubs for 103 release.
+ - Removed deprecated methods like setAccessToken, getAccessToken from baseService in core.
+ - Added correct thirdparty auth header in core.
+ - Updated install script in samples to handle wildcard tag names.
+ - Setting thirdparty credential using credential object in samples
+
+
+You can see source code of this release in github under https://github.com/paypal/merchant-sdk-php/tree/v2.4.103.
+
+--------------------------------------------------------------------------------------------------
+
+#### Version 2.3.101 - April 30, 2013
+
+ - Updated stubs for 101 release
You can see source code of this release in github under https://github.com/paypal/merchant-sdk-php/tree/v2.3.101
+
--------------------------------------------------------------------------------------------------
-## Version v2.3.100 - March 25, 2013
+#### Version 2.3.100 - March 25, 2013
- - Updated stubs for 100 release
- - Added dynamic configuration support by passing configuration parameters using hash map.
+ - Updated stubs for 100 release
+ - Added dynamic configuration support by passing configuration parameters using hash map.
You can see source code of this release in github under https://github.com/paypal/merchant-sdk-php/tree/v2.3.100.
+
--------------------------------------------------------------------------------------------------
-## Version 2.2.98 - February 05, 2013
+#### Version 2.2.98 - February 05, 2013
- - Updated stubs for 98 release.
- - Added support for composer.
- - Added installation script that fetches the dependencies and installs sdk if composer not present, contributed by: https://github.com/rrehbeindoi.
- - Added loading the static configuration from a different source.
+ - Updated stubs for 98 release.
+ - Added support for composer.
+ - Added installation script that fetches the dependencies and installs sdk if composer not present, contributed by: https://github.com/rrehbeindoi.
+ - Added loading the static configuration from a different source.
You can see source code of this release in github under https://github.com/paypal/merchant-sdk-php/tree/v2.2.98.
+
--------------------------------------------------------------------------------------------------
-## Version 2.2.96 - January 23, 2013
+#### Version 2.2.96 - January 23, 2013
- - Added support for composer
- - Added installation script that fetches the dependencies and installs sdk if composer not present
- - contributed by: https://github.com/rrehbeindoi
+ - Added support for composer
+ - Added installation script that fetches the dependencies and installs sdk if composer not present
+ - contributed by: https://github.com/rrehbeindoi
You can see source code of this release in github https://github.com/paypal/merchant-sdk-php/tree/composer
+
--------------------------------------------------------------------------------------------------
-## Version 2.1.96 - December 14, 2012
+#### Version 2.1.96 - December 14, 2012
- - Added support for Instant Payment Notification (Refer IPN-README.md for more details)
- - Added new feature for supporting multiple endpoints based on portname for using different sdks together.
+ - Added support for Instant Payment Notification (Refer IPN-README.md for more details)
+ - Added new feature for supporting multiple endpoints based on portname for using different sdks together.
You can see source code of this release in github under https://github.com/paypal/merchant-sdk-php/tree/v2.1.96.
+
--------------------------------------------------------------------------------------------------
-## Version 2.0.96 - December 06, 2012
+#### Version 2.0.96 - December 06, 2012
+
+ - SDK refreshed to Release 96
+ - Application ID is not mandatory now.
+ - Added support for passing in credentials dynamically for Authentication, now the call
+ wrappers have an argument for passing credentials
+ - New type ThirdPartyAuthorization has been added to support Subject and Token based Authorizations. The earlier
+ setAccessToken and setTokenSecret have been deprecated. You can set an instance of ThirdPartyAuthorization to an
+ ICredential and pass ICredential as a parameter to API call
+ - Fixes to deserialization issues.(https://github.com/paypal/SDKs/issues/37)
+ - Fixes to validating SSL Cert in curl requests.(https://github.com/paypal/SDKs/issues/35)
+ - Updated paymentType as Authorization instead of Authorisation in DoDirectPayment sample.(https://github.com/paypal/SDKs/issues/36)
- - SDK refreshed to Release 96
- - Application ID is not mandatory now.
- - Added support for passing in credentials dynamically for Authentication, now the call
- wrappers have an argument for passing credentials
- - New type ThirdPartyAuthorization has been added to support Subject and Token based Authorizations. The earlier
- setAccessToken and setTokenSecret have been deprecated. You can set an instance of ThirdPartyAuthorization to an
- ICredential and pass ICredential as a parameter to API call
- - Fixes to deserialization issues.(https://github.com/paypal/SDKs/issues/37)
- - Fixes to validating SSL Cert in curl requests.(https://github.com/paypal/SDKs/issues/35)
- - Updated paymentType as Authorization instead of Authorisation in DoDirectPayment sample.(https://github.com/paypal/SDKs/issues/36)
--------------------------------------------------------------------------------------------------
-## Version 1.2.95 - September 28, 2012
+#### Version 1.2.95 - September 28, 2012
+
+ - SDK refreshed to Release 95. Please refer https://www.x.com/developers/paypal/documentation-tools/release-notes#MerchantAPI
+ - SDK now supports third party permission by subject header. Configure subject header
+ in the configuration file, this is basically third party merchant email address who has
+ given permission to you to call api on their behalf.
+ - Bug fixed for Page styling attributes (eg: cpp-header**) serialization. (https://github.com/paypal/SDKs/issues/31)
+ - Bug fixed for 'convertToXML' method for not escaping xml element correctly.(https://github.com/paypal/SDKs/issues/17)
+ - PayPal Endpoint is corrected in config file.(https://github.com/paypal/SDKs/issues/22)
+ - Bug fixed for BasicAmountType serialization without currencyID attribute.(https://github.com/paypal/SDKs/issues/23)
+ - Bug fixed for 'PPLoggingManager.php' to pickup configuration entries.(https://github.com/paypal/SDKs/issues/28)
+ - Updated SDK sample
- - SDK refreshed to Release 95. Please refer https://www.x.com/developers/paypal/documentation-tools/release-notes#MerchantAPI
- - SDK now supports third party permission by subject header. Configure subject header
- in the configuration file, this is basically third party merchant email address who has
- given permission to you to call api on their behalf.
- - Bug fixed for Page styling attributes (eg: cpp-header**) serialization. (https://github.com/paypal/SDKs/issues/31)
- - Bug fixed for 'convertToXML' method for not escaping xml element correctly.(https://github.com/paypal/SDKs/issues/17)
- - PayPal Endpoint is corrected in config file.(https://github.com/paypal/SDKs/issues/22)
- - Bug fixed for BasicAmountType serialization without currencyID attribute.(https://github.com/paypal/SDKs/issues/23)
- - Bug fixed for 'PPLoggingManager.php' to pickup configuration entries.(https://github.com/paypal/SDKs/issues/28)
- - Updated SDK sample
--------------------------------------------------------------------------------------------------
-## Version 1.1.93 - August 14, 2012
+#### Version 1.1.93 - August 14, 2012
- - SDK refreshed to Release 93. Please refer https://www.x.com/developers/paypal/documentation-tools/release-notes#MerchantAPI
- - SDK Core - Deserialization Logic Change
+ - SDK refreshed to Release 93. Please refer https://www.x.com/developers/paypal/documentation-tools/release-notes#MerchantAPI
+ - SDK Core - Deserialization Logic Change
+
--------------------------------------------------------------------------------------------------
-## Version 1.0.92 - July 30, 2012
+#### Version 1.0.92 - July 30, 2012
- - Stable release
+ - Stable release
+
-------------------------------------------------------------------------------------------------
-## Version 0.7.92 - July 17, 2012
- - wsdl update version 0.7.92
+#### Version 0.7.92 - July 17, 2012
+
+ - wsdl update version 0.7.92
+
--------------------------------------------------------------------------------------------------
-## Version 0.7.90 - 11-June-2012
+#### Version 0.7.90 - 11-June-2012
+
+ - SDK upgrade to latest WSDL release (90.0)
- - SDK upgrade to latest WSDL release (90.0)
--------------------------------------------------------------------------------------------------
-## Version 0.7.88 - 17-Apr-2012
+#### Version 0.7.88 - 17-Apr-2012
- - Fix to get SDK working with Permissions API token
+ - Fix to get SDK working with Permissions API token
--------------------------------------------------------------------------------------------------
-## Version 0.6.88 - 27-Feb-2012
+#### Version 0.6.88 - 27-Feb-2012
- - Initial release
+ - Initial release
--------------------------------------------------------------------------------------------------
\ No newline at end of file
diff --git a/README.md b/README.md
index 3ead8055..161dcf66 100644
--- a/README.md
+++ b/README.md
@@ -1,8 +1,9 @@
-
# PayPal PHP Merchant SDK
+#### This Classic SDK is not actively supported and will be deprecated in the future. For full support on new integrations, please use the [PHP Rest SDK](https://github.com/paypal/rest-api-sdk-php)
+
The merchant SDK can be used for integrating with the Express Checkout, Mass Pay, Web Payments Pro APIs.
-
+
## Prerequisites
PayPal's PHP Merchant SDK requires
@@ -23,7 +24,7 @@ If using composer, run `composer update` from the samples folder. Otherwise, run
curl https://raw.github.com/paypal/merchant-sdk-php/stable/samples/install.php | php
OR
php install.php
-
+```
## Using the SDK
@@ -36,23 +37,31 @@ To use the SDK,
{
"name": "me/shopping-cart-app",
"require": {
- "paypal/merchant-sdk-php":"v2.4.101"
+ "paypal/merchant-sdk-php":"v2.*"
}
}
```
* Install the SDK as a dependency using composer or the install.php script.
* Require `vendor/autoload.php` OR `PPBootStrap.php` in your application depending on whether you used composer or the custom installer.
* Choose how you would like to configure the SDK - You can either
- * Create a `sdk_config.ini` file and set the PP_CONFIG_PATH constant to point to the directory where this file exists OR
- * Create a hashmap containing configuration parameters and pass it to the service object.
+ * Create a hashmap containing configuration parameters and pass it to the service object OR
+ * Create a `sdk_config.ini` file and set the PP_CONFIG_PATH constant to point to the directory where this file exists.
* Instantiate a service wrapper object and a request object as per your project's needs.
* Invoke the appropriate method on the service object.
For example,
```php
- // Sets config file path and registers the classloader
+ // Sets config file path(if config file is used) and registers the classloader
require("PPBootStrap.php");
+
+ // Array containing credentials and confiuration parameters. (not required if config file is used)
+ $config = array(
+ 'mode' => 'sandbox',
+ 'acct1.UserName' => 'jb-us-seller_api1.paypal.com',
+ 'acct1.Password' => 'WX4WTU3S8MY44S7F'
+ .....
+ );
// Create request details
$itemAmount = new BasicAmountType($currencyId, $amount);
@@ -65,11 +74,11 @@ For example,
......
// Perform request
- $paypalService = new PayPalAPIInterfaceServiceService();
+ $paypalService = new PayPalAPIInterfaceServiceService($config);
$setECResponse = $paypalService->SetExpressCheckout($setECReq);
// Check results
- if($strtoupper($setECResponse->Ack) == 'SUCCESS') {
+ if(strtoupper($setECResponse->Ack) == 'SUCCESS') {
// Success
}
```
@@ -79,7 +88,7 @@ For example,
The SDK provides multiple ways to authenticate your API call.
```php
- $paypalService = new PayPalAPIInterfaceServiceService();
+ $paypalService = new PayPalAPIInterfaceServiceService($config);
// Use the default account (the first account) configured in sdk_config.ini
$response = $paypalService->SetExpressCheckout($setECReq);
@@ -102,11 +111,8 @@ The SDK allows you to configure the following parameters-
* (Multiple) API account credentials.
* HTTP connection parameters
* Logging
-```php
- define('PP_CONFIG_PATH', '/directory/that/contains/sdk_config.ini');
- $service = new PayPalAPIInterfaceServiceService();
-```
-Alternatively, dynamic configuration values can be set by passing a map of credential and config values (if config map is passed the config file is ignored)
+
+Dynamic configuration values can be set by passing a map of credential and config values (if config map is passed the config file is ignored)
```php
$config = array(
'mode' => 'sandbox',
@@ -114,16 +120,27 @@ Alternatively, dynamic configuration values can be set by passing a map of crede
'acct1.Password' => 'WX4WTU3S8MY44S7F'
.....
);
- $service = new PayPalAPIInterfaceServiceService($config);
+ $service = new PayPalAPIInterfaceServiceService($config);
+```
+Alternatively, credential and configuration can be loaded from a file.
+```php
+ define('PP_CONFIG_PATH', '/directory/that/contains/sdk_config.ini');
+ $service = new PayPalAPIInterfaceServiceService();
```
+You can refer full list of configuration parameters in [wiki](https://github.com/paypal/sdk-core-php/wiki/Configuring-the-SDK) page.
+
Please refer to the sample config file provided with this bundle for more.
## Instant Payment Notification (IPN)
Please refer to the IPN-README in 'samples/IPN' directory.
+## Troubleshooting
+
+ * [Issue with running samples](https://github.com/paypal/merchant-sdk-php/issues/68)
+
## Links
* API Reference - https://developer.paypal.com/webapps/developer/docs/classic/api/#merchant
- * If you need help using the SDK, a new feature that you need or have a issue to report, please visit https://github.com/paypal/merchant-sdk-php/issues
+ * If you need help using the SDK, a new feature that you need or have a issue to report, please visit https://github.com/paypal/merchant-sdk-php/issues
diff --git a/composer.json b/composer.json
index f56fb2bf..8a6f07bf 100644
--- a/composer.json
+++ b/composer.json
@@ -13,7 +13,7 @@
"require": {
"php": ">=5.2.0",
"ext-curl": "*",
- "paypal/sdk-core-php":"v1.4.0"
+ "paypal/sdk-core-php":"1.5.*"
},
"autoload": {
"classmap": ["lib"]
diff --git a/lib/PayPalAPIInterfaceService/APICredentialsType.php b/lib/PayPalAPIInterfaceService/APICredentialsType.php
new file mode 100644
index 00000000..1ed3ef58
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/APICredentialsType.php
@@ -0,0 +1,74 @@
+InitialAmount = $InitialAmount;
+ }
+
+
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/AdditionalFeeType.php b/lib/PayPalAPIInterfaceService/AdditionalFeeType.php
new file mode 100644
index 00000000..1e0aa7df
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/AdditionalFeeType.php
@@ -0,0 +1,33 @@
+';
+ if($this->AddressVerifyRequest != NULL)
+ {
+ $str .= '';
+ $str .= $this->AddressVerifyRequest->toXMLString();
+ $str .= '';
+ }
+ $str .= '';
+ return $str;
+ }
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/AddressVerifyRequestType.php b/lib/PayPalAPIInterfaceService/AddressVerifyRequestType.php
new file mode 100644
index 00000000..6343505b
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/AddressVerifyRequestType.php
@@ -0,0 +1,66 @@
+Email = $Email;
+ $this->Street = $Street;
+ $this->Zip = $Zip;
+ }
+
+
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/AddressVerifyResponseType.php b/lib/PayPalAPIInterfaceService/AddressVerifyResponseType.php
new file mode 100644
index 00000000..235b1a5c
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/AddressVerifyResponseType.php
@@ -0,0 +1,96 @@
+IsRequested = $IsRequested;
+ }
+
+
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/AuthorizationResponseType.php b/lib/PayPalAPIInterfaceService/AuthorizationResponseType.php
new file mode 100644
index 00000000..63e5d146
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/AuthorizationResponseType.php
@@ -0,0 +1,34 @@
+ReferenceID = $ReferenceID;
+ }
+
+
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/BAUpdateResponseDetailsType.php b/lib/PayPalAPIInterfaceService/BAUpdateResponseDetailsType.php
new file mode 100644
index 00000000..4f0371df
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/BAUpdateResponseDetailsType.php
@@ -0,0 +1,89 @@
+';
+ if($this->BMButtonSearchRequest != NULL)
+ {
+ $str .= '';
+ $str .= $this->BMButtonSearchRequest->toXMLString();
+ $str .= '';
+ }
+ $str .= '';
+ return $str;
+ }
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/BMButtonSearchRequestType.php b/lib/PayPalAPIInterfaceService/BMButtonSearchRequestType.php
new file mode 100644
index 00000000..b0d164d6
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/BMButtonSearchRequestType.php
@@ -0,0 +1,36 @@
+';
+ if($this->BMCreateButtonRequest != NULL)
+ {
+ $str .= '';
+ $str .= $this->BMCreateButtonRequest->toXMLString();
+ $str .= '';
+ }
+ $str .= '';
+ return $str;
+ }
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/BMCreateButtonRequestType.php b/lib/PayPalAPIInterfaceService/BMCreateButtonRequestType.php
new file mode 100644
index 00000000..891083f4
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/BMCreateButtonRequestType.php
@@ -0,0 +1,174 @@
+ButtonVar as $var){
+ if(strpos($var, 'bn=') !== FALSE){
+ $flag = 1;
+ break;
+ }
+ }
+ if(!$flag){
+ array_push($this->ButtonVar, "bn=PayPal_SDK");
+ }
+ return parent::toXMLString();
+ }
+
+}
diff --git a/lib/PayPalAPIInterfaceService/BMCreateButtonResponseType.php b/lib/PayPalAPIInterfaceService/BMCreateButtonResponseType.php
new file mode 100644
index 00000000..1e6e8f2e
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/BMCreateButtonResponseType.php
@@ -0,0 +1,53 @@
+';
+ if($this->BMGetButtonDetailsRequest != NULL)
+ {
+ $str .= '';
+ $str .= $this->BMGetButtonDetailsRequest->toXMLString();
+ $str .= '';
+ }
+ $str .= '';
+ return $str;
+ }
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/BMGetButtonDetailsRequestType.php b/lib/PayPalAPIInterfaceService/BMGetButtonDetailsRequestType.php
new file mode 100644
index 00000000..1e9c1d23
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/BMGetButtonDetailsRequestType.php
@@ -0,0 +1,31 @@
+HostedButtonID = $HostedButtonID;
+ }
+
+
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/BMGetButtonDetailsResponseType.php b/lib/PayPalAPIInterfaceService/BMGetButtonDetailsResponseType.php
new file mode 100644
index 00000000..fbadd8f7
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/BMGetButtonDetailsResponseType.php
@@ -0,0 +1,197 @@
+';
+ if($this->BMGetInventoryRequest != NULL)
+ {
+ $str .= '';
+ $str .= $this->BMGetInventoryRequest->toXMLString();
+ $str .= '';
+ }
+ $str .= '';
+ return $str;
+ }
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/BMGetInventoryRequestType.php b/lib/PayPalAPIInterfaceService/BMGetInventoryRequestType.php
new file mode 100644
index 00000000..087b1323
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/BMGetInventoryRequestType.php
@@ -0,0 +1,33 @@
+HostedButtonID = $HostedButtonID;
+ }
+
+
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/BMGetInventoryResponseType.php b/lib/PayPalAPIInterfaceService/BMGetInventoryResponseType.php
new file mode 100644
index 00000000..ae032590
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/BMGetInventoryResponseType.php
@@ -0,0 +1,110 @@
+';
+ if($this->BMManageButtonStatusRequest != NULL)
+ {
+ $str .= '';
+ $str .= $this->BMManageButtonStatusRequest->toXMLString();
+ $str .= '';
+ }
+ $str .= '';
+ return $str;
+ }
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/BMManageButtonStatusRequestType.php b/lib/PayPalAPIInterfaceService/BMManageButtonStatusRequestType.php
new file mode 100644
index 00000000..559695da
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/BMManageButtonStatusRequestType.php
@@ -0,0 +1,37 @@
+';
+ if($this->BMSetInventoryRequest != NULL)
+ {
+ $str .= '';
+ $str .= $this->BMSetInventoryRequest->toXMLString();
+ $str .= '';
+ }
+ $str .= '';
+ return $str;
+ }
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/BMSetInventoryRequestType.php b/lib/PayPalAPIInterfaceService/BMSetInventoryRequestType.php
new file mode 100644
index 00000000..7d91433f
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/BMSetInventoryRequestType.php
@@ -0,0 +1,144 @@
+HostedButtonID = $HostedButtonID;
+ $this->TrackInv = $TrackInv;
+ $this->TrackPnl = $TrackPnl;
+ }
+
+
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/BMSetInventoryResponseType.php b/lib/PayPalAPIInterfaceService/BMSetInventoryResponseType.php
new file mode 100644
index 00000000..024a9365
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/BMSetInventoryResponseType.php
@@ -0,0 +1,9 @@
+';
+ if($this->BMUpdateButtonRequest != NULL)
+ {
+ $str .= '';
+ $str .= $this->BMUpdateButtonRequest->toXMLString();
+ $str .= '';
+ }
+ $str .= '';
+ return $str;
+ }
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/BMUpdateButtonRequestType.php b/lib/PayPalAPIInterfaceService/BMUpdateButtonRequestType.php
new file mode 100644
index 00000000..05b5cb39
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/BMUpdateButtonRequestType.php
@@ -0,0 +1,194 @@
+HostedButtonID = $HostedButtonID;
+ }
+
+
+
+ public function toXMLString()
+ {
+ $flag = 0;
+ foreach($this->ButtonVar as $var){
+ if(strpos($var, 'bn=') !== FALSE){
+ $flag = 1;
+ break;
+ }
+ }
+ if(!$flag){
+ array_push($this->ButtonVar, "bn=PayPal_SDK");
+ }
+ return parent::toXMLString();
+ }
+
+}
diff --git a/lib/PayPalAPIInterfaceService/BMUpdateButtonResponseType.php b/lib/PayPalAPIInterfaceService/BMUpdateButtonResponseType.php
new file mode 100644
index 00000000..954cc01b
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/BMUpdateButtonResponseType.php
@@ -0,0 +1,53 @@
+currencyID = $currencyID;
+ $this->value = $value;
+ }
+
+
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/BillAgreementUpdateReq.php b/lib/PayPalAPIInterfaceService/BillAgreementUpdateReq.php
new file mode 100644
index 00000000..e0bf59e5
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/BillAgreementUpdateReq.php
@@ -0,0 +1,35 @@
+';
+ if($this->BAUpdateRequest != NULL)
+ {
+ $str .= '';
+ $str .= $this->BAUpdateRequest->toXMLString();
+ $str .= '';
+ }
+ $str .= '';
+ return $str;
+ }
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/BillOutstandingAmountReq.php b/lib/PayPalAPIInterfaceService/BillOutstandingAmountReq.php
new file mode 100644
index 00000000..8ff77942
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/BillOutstandingAmountReq.php
@@ -0,0 +1,35 @@
+';
+ if($this->BillOutstandingAmountRequest != NULL)
+ {
+ $str .= '';
+ $str .= $this->BillOutstandingAmountRequest->toXMLString();
+ $str .= '';
+ }
+ $str .= '';
+ return $str;
+ }
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/BillOutstandingAmountRequestDetailsType.php b/lib/PayPalAPIInterfaceService/BillOutstandingAmountRequestDetailsType.php
new file mode 100644
index 00000000..aafbf774
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/BillOutstandingAmountRequestDetailsType.php
@@ -0,0 +1,51 @@
+ProfileID = $ProfileID;
+ }
+
+
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/BillOutstandingAmountRequestType.php b/lib/PayPalAPIInterfaceService/BillOutstandingAmountRequestType.php
new file mode 100644
index 00000000..b5e8c3e6
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/BillOutstandingAmountRequestType.php
@@ -0,0 +1,22 @@
+';
+ if($this->BillUserRequest != NULL)
+ {
+ $str .= '';
+ $str .= $this->BillUserRequest->toXMLString();
+ $str .= '';
+ }
+ $str .= '';
+ return $str;
+ }
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/BillUserRequestType.php b/lib/PayPalAPIInterfaceService/BillUserRequestType.php
new file mode 100644
index 00000000..649092d6
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/BillUserRequestType.php
@@ -0,0 +1,35 @@
+BillingType = $BillingType;
+ }
+
+
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/BillingApprovalDetailsType.php b/lib/PayPalAPIInterfaceService/BillingApprovalDetailsType.php
new file mode 100644
index 00000000..8690fdfe
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/BillingApprovalDetailsType.php
@@ -0,0 +1,77 @@
+ApprovalType = $ApprovalType;
+ }
+
+
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/BillingPeriodDetailsType.php b/lib/PayPalAPIInterfaceService/BillingPeriodDetailsType.php
new file mode 100644
index 00000000..8151c6a1
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/BillingPeriodDetailsType.php
@@ -0,0 +1,86 @@
+BillingPeriod = $BillingPeriod;
+ $this->BillingFrequency = $BillingFrequency;
+ $this->Amount = $Amount;
+ }
+
+
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/BillingPeriodDetailsType_Update.php b/lib/PayPalAPIInterfaceService/BillingPeriodDetailsType_Update.php
new file mode 100644
index 00000000..ffe5730a
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/BillingPeriodDetailsType_Update.php
@@ -0,0 +1,77 @@
+';
+ if($this->CancelRecoupRequest != NULL)
+ {
+ $str .= '';
+ $str .= $this->CancelRecoupRequest->toXMLString();
+ $str .= '';
+ }
+ $str .= '';
+ return $str;
+ }
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/CancelRecoupRequestType.php b/lib/PayPalAPIInterfaceService/CancelRecoupRequestType.php
new file mode 100644
index 00000000..4f14083e
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/CancelRecoupRequestType.php
@@ -0,0 +1,29 @@
+EnhancedCancelRecoupRequestDetails = $EnhancedCancelRecoupRequestDetails;
+ }
+
+
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/CancelRecoupResponseType.php b/lib/PayPalAPIInterfaceService/CancelRecoupResponseType.php
new file mode 100644
index 00000000..f31e0342
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/CancelRecoupResponseType.php
@@ -0,0 +1,9 @@
+';
+ if($this->CompleteRecoupRequest != NULL)
+ {
+ $str .= '';
+ $str .= $this->CompleteRecoupRequest->toXMLString();
+ $str .= '';
+ }
+ $str .= '';
+ return $str;
+ }
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/CompleteRecoupRequestType.php b/lib/PayPalAPIInterfaceService/CompleteRecoupRequestType.php
new file mode 100644
index 00000000..17902f0a
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/CompleteRecoupRequestType.php
@@ -0,0 +1,29 @@
+EnhancedCompleteRecoupRequestDetails = $EnhancedCompleteRecoupRequestDetails;
+ }
+
+
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/CompleteRecoupResponseType.php b/lib/PayPalAPIInterfaceService/CompleteRecoupResponseType.php
new file mode 100644
index 00000000..b326e4a1
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/CompleteRecoupResponseType.php
@@ -0,0 +1,20 @@
+PaymentRequestID = $PaymentRequestID;
+ }
+
+
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/CoupledPaymentInfoType.php b/lib/PayPalAPIInterfaceService/CoupledPaymentInfoType.php
new file mode 100644
index 00000000..e96fd767
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/CoupledPaymentInfoType.php
@@ -0,0 +1,32 @@
+';
+ if($this->CreateBillingAgreementRequest != NULL)
+ {
+ $str .= '';
+ $str .= $this->CreateBillingAgreementRequest->toXMLString();
+ $str .= '';
+ }
+ $str .= '';
+ return $str;
+ }
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/CreateBillingAgreementRequestType.php b/lib/PayPalAPIInterfaceService/CreateBillingAgreementRequestType.php
new file mode 100644
index 00000000..8fcb9594
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/CreateBillingAgreementRequestType.php
@@ -0,0 +1,29 @@
+Token = $Token;
+ }
+
+
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/CreateBillingAgreementResponseType.php b/lib/PayPalAPIInterfaceService/CreateBillingAgreementResponseType.php
new file mode 100644
index 00000000..36cb4795
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/CreateBillingAgreementResponseType.php
@@ -0,0 +1,20 @@
+';
+ if($this->CreateMobilePaymentRequest != NULL)
+ {
+ $str .= '';
+ $str .= $this->CreateMobilePaymentRequest->toXMLString();
+ $str .= '';
+ }
+ $str .= '';
+ return $str;
+ }
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/CreateMobilePaymentRequestDetailsType.php b/lib/PayPalAPIInterfaceService/CreateMobilePaymentRequestDetailsType.php
new file mode 100644
index 00000000..441d0b0b
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/CreateMobilePaymentRequestDetailsType.php
@@ -0,0 +1,189 @@
+CreateMobilePaymentRequestDetails = $CreateMobilePaymentRequestDetails;
+ }
+
+
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/CreateMobilePaymentResponseType.php b/lib/PayPalAPIInterfaceService/CreateMobilePaymentResponseType.php
new file mode 100644
index 00000000..ffb95834
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/CreateMobilePaymentResponseType.php
@@ -0,0 +1,9 @@
+';
+ if($this->CreateRecurringPaymentsProfileRequest != NULL)
+ {
+ $str .= '';
+ $str .= $this->CreateRecurringPaymentsProfileRequest->toXMLString();
+ $str .= '';
+ }
+ $str .= '';
+ return $str;
+ }
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/CreateRecurringPaymentsProfileRequestDetailsType.php b/lib/PayPalAPIInterfaceService/CreateRecurringPaymentsProfileRequestDetailsType.php
new file mode 100644
index 00000000..edc4d317
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/CreateRecurringPaymentsProfileRequestDetailsType.php
@@ -0,0 +1,76 @@
+RecurringPaymentsProfileDetails = $RecurringPaymentsProfileDetails;
+ $this->ScheduleDetails = $ScheduleDetails;
+ }
+
+
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/CreateRecurringPaymentsProfileRequestType.php b/lib/PayPalAPIInterfaceService/CreateRecurringPaymentsProfileRequestType.php
new file mode 100644
index 00000000..7aabfa22
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/CreateRecurringPaymentsProfileRequestType.php
@@ -0,0 +1,22 @@
+Amount = $Amount;
+ }
+
+
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/DisplayControlDetailsType.php b/lib/PayPalAPIInterfaceService/DisplayControlDetailsType.php
new file mode 100644
index 00000000..a711d8f0
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/DisplayControlDetailsType.php
@@ -0,0 +1,25 @@
+';
+ if($this->DoAuthorizationRequest != NULL)
+ {
+ $str .= '';
+ $str .= $this->DoAuthorizationRequest->toXMLString();
+ $str .= '';
+ }
+ $str .= '';
+ return $str;
+ }
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/DoAuthorizationRequestType.php b/lib/PayPalAPIInterfaceService/DoAuthorizationRequestType.php
new file mode 100644
index 00000000..f8f74d9a
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/DoAuthorizationRequestType.php
@@ -0,0 +1,221 @@
+TransactionID = $TransactionID;
+ $this->Amount = $Amount;
+ }
+
+
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/DoAuthorizationResponseType.php b/lib/PayPalAPIInterfaceService/DoAuthorizationResponseType.php
new file mode 100644
index 00000000..20e0f4cd
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/DoAuthorizationResponseType.php
@@ -0,0 +1,55 @@
+';
+ if($this->DoCancelRequest != NULL)
+ {
+ $str .= '';
+ $str .= $this->DoCancelRequest->toXMLString();
+ $str .= '';
+ }
+ $str .= '';
+ return $str;
+ }
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/DoCancelRequestType.php b/lib/PayPalAPIInterfaceService/DoCancelRequestType.php
new file mode 100644
index 00000000..6b32d03e
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/DoCancelRequestType.php
@@ -0,0 +1,54 @@
+CancelMsgSubID = $CancelMsgSubID;
+ $this->APIType = $APIType;
+ }
+
+
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/DoCancelResponseType.php b/lib/PayPalAPIInterfaceService/DoCancelResponseType.php
new file mode 100644
index 00000000..ffa393b0
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/DoCancelResponseType.php
@@ -0,0 +1,20 @@
+';
+ if($this->DoCaptureRequest != NULL)
+ {
+ $str .= '';
+ $str .= $this->DoCaptureRequest->toXMLString();
+ $str .= '';
+ }
+ $str .= '';
+ return $str;
+ }
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/DoCaptureRequestType.php b/lib/PayPalAPIInterfaceService/DoCaptureRequestType.php
new file mode 100644
index 00000000..a1f612ef
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/DoCaptureRequestType.php
@@ -0,0 +1,156 @@
+AuthorizationID = $AuthorizationID;
+ $this->Amount = $Amount;
+ $this->CompleteType = $CompleteType;
+ }
+
+
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/DoCaptureResponseDetailsType.php b/lib/PayPalAPIInterfaceService/DoCaptureResponseDetailsType.php
new file mode 100644
index 00000000..3efe3d51
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/DoCaptureResponseDetailsType.php
@@ -0,0 +1,58 @@
+';
+ if($this->DoDirectPaymentRequest != NULL)
+ {
+ $str .= '';
+ $str .= $this->DoDirectPaymentRequest->toXMLString();
+ $str .= '';
+ }
+ $str .= '';
+ return $str;
+ }
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/DoDirectPaymentRequestDetailsType.php b/lib/PayPalAPIInterfaceService/DoDirectPaymentRequestDetailsType.php
new file mode 100644
index 00000000..e347f52a
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/DoDirectPaymentRequestDetailsType.php
@@ -0,0 +1,96 @@
+DoDirectPaymentRequestDetails = $DoDirectPaymentRequestDetails;
+ }
+
+
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/DoDirectPaymentResponseType.php b/lib/PayPalAPIInterfaceService/DoDirectPaymentResponseType.php
new file mode 100644
index 00000000..256921ff
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/DoDirectPaymentResponseType.php
@@ -0,0 +1,130 @@
+';
+ if($this->DoExpressCheckoutPaymentRequest != NULL)
+ {
+ $str .= '';
+ $str .= $this->DoExpressCheckoutPaymentRequest->toXMLString();
+ $str .= '';
+ }
+ $str .= '';
+ return $str;
+ }
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/DoExpressCheckoutPaymentRequestDetailsType.php b/lib/PayPalAPIInterfaceService/DoExpressCheckoutPaymentRequestDetailsType.php
new file mode 100644
index 00000000..5f84ad7f
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/DoExpressCheckoutPaymentRequestDetailsType.php
@@ -0,0 +1,279 @@
+DoExpressCheckoutPaymentRequestDetails = $DoExpressCheckoutPaymentRequestDetails;
+ }
+
+
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/DoExpressCheckoutPaymentResponseDetailsType.php b/lib/PayPalAPIInterfaceService/DoExpressCheckoutPaymentResponseDetailsType.php
new file mode 100644
index 00000000..86c4f4f8
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/DoExpressCheckoutPaymentResponseDetailsType.php
@@ -0,0 +1,107 @@
+';
+ if($this->DoMobileCheckoutPaymentRequest != NULL)
+ {
+ $str .= '';
+ $str .= $this->DoMobileCheckoutPaymentRequest->toXMLString();
+ $str .= '';
+ }
+ $str .= '';
+ return $str;
+ }
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/DoMobileCheckoutPaymentRequestType.php b/lib/PayPalAPIInterfaceService/DoMobileCheckoutPaymentRequestType.php
new file mode 100644
index 00000000..828f95a1
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/DoMobileCheckoutPaymentRequestType.php
@@ -0,0 +1,33 @@
+Token = $Token;
+ }
+
+
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/DoMobileCheckoutPaymentResponseDetailsType.php b/lib/PayPalAPIInterfaceService/DoMobileCheckoutPaymentResponseDetailsType.php
new file mode 100644
index 00000000..02e45022
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/DoMobileCheckoutPaymentResponseDetailsType.php
@@ -0,0 +1,61 @@
+';
+ if($this->DoNonReferencedCreditRequest != NULL)
+ {
+ $str .= '';
+ $str .= $this->DoNonReferencedCreditRequest->toXMLString();
+ $str .= '';
+ }
+ $str .= '';
+ return $str;
+ }
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/DoNonReferencedCreditRequestDetailsType.php b/lib/PayPalAPIInterfaceService/DoNonReferencedCreditRequestDetailsType.php
new file mode 100644
index 00000000..8ada751e
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/DoNonReferencedCreditRequestDetailsType.php
@@ -0,0 +1,88 @@
+DoNonReferencedCreditRequestDetails = $DoNonReferencedCreditRequestDetails;
+ }
+
+
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/DoNonReferencedCreditResponseDetailsType.php b/lib/PayPalAPIInterfaceService/DoNonReferencedCreditResponseDetailsType.php
new file mode 100644
index 00000000..b7f60479
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/DoNonReferencedCreditResponseDetailsType.php
@@ -0,0 +1,31 @@
+';
+ if($this->DoReauthorizationRequest != NULL)
+ {
+ $str .= '';
+ $str .= $this->DoReauthorizationRequest->toXMLString();
+ $str .= '';
+ }
+ $str .= '';
+ return $str;
+ }
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/DoReauthorizationRequestType.php b/lib/PayPalAPIInterfaceService/DoReauthorizationRequestType.php
new file mode 100644
index 00000000..cc69c4e9
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/DoReauthorizationRequestType.php
@@ -0,0 +1,67 @@
+AuthorizationID = $AuthorizationID;
+ $this->Amount = $Amount;
+ }
+
+
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/DoReauthorizationResponseType.php b/lib/PayPalAPIInterfaceService/DoReauthorizationResponseType.php
new file mode 100644
index 00000000..8d5b62d1
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/DoReauthorizationResponseType.php
@@ -0,0 +1,44 @@
+';
+ if($this->DoReferenceTransactionRequest != NULL)
+ {
+ $str .= '';
+ $str .= $this->DoReferenceTransactionRequest->toXMLString();
+ $str .= '';
+ }
+ $str .= '';
+ return $str;
+ }
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/DoReferenceTransactionRequestDetailsType.php b/lib/PayPalAPIInterfaceService/DoReferenceTransactionRequestDetailsType.php
new file mode 100644
index 00000000..63948238
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/DoReferenceTransactionRequestDetailsType.php
@@ -0,0 +1,143 @@
+ReferenceID = $ReferenceID;
+ $this->PaymentAction = $PaymentAction;
+ $this->PaymentDetails = $PaymentDetails;
+ }
+
+
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/DoReferenceTransactionRequestType.php b/lib/PayPalAPIInterfaceService/DoReferenceTransactionRequestType.php
new file mode 100644
index 00000000..ab88b043
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/DoReferenceTransactionRequestType.php
@@ -0,0 +1,42 @@
+DoReferenceTransactionRequestDetails = $DoReferenceTransactionRequestDetails;
+ }
+
+
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/DoReferenceTransactionResponseDetailsType.php b/lib/PayPalAPIInterfaceService/DoReferenceTransactionResponseDetailsType.php
new file mode 100644
index 00000000..a63ff550
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/DoReferenceTransactionResponseDetailsType.php
@@ -0,0 +1,98 @@
+';
+ if($this->DoUATPAuthorizationRequest != NULL)
+ {
+ $str .= '';
+ $str .= $this->DoUATPAuthorizationRequest->toXMLString();
+ $str .= '';
+ }
+ $str .= '';
+ return $str;
+ }
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/DoUATPAuthorizationRequestType.php b/lib/PayPalAPIInterfaceService/DoUATPAuthorizationRequestType.php
new file mode 100644
index 00000000..ad575bec
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/DoUATPAuthorizationRequestType.php
@@ -0,0 +1,81 @@
+UATPDetails = $UATPDetails;
+ $this->Amount = $Amount;
+ }
+
+
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/DoUATPAuthorizationResponseType.php b/lib/PayPalAPIInterfaceService/DoUATPAuthorizationResponseType.php
new file mode 100644
index 00000000..029c3611
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/DoUATPAuthorizationResponseType.php
@@ -0,0 +1,55 @@
+';
+ if($this->DoUATPExpressCheckoutPaymentRequest != NULL)
+ {
+ $str .= '';
+ $str .= $this->DoUATPExpressCheckoutPaymentRequest->toXMLString();
+ $str .= '';
+ }
+ $str .= '';
+ return $str;
+ }
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/DoUATPExpressCheckoutPaymentRequestType.php b/lib/PayPalAPIInterfaceService/DoUATPExpressCheckoutPaymentRequestType.php
new file mode 100644
index 00000000..106c0b19
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/DoUATPExpressCheckoutPaymentRequestType.php
@@ -0,0 +1,11 @@
+';
+ if($this->DoVoidRequest != NULL)
+ {
+ $str .= '';
+ $str .= $this->DoVoidRequest->toXMLString();
+ $str .= '';
+ }
+ $str .= '';
+ return $str;
+ }
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/DoVoidRequestType.php b/lib/PayPalAPIInterfaceService/DoVoidRequestType.php
new file mode 100644
index 00000000..523a6612
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/DoVoidRequestType.php
@@ -0,0 +1,66 @@
+AuthorizationID = $AuthorizationID;
+ }
+
+
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/DoVoidResponseType.php b/lib/PayPalAPIInterfaceService/DoVoidResponseType.php
new file mode 100644
index 00000000..1294662d
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/DoVoidResponseType.php
@@ -0,0 +1,35 @@
+';
+ if($this->EnterBoardingRequest != NULL)
+ {
+ $str .= '';
+ $str .= $this->EnterBoardingRequest->toXMLString();
+ $str .= '';
+ }
+ $str .= '';
+ return $str;
+ }
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/EnterBoardingRequestDetailsType.php b/lib/PayPalAPIInterfaceService/EnterBoardingRequestDetailsType.php
new file mode 100644
index 00000000..6bb39eaf
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/EnterBoardingRequestDetailsType.php
@@ -0,0 +1,118 @@
+EnterBoardingRequestDetails = $EnterBoardingRequestDetails;
+ }
+
+
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/EnterBoardingResponseType.php b/lib/PayPalAPIInterfaceService/EnterBoardingResponseType.php
new file mode 100644
index 00000000..be62d034
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/EnterBoardingResponseType.php
@@ -0,0 +1,26 @@
+';
+ if($this->ExecuteCheckoutOperationsRequest != NULL)
+ {
+ $str .= '';
+ $str .= $this->ExecuteCheckoutOperationsRequest->toXMLString();
+ $str .= '';
+ }
+ $str .= '';
+ return $str;
+ }
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/ExecuteCheckoutOperationsRequestDetailsType.php b/lib/PayPalAPIInterfaceService/ExecuteCheckoutOperationsRequestDetailsType.php
new file mode 100644
index 00000000..ea151ddf
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/ExecuteCheckoutOperationsRequestDetailsType.php
@@ -0,0 +1,67 @@
+SetDataRequest = $SetDataRequest;
+ }
+
+
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/ExecuteCheckoutOperationsRequestType.php b/lib/PayPalAPIInterfaceService/ExecuteCheckoutOperationsRequestType.php
new file mode 100644
index 00000000..f7da42e7
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/ExecuteCheckoutOperationsRequestType.php
@@ -0,0 +1,29 @@
+ExecuteCheckoutOperationsRequestDetails = $ExecuteCheckoutOperationsRequestDetails;
+ }
+
+
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/ExecuteCheckoutOperationsResponseDetailsType.php b/lib/PayPalAPIInterfaceService/ExecuteCheckoutOperationsResponseDetailsType.php
new file mode 100644
index 00000000..d0c8d1c6
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/ExecuteCheckoutOperationsResponseDetailsType.php
@@ -0,0 +1,31 @@
+';
+ if($this->ExternalRememberMeOptOutRequest != NULL)
+ {
+ $str .= '';
+ $str .= $this->ExternalRememberMeOptOutRequest->toXMLString();
+ $str .= '';
+ }
+ $str .= '';
+ return $str;
+ }
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/ExternalRememberMeOptOutRequestType.php b/lib/PayPalAPIInterfaceService/ExternalRememberMeOptOutRequestType.php
new file mode 100644
index 00000000..c39d8576
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/ExternalRememberMeOptOutRequestType.php
@@ -0,0 +1,49 @@
+ExternalRememberMeID = $ExternalRememberMeID;
+ }
+
+
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/ExternalRememberMeOptOutResponseType.php b/lib/PayPalAPIInterfaceService/ExternalRememberMeOptOutResponseType.php
new file mode 100644
index 00000000..78ff575f
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/ExternalRememberMeOptOutResponseType.php
@@ -0,0 +1,9 @@
+';
+ if($this->GetAccessPermissionDetailsRequest != NULL)
+ {
+ $str .= '';
+ $str .= $this->GetAccessPermissionDetailsRequest->toXMLString();
+ $str .= '';
+ }
+ $str .= '';
+ return $str;
+ }
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/GetAccessPermissionDetailsRequestType.php b/lib/PayPalAPIInterfaceService/GetAccessPermissionDetailsRequestType.php
new file mode 100644
index 00000000..3148d6a8
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/GetAccessPermissionDetailsRequestType.php
@@ -0,0 +1,33 @@
+Token = $Token;
+ }
+
+
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/GetAccessPermissionDetailsResponseDetailsType.php b/lib/PayPalAPIInterfaceService/GetAccessPermissionDetailsResponseDetailsType.php
new file mode 100644
index 00000000..59edfafb
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/GetAccessPermissionDetailsResponseDetailsType.php
@@ -0,0 +1,83 @@
+';
+ if($this->GetAuthDetailsRequest != NULL)
+ {
+ $str .= '';
+ $str .= $this->GetAuthDetailsRequest->toXMLString();
+ $str .= '';
+ }
+ $str .= '';
+ return $str;
+ }
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/GetAuthDetailsRequestType.php b/lib/PayPalAPIInterfaceService/GetAuthDetailsRequestType.php
new file mode 100644
index 00000000..b13e21d9
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/GetAuthDetailsRequestType.php
@@ -0,0 +1,33 @@
+Token = $Token;
+ }
+
+
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/GetAuthDetailsResponseDetailsType.php b/lib/PayPalAPIInterfaceService/GetAuthDetailsResponseDetailsType.php
new file mode 100644
index 00000000..7d84e157
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/GetAuthDetailsResponseDetailsType.php
@@ -0,0 +1,59 @@
+';
+ if($this->GetBalanceRequest != NULL)
+ {
+ $str .= '';
+ $str .= $this->GetBalanceRequest->toXMLString();
+ $str .= '';
+ }
+ $str .= '';
+ return $str;
+ }
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/GetBalanceRequestType.php b/lib/PayPalAPIInterfaceService/GetBalanceRequestType.php
new file mode 100644
index 00000000..e5b58e51
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/GetBalanceRequestType.php
@@ -0,0 +1,22 @@
+';
+ if($this->GetBillingAgreementCustomerDetailsRequest != NULL)
+ {
+ $str .= '';
+ $str .= $this->GetBillingAgreementCustomerDetailsRequest->toXMLString();
+ $str .= '';
+ }
+ $str .= '';
+ return $str;
+ }
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/GetBillingAgreementCustomerDetailsRequestType.php b/lib/PayPalAPIInterfaceService/GetBillingAgreementCustomerDetailsRequestType.php
new file mode 100644
index 00000000..0c553050
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/GetBillingAgreementCustomerDetailsRequestType.php
@@ -0,0 +1,29 @@
+Token = $Token;
+ }
+
+
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/GetBillingAgreementCustomerDetailsResponseDetailsType.php b/lib/PayPalAPIInterfaceService/GetBillingAgreementCustomerDetailsResponseDetailsType.php
new file mode 100644
index 00000000..ecc0500e
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/GetBillingAgreementCustomerDetailsResponseDetailsType.php
@@ -0,0 +1,35 @@
+';
+ if($this->GetBoardingDetailsRequest != NULL)
+ {
+ $str .= '';
+ $str .= $this->GetBoardingDetailsRequest->toXMLString();
+ $str .= '';
+ }
+ $str .= '';
+ return $str;
+ }
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/GetBoardingDetailsRequestType.php b/lib/PayPalAPIInterfaceService/GetBoardingDetailsRequestType.php
new file mode 100644
index 00000000..484893a7
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/GetBoardingDetailsRequestType.php
@@ -0,0 +1,35 @@
+Token = $Token;
+ }
+
+
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/GetBoardingDetailsResponseDetailsType.php b/lib/PayPalAPIInterfaceService/GetBoardingDetailsResponseDetailsType.php
new file mode 100644
index 00000000..4438761b
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/GetBoardingDetailsResponseDetailsType.php
@@ -0,0 +1,188 @@
+';
+ if($this->GetExpressCheckoutDetailsRequest != NULL)
+ {
+ $str .= '';
+ $str .= $this->GetExpressCheckoutDetailsRequest->toXMLString();
+ $str .= '';
+ }
+ $str .= '';
+ return $str;
+ }
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/GetExpressCheckoutDetailsRequestType.php b/lib/PayPalAPIInterfaceService/GetExpressCheckoutDetailsRequestType.php
new file mode 100644
index 00000000..af60ce11
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/GetExpressCheckoutDetailsRequestType.php
@@ -0,0 +1,33 @@
+Token = $Token;
+ }
+
+
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/GetExpressCheckoutDetailsResponseDetailsType.php b/lib/PayPalAPIInterfaceService/GetExpressCheckoutDetailsResponseDetailsType.php
new file mode 100644
index 00000000..279f53bd
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/GetExpressCheckoutDetailsResponseDetailsType.php
@@ -0,0 +1,305 @@
+';
+ if($this->GetIncentiveEvaluationRequest != NULL)
+ {
+ $str .= '';
+ $str .= $this->GetIncentiveEvaluationRequest->toXMLString();
+ $str .= '';
+ }
+ $str .= '';
+ return $str;
+ }
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/GetIncentiveEvaluationRequestDetailsType.php b/lib/PayPalAPIInterfaceService/GetIncentiveEvaluationRequestDetailsType.php
new file mode 100644
index 00000000..dd8b2eed
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/GetIncentiveEvaluationRequestDetailsType.php
@@ -0,0 +1,80 @@
+GetIncentiveEvaluationRequestDetails = $GetIncentiveEvaluationRequestDetails;
+ }
+
+
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/GetIncentiveEvaluationResponseDetailsType.php b/lib/PayPalAPIInterfaceService/GetIncentiveEvaluationResponseDetailsType.php
new file mode 100644
index 00000000..f2c71d66
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/GetIncentiveEvaluationResponseDetailsType.php
@@ -0,0 +1,32 @@
+';
+ if($this->GetMobileStatusRequest != NULL)
+ {
+ $str .= '';
+ $str .= $this->GetMobileStatusRequest->toXMLString();
+ $str .= '';
+ }
+ $str .= '';
+ return $str;
+ }
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/GetMobileStatusRequestDetailsType.php b/lib/PayPalAPIInterfaceService/GetMobileStatusRequestDetailsType.php
new file mode 100644
index 00000000..e14c277b
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/GetMobileStatusRequestDetailsType.php
@@ -0,0 +1,22 @@
+GetMobileStatusRequestDetails = $GetMobileStatusRequestDetails;
+ }
+
+
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/GetMobileStatusResponseType.php b/lib/PayPalAPIInterfaceService/GetMobileStatusResponseType.php
new file mode 100644
index 00000000..f003b2da
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/GetMobileStatusResponseType.php
@@ -0,0 +1,45 @@
+';
+ if($this->GetPalDetailsRequest != NULL)
+ {
+ $str .= '';
+ $str .= $this->GetPalDetailsRequest->toXMLString();
+ $str .= '';
+ }
+ $str .= '';
+ return $str;
+ }
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/GetPalDetailsRequestType.php b/lib/PayPalAPIInterfaceService/GetPalDetailsRequestType.php
new file mode 100644
index 00000000..b7e3d364
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/GetPalDetailsRequestType.php
@@ -0,0 +1,11 @@
+';
+ if($this->GetRecurringPaymentsProfileDetailsRequest != NULL)
+ {
+ $str .= '';
+ $str .= $this->GetRecurringPaymentsProfileDetailsRequest->toXMLString();
+ $str .= '';
+ }
+ $str .= '';
+ return $str;
+ }
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/GetRecurringPaymentsProfileDetailsRequestType.php b/lib/PayPalAPIInterfaceService/GetRecurringPaymentsProfileDetailsRequestType.php
new file mode 100644
index 00000000..64cd3276
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/GetRecurringPaymentsProfileDetailsRequestType.php
@@ -0,0 +1,29 @@
+ProfileID = $ProfileID;
+ }
+
+
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/GetRecurringPaymentsProfileDetailsResponseDetailsType.php b/lib/PayPalAPIInterfaceService/GetRecurringPaymentsProfileDetailsResponseDetailsType.php
new file mode 100644
index 00000000..601c3a18
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/GetRecurringPaymentsProfileDetailsResponseDetailsType.php
@@ -0,0 +1,185 @@
+';
+ if($this->GetTransactionDetailsRequest != NULL)
+ {
+ $str .= '';
+ $str .= $this->GetTransactionDetailsRequest->toXMLString();
+ $str .= '';
+ }
+ $str .= '';
+ return $str;
+ }
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/GetTransactionDetailsRequestType.php b/lib/PayPalAPIInterfaceService/GetTransactionDetailsRequestType.php
new file mode 100644
index 00000000..61052c69
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/GetTransactionDetailsRequestType.php
@@ -0,0 +1,30 @@
+AccessToken = $AccessToken;
+ }
+
+
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/IncentiveAppliedDetailsType.php b/lib/PayPalAPIInterfaceService/IncentiveAppliedDetailsType.php
new file mode 100644
index 00000000..3bd09fc4
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/IncentiveAppliedDetailsType.php
@@ -0,0 +1,65 @@
+';
+ if($this->InitiateRecoupRequest != NULL)
+ {
+ $str .= '';
+ $str .= $this->InitiateRecoupRequest->toXMLString();
+ $str .= '';
+ }
+ $str .= '';
+ return $str;
+ }
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/InitiateRecoupRequestType.php b/lib/PayPalAPIInterfaceService/InitiateRecoupRequestType.php
new file mode 100644
index 00000000..eeab420d
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/InitiateRecoupRequestType.php
@@ -0,0 +1,29 @@
+EnhancedInitiateRecoupRequestDetails = $EnhancedInitiateRecoupRequestDetails;
+ }
+
+
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/InitiateRecoupResponseType.php b/lib/PayPalAPIInterfaceService/InitiateRecoupResponseType.php
new file mode 100644
index 00000000..f64d2249
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/InitiateRecoupResponseType.php
@@ -0,0 +1,9 @@
+';
+ if($this->ManagePendingTransactionStatusRequest != NULL)
+ {
+ $str .= '';
+ $str .= $this->ManagePendingTransactionStatusRequest->toXMLString();
+ $str .= '';
+ }
+ $str .= '';
+ return $str;
+ }
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/ManagePendingTransactionStatusRequestType.php b/lib/PayPalAPIInterfaceService/ManagePendingTransactionStatusRequestType.php
new file mode 100644
index 00000000..67ca335d
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/ManagePendingTransactionStatusRequestType.php
@@ -0,0 +1,41 @@
+TransactionID = $TransactionID;
+ $this->Action = $Action;
+ }
+
+
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/ManagePendingTransactionStatusResponseType.php b/lib/PayPalAPIInterfaceService/ManagePendingTransactionStatusResponseType.php
new file mode 100644
index 00000000..d9a711c8
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/ManagePendingTransactionStatusResponseType.php
@@ -0,0 +1,31 @@
+';
+ if($this->ManageRecurringPaymentsProfileStatusRequest != NULL)
+ {
+ $str .= '';
+ $str .= $this->ManageRecurringPaymentsProfileStatusRequest->toXMLString();
+ $str .= '';
+ }
+ $str .= '';
+ return $str;
+ }
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/ManageRecurringPaymentsProfileStatusRequestDetailsType.php b/lib/PayPalAPIInterfaceService/ManageRecurringPaymentsProfileStatusRequestDetailsType.php
new file mode 100644
index 00000000..3dcbb553
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/ManageRecurringPaymentsProfileStatusRequestDetailsType.php
@@ -0,0 +1,52 @@
+ProfileID = $ProfileID;
+ $this->Action = $Action;
+ }
+
+
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/ManageRecurringPaymentsProfileStatusRequestType.php b/lib/PayPalAPIInterfaceService/ManageRecurringPaymentsProfileStatusRequestType.php
new file mode 100644
index 00000000..ff20ec1d
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/ManageRecurringPaymentsProfileStatusRequestType.php
@@ -0,0 +1,22 @@
+';
+ if($this->MassPayRequest != NULL)
+ {
+ $str .= '';
+ $str .= $this->MassPayRequest->toXMLString();
+ $str .= '';
+ }
+ $str .= '';
+ return $str;
+ }
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/MassPayRequestItemType.php b/lib/PayPalAPIInterfaceService/MassPayRequestItemType.php
new file mode 100644
index 00000000..a0dca4e8
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/MassPayRequestItemType.php
@@ -0,0 +1,105 @@
+Amount = $Amount;
+ }
+
+
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/MassPayRequestType.php b/lib/PayPalAPIInterfaceService/MassPayRequestType.php
new file mode 100644
index 00000000..b5c8ea98
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/MassPayRequestType.php
@@ -0,0 +1,76 @@
+MassPayItem = $MassPayItem;
+ }
+
+
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/MassPayResponseType.php b/lib/PayPalAPIInterfaceService/MassPayResponseType.php
new file mode 100644
index 00000000..361faf25
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/MassPayResponseType.php
@@ -0,0 +1,9 @@
+unit = $unit;
+ $this->value = $value;
+ }
+
+
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/MerchantDataType.php b/lib/PayPalAPIInterfaceService/MerchantDataType.php
new file mode 100644
index 00000000..2892effe
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/MerchantDataType.php
@@ -0,0 +1,24 @@
+StoreID = $StoreID;
+ }
+
+
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/MobileIDInfoType.php b/lib/PayPalAPIInterfaceService/MobileIDInfoType.php
new file mode 100644
index 00000000..a255734c
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/MobileIDInfoType.php
@@ -0,0 +1,22 @@
+OptionName = $OptionName;
+ }
+
+
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/OptionSelectionDetailsType.php b/lib/PayPalAPIInterfaceService/OptionSelectionDetailsType.php
new file mode 100644
index 00000000..f15ab11e
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/OptionSelectionDetailsType.php
@@ -0,0 +1,65 @@
+OptionSelection = $OptionSelection;
+ }
+
+
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/OptionTrackingDetailsType.php b/lib/PayPalAPIInterfaceService/OptionTrackingDetailsType.php
new file mode 100644
index 00000000..1981c034
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/OptionTrackingDetailsType.php
@@ -0,0 +1,77 @@
+Version == NULL) {
+ $request->Version = self::$SERVICE_VERSION;
+ }
+ }
+
+ /**
+ * Service Call: RefundTransaction
+ * @param RefundTransactionReq $refundTransactionReq
+ * @param mixed $apiCredential - Optional API credential - can either be
+ * a username configured in sdk_config.ini or a ICredential object
+ * created dynamically
+ * @return RefundTransactionResponseType
+ * @throws APIException
+ */
+ public function RefundTransaction($refundTransactionReq, $apiCredential = NULL) {
+ $this->setStandardParams($refundTransactionReq->RefundTransactionRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
+ $ret = new RefundTransactionResponseType();
+ $resp = $this->call('PayPalAPI', 'RefundTransaction', $refundTransactionReq, $apiContext, $handlers);
+ $ret->init(PPUtils::xmlToArray($resp));
+ return $ret;
+ }
+
+
+ /**
+ * Service Call: InitiateRecoup
+ * @param InitiateRecoupReq $initiateRecoupReq
+ * @param mixed $apiCredential - Optional API credential - can either be
+ * a username configured in sdk_config.ini or a ICredential object
+ * created dynamically
+ * @return InitiateRecoupResponseType
+ * @throws APIException
+ */
+ public function InitiateRecoup($initiateRecoupReq, $apiCredential = NULL) {
+ $this->setStandardParams($initiateRecoupReq->InitiateRecoupRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
+ $ret = new InitiateRecoupResponseType();
+ $resp = $this->call('PayPalAPI', 'InitiateRecoup', $initiateRecoupReq, $apiContext, $handlers);
+ $ret->init(PPUtils::xmlToArray($resp));
+ return $ret;
+ }
+
+
+ /**
+ * Service Call: CompleteRecoup
+ * @param CompleteRecoupReq $completeRecoupReq
+ * @param mixed $apiCredential - Optional API credential - can either be
+ * a username configured in sdk_config.ini or a ICredential object
+ * created dynamically
+ * @return CompleteRecoupResponseType
+ * @throws APIException
+ */
+ public function CompleteRecoup($completeRecoupReq, $apiCredential = NULL) {
+ $this->setStandardParams($completeRecoupReq->CompleteRecoupRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
+ $ret = new CompleteRecoupResponseType();
+ $resp = $this->call('PayPalAPI', 'CompleteRecoup', $completeRecoupReq, $apiContext, $handlers);
+ $ret->init(PPUtils::xmlToArray($resp));
+ return $ret;
+ }
+
+
+ /**
+ * Service Call: CancelRecoup
+ * @param CancelRecoupReq $cancelRecoupReq
+ * @param mixed $apiCredential - Optional API credential - can either be
+ * a username configured in sdk_config.ini or a ICredential object
+ * created dynamically
+ * @return CancelRecoupResponseType
+ * @throws APIException
+ */
+ public function CancelRecoup($cancelRecoupReq, $apiCredential = NULL) {
+ $this->setStandardParams($cancelRecoupReq->CancelRecoupRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
+ $ret = new CancelRecoupResponseType();
+ $resp = $this->call('PayPalAPI', 'CancelRecoup', $cancelRecoupReq, $apiContext, $handlers);
+ $ret->init(PPUtils::xmlToArray($resp));
+ return $ret;
+ }
+
+
+ /**
+ * Service Call: GetTransactionDetails
+ * @param GetTransactionDetailsReq $getTransactionDetailsReq
+ * @param mixed $apiCredential - Optional API credential - can either be
+ * a username configured in sdk_config.ini or a ICredential object
+ * created dynamically
+ * @return GetTransactionDetailsResponseType
+ * @throws APIException
+ */
+ public function GetTransactionDetails($getTransactionDetailsReq, $apiCredential = NULL) {
+ $this->setStandardParams($getTransactionDetailsReq->GetTransactionDetailsRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
+ $ret = new GetTransactionDetailsResponseType();
+ $resp = $this->call('PayPalAPI', 'GetTransactionDetails', $getTransactionDetailsReq, $apiContext, $handlers);
+ $ret->init(PPUtils::xmlToArray($resp));
+ return $ret;
+ }
+
+
+ /**
+ * Service Call: BillUser
+ * @param BillUserReq $billUserReq
+ * @param mixed $apiCredential - Optional API credential - can either be
+ * a username configured in sdk_config.ini or a ICredential object
+ * created dynamically
+ * @return BillUserResponseType
+ * @throws APIException
+ */
+ public function BillUser($billUserReq, $apiCredential = NULL) {
+ $this->setStandardParams($billUserReq->BillUserRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
+ $ret = new BillUserResponseType();
+ $resp = $this->call('PayPalAPI', 'BillUser', $billUserReq, $apiContext, $handlers);
+ $ret->init(PPUtils::xmlToArray($resp));
+ return $ret;
+ }
+
+
+ /**
+ * Service Call: TransactionSearch
+ * @param TransactionSearchReq $transactionSearchReq
+ * @param mixed $apiCredential - Optional API credential - can either be
+ * a username configured in sdk_config.ini or a ICredential object
+ * created dynamically
+ * @return TransactionSearchResponseType
+ * @throws APIException
+ */
+ public function TransactionSearch($transactionSearchReq, $apiCredential = NULL) {
+ $this->setStandardParams($transactionSearchReq->TransactionSearchRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
+ $ret = new TransactionSearchResponseType();
+ $resp = $this->call('PayPalAPI', 'TransactionSearch', $transactionSearchReq, $apiContext, $handlers);
+ $ret->init(PPUtils::xmlToArray($resp));
+ return $ret;
+ }
+
+
+ /**
+ * Service Call: MassPay
+ * @param MassPayReq $massPayReq
+ * @param mixed $apiCredential - Optional API credential - can either be
+ * a username configured in sdk_config.ini or a ICredential object
+ * created dynamically
+ * @return MassPayResponseType
+ * @throws APIException
+ */
+ public function MassPay($massPayReq, $apiCredential = NULL) {
+ $this->setStandardParams($massPayReq->MassPayRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
+ $ret = new MassPayResponseType();
+ $resp = $this->call('PayPalAPI', 'MassPay', $massPayReq, $apiContext, $handlers);
+ $ret->init(PPUtils::xmlToArray($resp));
+ return $ret;
+ }
+
+
+ /**
+ * Service Call: BillAgreementUpdate
+ * @param BillAgreementUpdateReq $billAgreementUpdateReq
+ * @param mixed $apiCredential - Optional API credential - can either be
+ * a username configured in sdk_config.ini or a ICredential object
+ * created dynamically
+ * @return BAUpdateResponseType
+ * @throws APIException
+ */
+ public function BillAgreementUpdate($billAgreementUpdateReq, $apiCredential = NULL) {
+ $this->setStandardParams($billAgreementUpdateReq->BAUpdateRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
+ $ret = new BAUpdateResponseType();
+ $resp = $this->call('PayPalAPI', 'BillAgreementUpdate', $billAgreementUpdateReq, $apiContext, $handlers);
+ $ret->init(PPUtils::xmlToArray($resp));
+ return $ret;
+ }
+
+
+ /**
+ * Service Call: AddressVerify
+ * @param AddressVerifyReq $addressVerifyReq
+ * @param mixed $apiCredential - Optional API credential - can either be
+ * a username configured in sdk_config.ini or a ICredential object
+ * created dynamically
+ * @return AddressVerifyResponseType
+ * @throws APIException
+ */
+ public function AddressVerify($addressVerifyReq, $apiCredential = NULL) {
+ $this->setStandardParams($addressVerifyReq->AddressVerifyRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
+ $ret = new AddressVerifyResponseType();
+ $resp = $this->call('PayPalAPI', 'AddressVerify', $addressVerifyReq, $apiContext, $handlers);
+ $ret->init(PPUtils::xmlToArray($resp));
+ return $ret;
+ }
+
+
+ /**
+ * Service Call: EnterBoarding
+ * @param EnterBoardingReq $enterBoardingReq
+ * @param mixed $apiCredential - Optional API credential - can either be
+ * a username configured in sdk_config.ini or a ICredential object
+ * created dynamically
+ * @return EnterBoardingResponseType
+ * @throws APIException
+ */
+ public function EnterBoarding($enterBoardingReq, $apiCredential = NULL) {
+ $this->setStandardParams($enterBoardingReq->EnterBoardingRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
+ $ret = new EnterBoardingResponseType();
+ $resp = $this->call('PayPalAPI', 'EnterBoarding', $enterBoardingReq, $apiContext, $handlers);
+ $ret->init(PPUtils::xmlToArray($resp));
+ return $ret;
+ }
+
+
+ /**
+ * Service Call: GetBoardingDetails
+ * @param GetBoardingDetailsReq $getBoardingDetailsReq
+ * @param mixed $apiCredential - Optional API credential - can either be
+ * a username configured in sdk_config.ini or a ICredential object
+ * created dynamically
+ * @return GetBoardingDetailsResponseType
+ * @throws APIException
+ */
+ public function GetBoardingDetails($getBoardingDetailsReq, $apiCredential = NULL) {
+ $this->setStandardParams($getBoardingDetailsReq->GetBoardingDetailsRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
+ $ret = new GetBoardingDetailsResponseType();
+ $resp = $this->call('PayPalAPI', 'GetBoardingDetails', $getBoardingDetailsReq, $apiContext, $handlers);
+ $ret->init(PPUtils::xmlToArray($resp));
+ return $ret;
+ }
+
+
+ /**
+ * Service Call: CreateMobilePayment
+ * @param CreateMobilePaymentReq $createMobilePaymentReq
+ * @param mixed $apiCredential - Optional API credential - can either be
+ * a username configured in sdk_config.ini or a ICredential object
+ * created dynamically
+ * @return CreateMobilePaymentResponseType
+ * @throws APIException
+ */
+ public function CreateMobilePayment($createMobilePaymentReq, $apiCredential = NULL) {
+ $this->setStandardParams($createMobilePaymentReq->CreateMobilePaymentRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
+ $ret = new CreateMobilePaymentResponseType();
+ $resp = $this->call('PayPalAPI', 'CreateMobilePayment', $createMobilePaymentReq, $apiContext, $handlers);
+ $ret->init(PPUtils::xmlToArray($resp));
+ return $ret;
+ }
+
+
+ /**
+ * Service Call: GetMobileStatus
+ * @param GetMobileStatusReq $getMobileStatusReq
+ * @param mixed $apiCredential - Optional API credential - can either be
+ * a username configured in sdk_config.ini or a ICredential object
+ * created dynamically
+ * @return GetMobileStatusResponseType
+ * @throws APIException
+ */
+ public function GetMobileStatus($getMobileStatusReq, $apiCredential = NULL) {
+ $this->setStandardParams($getMobileStatusReq->GetMobileStatusRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
+ $ret = new GetMobileStatusResponseType();
+ $resp = $this->call('PayPalAPI', 'GetMobileStatus', $getMobileStatusReq, $apiContext, $handlers);
+ $ret->init(PPUtils::xmlToArray($resp));
+ return $ret;
+ }
+
+
+ /**
+ * Service Call: SetMobileCheckout
+ * @param SetMobileCheckoutReq $setMobileCheckoutReq
+ * @param mixed $apiCredential - Optional API credential - can either be
+ * a username configured in sdk_config.ini or a ICredential object
+ * created dynamically
+ * @return SetMobileCheckoutResponseType
+ * @throws APIException
+ */
+ public function SetMobileCheckout($setMobileCheckoutReq, $apiCredential = NULL) {
+ $this->setStandardParams($setMobileCheckoutReq->SetMobileCheckoutRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
+ $ret = new SetMobileCheckoutResponseType();
+ $resp = $this->call('PayPalAPI', 'SetMobileCheckout', $setMobileCheckoutReq, $apiContext, $handlers);
+ $ret->init(PPUtils::xmlToArray($resp));
+ return $ret;
+ }
+
+
+ /**
+ * Service Call: DoMobileCheckoutPayment
+ * @param DoMobileCheckoutPaymentReq $doMobileCheckoutPaymentReq
+ * @param mixed $apiCredential - Optional API credential - can either be
+ * a username configured in sdk_config.ini or a ICredential object
+ * created dynamically
+ * @return DoMobileCheckoutPaymentResponseType
+ * @throws APIException
+ */
+ public function DoMobileCheckoutPayment($doMobileCheckoutPaymentReq, $apiCredential = NULL) {
+ $this->setStandardParams($doMobileCheckoutPaymentReq->DoMobileCheckoutPaymentRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
+ $ret = new DoMobileCheckoutPaymentResponseType();
+ $resp = $this->call('PayPalAPI', 'DoMobileCheckoutPayment', $doMobileCheckoutPaymentReq, $apiContext, $handlers);
+ $ret->init(PPUtils::xmlToArray($resp));
+ return $ret;
+ }
+
+
+ /**
+ * Service Call: GetBalance
+ * @param GetBalanceReq $getBalanceReq
+ * @param mixed $apiCredential - Optional API credential - can either be
+ * a username configured in sdk_config.ini or a ICredential object
+ * created dynamically
+ * @return GetBalanceResponseType
+ * @throws APIException
+ */
+ public function GetBalance($getBalanceReq, $apiCredential = NULL) {
+ $this->setStandardParams($getBalanceReq->GetBalanceRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
+ $ret = new GetBalanceResponseType();
+ $resp = $this->call('PayPalAPI', 'GetBalance', $getBalanceReq, $apiContext, $handlers);
+ $ret->init(PPUtils::xmlToArray($resp));
+ return $ret;
+ }
+
+
+ /**
+ * Service Call: GetPalDetails
+ * @param GetPalDetailsReq $getPalDetailsReq
+ * @param mixed $apiCredential - Optional API credential - can either be
+ * a username configured in sdk_config.ini or a ICredential object
+ * created dynamically
+ * @return GetPalDetailsResponseType
+ * @throws APIException
+ */
+ public function GetPalDetails($getPalDetailsReq, $apiCredential = NULL) {
+ $this->setStandardParams($getPalDetailsReq->GetPalDetailsRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
+ $ret = new GetPalDetailsResponseType();
+ $resp = $this->call('PayPalAPI', 'GetPalDetails', $getPalDetailsReq, $apiContext, $handlers);
+ $ret->init(PPUtils::xmlToArray($resp));
+ return $ret;
+ }
+
+
+ /**
+ * Service Call: DoExpressCheckoutPayment
+ * @param DoExpressCheckoutPaymentReq $doExpressCheckoutPaymentReq
+ * @param mixed $apiCredential - Optional API credential - can either be
+ * a username configured in sdk_config.ini or a ICredential object
+ * created dynamically
+ * @return DoExpressCheckoutPaymentResponseType
+ * @throws APIException
+ */
+ public function DoExpressCheckoutPayment($doExpressCheckoutPaymentReq, $apiCredential = NULL) {
+ $this->setStandardParams($doExpressCheckoutPaymentReq->DoExpressCheckoutPaymentRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
+ $ret = new DoExpressCheckoutPaymentResponseType();
+ $resp = $this->call('PayPalAPIAA', 'DoExpressCheckoutPayment', $doExpressCheckoutPaymentReq, $apiContext, $handlers);
+ $ret->init(PPUtils::xmlToArray($resp));
+ return $ret;
+ }
+
+
+ /**
+ * Service Call: DoUATPExpressCheckoutPayment
+ * @param DoUATPExpressCheckoutPaymentReq $doUATPExpressCheckoutPaymentReq
+ * @param mixed $apiCredential - Optional API credential - can either be
+ * a username configured in sdk_config.ini or a ICredential object
+ * created dynamically
+ * @return DoUATPExpressCheckoutPaymentResponseType
+ * @throws APIException
+ */
+ public function DoUATPExpressCheckoutPayment($doUATPExpressCheckoutPaymentReq, $apiCredential = NULL) {
+ $this->setStandardParams($doUATPExpressCheckoutPaymentReq->DoUATPExpressCheckoutPaymentRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
+ $ret = new DoUATPExpressCheckoutPaymentResponseType();
+ $resp = $this->call('PayPalAPIAA', 'DoUATPExpressCheckoutPayment', $doUATPExpressCheckoutPaymentReq, $apiContext, $handlers);
+ $ret->init(PPUtils::xmlToArray($resp));
+ return $ret;
+ }
+
+
+ /**
+ * Service Call: SetAuthFlowParam
+ * @param SetAuthFlowParamReq $setAuthFlowParamReq
+ * @param mixed $apiCredential - Optional API credential - can either be
+ * a username configured in sdk_config.ini or a ICredential object
+ * created dynamically
+ * @return SetAuthFlowParamResponseType
+ * @throws APIException
+ */
+ public function SetAuthFlowParam($setAuthFlowParamReq, $apiCredential = NULL) {
+ $this->setStandardParams($setAuthFlowParamReq->SetAuthFlowParamRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
+ $ret = new SetAuthFlowParamResponseType();
+ $resp = $this->call('PayPalAPIAA', 'SetAuthFlowParam', $setAuthFlowParamReq, $apiContext, $handlers);
+ $ret->init(PPUtils::xmlToArray($resp));
+ return $ret;
+ }
+
+
+ /**
+ * Service Call: GetAuthDetails
+ * @param GetAuthDetailsReq $getAuthDetailsReq
+ * @param mixed $apiCredential - Optional API credential - can either be
+ * a username configured in sdk_config.ini or a ICredential object
+ * created dynamically
+ * @return GetAuthDetailsResponseType
+ * @throws APIException
+ */
+ public function GetAuthDetails($getAuthDetailsReq, $apiCredential = NULL) {
+ $this->setStandardParams($getAuthDetailsReq->GetAuthDetailsRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
+ $ret = new GetAuthDetailsResponseType();
+ $resp = $this->call('PayPalAPIAA', 'GetAuthDetails', $getAuthDetailsReq, $apiContext, $handlers);
+ $ret->init(PPUtils::xmlToArray($resp));
+ return $ret;
+ }
+
+
+ /**
+ * Service Call: SetAccessPermissions
+ * @param SetAccessPermissionsReq $setAccessPermissionsReq
+ * @param mixed $apiCredential - Optional API credential - can either be
+ * a username configured in sdk_config.ini or a ICredential object
+ * created dynamically
+ * @return SetAccessPermissionsResponseType
+ * @throws APIException
+ */
+ public function SetAccessPermissions($setAccessPermissionsReq, $apiCredential = NULL) {
+ $this->setStandardParams($setAccessPermissionsReq->SetAccessPermissionsRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
+ $ret = new SetAccessPermissionsResponseType();
+ $resp = $this->call('PayPalAPIAA', 'SetAccessPermissions', $setAccessPermissionsReq, $apiContext, $handlers);
+ $ret->init(PPUtils::xmlToArray($resp));
+ return $ret;
+ }
+
+
+ /**
+ * Service Call: UpdateAccessPermissions
+ * @param UpdateAccessPermissionsReq $updateAccessPermissionsReq
+ * @param mixed $apiCredential - Optional API credential - can either be
+ * a username configured in sdk_config.ini or a ICredential object
+ * created dynamically
+ * @return UpdateAccessPermissionsResponseType
+ * @throws APIException
+ */
+ public function UpdateAccessPermissions($updateAccessPermissionsReq, $apiCredential = NULL) {
+ $this->setStandardParams($updateAccessPermissionsReq->UpdateAccessPermissionsRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
+ $ret = new UpdateAccessPermissionsResponseType();
+ $resp = $this->call('PayPalAPIAA', 'UpdateAccessPermissions', $updateAccessPermissionsReq, $apiContext, $handlers);
+ $ret->init(PPUtils::xmlToArray($resp));
+ return $ret;
+ }
+
+
+ /**
+ * Service Call: GetAccessPermissionDetails
+ * @param GetAccessPermissionDetailsReq $getAccessPermissionDetailsReq
+ * @param mixed $apiCredential - Optional API credential - can either be
+ * a username configured in sdk_config.ini or a ICredential object
+ * created dynamically
+ * @return GetAccessPermissionDetailsResponseType
+ * @throws APIException
+ */
+ public function GetAccessPermissionDetails($getAccessPermissionDetailsReq, $apiCredential = NULL) {
+ $this->setStandardParams($getAccessPermissionDetailsReq->GetAccessPermissionDetailsRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
+ $ret = new GetAccessPermissionDetailsResponseType();
+ $resp = $this->call('PayPalAPIAA', 'GetAccessPermissionDetails', $getAccessPermissionDetailsReq, $apiContext, $handlers);
+ $ret->init(PPUtils::xmlToArray($resp));
+ return $ret;
+ }
+
+
+ /**
+ * Service Call: GetIncentiveEvaluation
+ * @param GetIncentiveEvaluationReq $getIncentiveEvaluationReq
+ * @param mixed $apiCredential - Optional API credential - can either be
+ * a username configured in sdk_config.ini or a ICredential object
+ * created dynamically
+ * @return GetIncentiveEvaluationResponseType
+ * @throws APIException
+ */
+ public function GetIncentiveEvaluation($getIncentiveEvaluationReq, $apiCredential = NULL) {
+ $this->setStandardParams($getIncentiveEvaluationReq->GetIncentiveEvaluationRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
+ $ret = new GetIncentiveEvaluationResponseType();
+ $resp = $this->call('PayPalAPIAA', 'GetIncentiveEvaluation', $getIncentiveEvaluationReq, $apiContext, $handlers);
+ $ret->init(PPUtils::xmlToArray($resp));
+ return $ret;
+ }
+
+
+ /**
+ * Service Call: SetExpressCheckout
+ * @param SetExpressCheckoutReq $setExpressCheckoutReq
+ * @param mixed $apiCredential - Optional API credential - can either be
+ * a username configured in sdk_config.ini or a ICredential object
+ * created dynamically
+ * @return SetExpressCheckoutResponseType
+ * @throws APIException
+ */
+ public function SetExpressCheckout($setExpressCheckoutReq, $apiCredential = NULL) {
+ $this->setStandardParams($setExpressCheckoutReq->SetExpressCheckoutRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
+ $ret = new SetExpressCheckoutResponseType();
+ $resp = $this->call('PayPalAPIAA', 'SetExpressCheckout', $setExpressCheckoutReq, $apiContext, $handlers);
+ $ret->init(PPUtils::xmlToArray($resp));
+ return $ret;
+ }
+
+
+ /**
+ * Service Call: ExecuteCheckoutOperations
+ * @param ExecuteCheckoutOperationsReq $executeCheckoutOperationsReq
+ * @param mixed $apiCredential - Optional API credential - can either be
+ * a username configured in sdk_config.ini or a ICredential object
+ * created dynamically
+ * @return ExecuteCheckoutOperationsResponseType
+ * @throws APIException
+ */
+ public function ExecuteCheckoutOperations($executeCheckoutOperationsReq, $apiCredential = NULL) {
+ $this->setStandardParams($executeCheckoutOperationsReq->ExecuteCheckoutOperationsRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
+ $ret = new ExecuteCheckoutOperationsResponseType();
+ $resp = $this->call('PayPalAPIAA', 'ExecuteCheckoutOperations', $executeCheckoutOperationsReq, $apiContext, $handlers);
+ $ret->init(PPUtils::xmlToArray($resp));
+ return $ret;
+ }
+
+
+ /**
+ * Service Call: GetExpressCheckoutDetails
+ * @param GetExpressCheckoutDetailsReq $getExpressCheckoutDetailsReq
+ * @param mixed $apiCredential - Optional API credential - can either be
+ * a username configured in sdk_config.ini or a ICredential object
+ * created dynamically
+ * @return GetExpressCheckoutDetailsResponseType
+ * @throws APIException
+ */
+ public function GetExpressCheckoutDetails($getExpressCheckoutDetailsReq, $apiCredential = NULL) {
+ $this->setStandardParams($getExpressCheckoutDetailsReq->GetExpressCheckoutDetailsRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
+ $ret = new GetExpressCheckoutDetailsResponseType();
+ $resp = $this->call('PayPalAPIAA', 'GetExpressCheckoutDetails', $getExpressCheckoutDetailsReq, $apiContext, $handlers);
+ $ret->init(PPUtils::xmlToArray($resp));
+ return $ret;
+ }
+
+
+ /**
+ * Service Call: DoDirectPayment
+ * @param DoDirectPaymentReq $doDirectPaymentReq
+ * @param mixed $apiCredential - Optional API credential - can either be
+ * a username configured in sdk_config.ini or a ICredential object
+ * created dynamically
+ * @return DoDirectPaymentResponseType
+ * @throws APIException
+ */
+ public function DoDirectPayment($doDirectPaymentReq, $apiCredential = NULL) {
+ $this->setStandardParams($doDirectPaymentReq->DoDirectPaymentRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
+ $ret = new DoDirectPaymentResponseType();
+ $resp = $this->call('PayPalAPIAA', 'DoDirectPayment', $doDirectPaymentReq, $apiContext, $handlers);
+ $ret->init(PPUtils::xmlToArray($resp));
+ return $ret;
+ }
+
+
+ /**
+ * Service Call: ManagePendingTransactionStatus
+ * @param ManagePendingTransactionStatusReq $managePendingTransactionStatusReq
+ * @param mixed $apiCredential - Optional API credential - can either be
+ * a username configured in sdk_config.ini or a ICredential object
+ * created dynamically
+ * @return ManagePendingTransactionStatusResponseType
+ * @throws APIException
+ */
+ public function ManagePendingTransactionStatus($managePendingTransactionStatusReq, $apiCredential = NULL) {
+ $this->setStandardParams($managePendingTransactionStatusReq->ManagePendingTransactionStatusRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
+ $ret = new ManagePendingTransactionStatusResponseType();
+ $resp = $this->call('PayPalAPIAA', 'ManagePendingTransactionStatus', $managePendingTransactionStatusReq, $apiContext, $handlers);
+ $ret->init(PPUtils::xmlToArray($resp));
+ return $ret;
+ }
+
+
+ /**
+ * Service Call: DoCancel
+ * @param DoCancelReq $doCancelReq
+ * @param mixed $apiCredential - Optional API credential - can either be
+ * a username configured in sdk_config.ini or a ICredential object
+ * created dynamically
+ * @return DoCancelResponseType
+ * @throws APIException
+ */
+ public function DoCancel($doCancelReq, $apiCredential = NULL) {
+ $this->setStandardParams($doCancelReq->DoCancelRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
+ $ret = new DoCancelResponseType();
+ $resp = $this->call('PayPalAPIAA', 'DoCancel', $doCancelReq, $apiContext, $handlers);
+ $ret->init(PPUtils::xmlToArray($resp));
+ return $ret;
+ }
+
+
+ /**
+ * Service Call: DoCapture
+ * @param DoCaptureReq $doCaptureReq
+ * @param mixed $apiCredential - Optional API credential - can either be
+ * a username configured in sdk_config.ini or a ICredential object
+ * created dynamically
+ * @return DoCaptureResponseType
+ * @throws APIException
+ */
+ public function DoCapture($doCaptureReq, $apiCredential = NULL) {
+ $this->setStandardParams($doCaptureReq->DoCaptureRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
+ $ret = new DoCaptureResponseType();
+ $resp = $this->call('PayPalAPIAA', 'DoCapture', $doCaptureReq, $apiContext, $handlers);
+ $ret->init(PPUtils::xmlToArray($resp));
+ return $ret;
+ }
+
+
+ /**
+ * Service Call: DoReauthorization
+ * @param DoReauthorizationReq $doReauthorizationReq
+ * @param mixed $apiCredential - Optional API credential - can either be
+ * a username configured in sdk_config.ini or a ICredential object
+ * created dynamically
+ * @return DoReauthorizationResponseType
+ * @throws APIException
+ */
+ public function DoReauthorization($doReauthorizationReq, $apiCredential = NULL) {
+ $this->setStandardParams($doReauthorizationReq->DoReauthorizationRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
+ $ret = new DoReauthorizationResponseType();
+ $resp = $this->call('PayPalAPIAA', 'DoReauthorization', $doReauthorizationReq, $apiContext, $handlers);
+ $ret->init(PPUtils::xmlToArray($resp));
+ return $ret;
+ }
+
+
+ /**
+ * Service Call: DoVoid
+ * @param DoVoidReq $doVoidReq
+ * @param mixed $apiCredential - Optional API credential - can either be
+ * a username configured in sdk_config.ini or a ICredential object
+ * created dynamically
+ * @return DoVoidResponseType
+ * @throws APIException
+ */
+ public function DoVoid($doVoidReq, $apiCredential = NULL) {
+ $this->setStandardParams($doVoidReq->DoVoidRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
+ $ret = new DoVoidResponseType();
+ $resp = $this->call('PayPalAPIAA', 'DoVoid', $doVoidReq, $apiContext, $handlers);
+ $ret->init(PPUtils::xmlToArray($resp));
+ return $ret;
+ }
+
+
+ /**
+ * Service Call: DoAuthorization
+ * @param DoAuthorizationReq $doAuthorizationReq
+ * @param mixed $apiCredential - Optional API credential - can either be
+ * a username configured in sdk_config.ini or a ICredential object
+ * created dynamically
+ * @return DoAuthorizationResponseType
+ * @throws APIException
+ */
+ public function DoAuthorization($doAuthorizationReq, $apiCredential = NULL) {
+ $this->setStandardParams($doAuthorizationReq->DoAuthorizationRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
+ $ret = new DoAuthorizationResponseType();
+ $resp = $this->call('PayPalAPIAA', 'DoAuthorization', $doAuthorizationReq, $apiContext, $handlers);
+ $ret->init(PPUtils::xmlToArray($resp));
+ return $ret;
+ }
+
+
+ /**
+ * Service Call: UpdateAuthorization
+ * @param UpdateAuthorizationReq $updateAuthorizationReq
+ * @param mixed $apiCredential - Optional API credential - can either be
+ * a username configured in sdk_config.ini or a ICredential object
+ * created dynamically
+ * @return UpdateAuthorizationResponseType
+ * @throws APIException
+ */
+ public function UpdateAuthorization($updateAuthorizationReq, $apiCredential = NULL) {
+ $this->setStandardParams($updateAuthorizationReq->UpdateAuthorizationRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
+ $ret = new UpdateAuthorizationResponseType();
+ $resp = $this->call('PayPalAPIAA', 'UpdateAuthorization', $updateAuthorizationReq, $apiContext, $handlers);
+ $ret->init(PPUtils::xmlToArray($resp));
+ return $ret;
+ }
+
+
+ /**
+ * Service Call: SetCustomerBillingAgreement
+ * @param SetCustomerBillingAgreementReq $setCustomerBillingAgreementReq
+ * @param mixed $apiCredential - Optional API credential - can either be
+ * a username configured in sdk_config.ini or a ICredential object
+ * created dynamically
+ * @return SetCustomerBillingAgreementResponseType
+ * @throws APIException
+ */
+ public function SetCustomerBillingAgreement($setCustomerBillingAgreementReq, $apiCredential = NULL) {
+ $this->setStandardParams($setCustomerBillingAgreementReq->SetCustomerBillingAgreementRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
+ $ret = new SetCustomerBillingAgreementResponseType();
+ $resp = $this->call('PayPalAPIAA', 'SetCustomerBillingAgreement', $setCustomerBillingAgreementReq, $apiContext, $handlers);
+ $ret->init(PPUtils::xmlToArray($resp));
+ return $ret;
+ }
+
+
+ /**
+ * Service Call: GetBillingAgreementCustomerDetails
+ * @param GetBillingAgreementCustomerDetailsReq $getBillingAgreementCustomerDetailsReq
+ * @param mixed $apiCredential - Optional API credential - can either be
+ * a username configured in sdk_config.ini or a ICredential object
+ * created dynamically
+ * @return GetBillingAgreementCustomerDetailsResponseType
+ * @throws APIException
+ */
+ public function GetBillingAgreementCustomerDetails($getBillingAgreementCustomerDetailsReq, $apiCredential = NULL) {
+ $this->setStandardParams($getBillingAgreementCustomerDetailsReq->GetBillingAgreementCustomerDetailsRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
+ $ret = new GetBillingAgreementCustomerDetailsResponseType();
+ $resp = $this->call('PayPalAPIAA', 'GetBillingAgreementCustomerDetails', $getBillingAgreementCustomerDetailsReq, $apiContext, $handlers);
+ $ret->init(PPUtils::xmlToArray($resp));
+ return $ret;
+ }
+
+
+ /**
+ * Service Call: CreateBillingAgreement
+ * @param CreateBillingAgreementReq $createBillingAgreementReq
+ * @param mixed $apiCredential - Optional API credential - can either be
+ * a username configured in sdk_config.ini or a ICredential object
+ * created dynamically
+ * @return CreateBillingAgreementResponseType
+ * @throws APIException
+ */
+ public function CreateBillingAgreement($createBillingAgreementReq, $apiCredential = NULL) {
+ $this->setStandardParams($createBillingAgreementReq->CreateBillingAgreementRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
+ $ret = new CreateBillingAgreementResponseType();
+ $resp = $this->call('PayPalAPIAA', 'CreateBillingAgreement', $createBillingAgreementReq, $apiContext, $handlers);
+ $ret->init(PPUtils::xmlToArray($resp));
+ return $ret;
+ }
+
+
+ /**
+ * Service Call: DoReferenceTransaction
+ * @param DoReferenceTransactionReq $doReferenceTransactionReq
+ * @param mixed $apiCredential - Optional API credential - can either be
+ * a username configured in sdk_config.ini or a ICredential object
+ * created dynamically
+ * @return DoReferenceTransactionResponseType
+ * @throws APIException
+ */
+ public function DoReferenceTransaction($doReferenceTransactionReq, $apiCredential = NULL) {
+ $this->setStandardParams($doReferenceTransactionReq->DoReferenceTransactionRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
+ $ret = new DoReferenceTransactionResponseType();
+ $resp = $this->call('PayPalAPIAA', 'DoReferenceTransaction', $doReferenceTransactionReq, $apiContext, $handlers);
+ $ret->init(PPUtils::xmlToArray($resp));
+ return $ret;
+ }
+
+
+ /**
+ * Service Call: DoNonReferencedCredit
+ * @param DoNonReferencedCreditReq $doNonReferencedCreditReq
+ * @param mixed $apiCredential - Optional API credential - can either be
+ * a username configured in sdk_config.ini or a ICredential object
+ * created dynamically
+ * @return DoNonReferencedCreditResponseType
+ * @throws APIException
+ */
+ public function DoNonReferencedCredit($doNonReferencedCreditReq, $apiCredential = NULL) {
+ $this->setStandardParams($doNonReferencedCreditReq->DoNonReferencedCreditRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
+ $ret = new DoNonReferencedCreditResponseType();
+ $resp = $this->call('PayPalAPIAA', 'DoNonReferencedCredit', $doNonReferencedCreditReq, $apiContext, $handlers);
+ $ret->init(PPUtils::xmlToArray($resp));
+ return $ret;
+ }
+
+
+ /**
+ * Service Call: DoUATPAuthorization
+ * @param DoUATPAuthorizationReq $doUATPAuthorizationReq
+ * @param mixed $apiCredential - Optional API credential - can either be
+ * a username configured in sdk_config.ini or a ICredential object
+ * created dynamically
+ * @return DoUATPAuthorizationResponseType
+ * @throws APIException
+ */
+ public function DoUATPAuthorization($doUATPAuthorizationReq, $apiCredential = NULL) {
+ $this->setStandardParams($doUATPAuthorizationReq->DoUATPAuthorizationRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
+ $ret = new DoUATPAuthorizationResponseType();
+ $resp = $this->call('PayPalAPIAA', 'DoUATPAuthorization', $doUATPAuthorizationReq, $apiContext, $handlers);
+ $ret->init(PPUtils::xmlToArray($resp));
+ return $ret;
+ }
+
+
+ /**
+ * Service Call: CreateRecurringPaymentsProfile
+ * @param CreateRecurringPaymentsProfileReq $createRecurringPaymentsProfileReq
+ * @param mixed $apiCredential - Optional API credential - can either be
+ * a username configured in sdk_config.ini or a ICredential object
+ * created dynamically
+ * @return CreateRecurringPaymentsProfileResponseType
+ * @throws APIException
+ */
+ public function CreateRecurringPaymentsProfile($createRecurringPaymentsProfileReq, $apiCredential = NULL) {
+ $this->setStandardParams($createRecurringPaymentsProfileReq->CreateRecurringPaymentsProfileRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
+ $ret = new CreateRecurringPaymentsProfileResponseType();
+ $resp = $this->call('PayPalAPIAA', 'CreateRecurringPaymentsProfile', $createRecurringPaymentsProfileReq, $apiContext, $handlers);
+ $ret->init(PPUtils::xmlToArray($resp));
+ return $ret;
+ }
+
+
+ /**
+ * Service Call: GetRecurringPaymentsProfileDetails
+ * @param GetRecurringPaymentsProfileDetailsReq $getRecurringPaymentsProfileDetailsReq
+ * @param mixed $apiCredential - Optional API credential - can either be
+ * a username configured in sdk_config.ini or a ICredential object
+ * created dynamically
+ * @return GetRecurringPaymentsProfileDetailsResponseType
+ * @throws APIException
+ */
+ public function GetRecurringPaymentsProfileDetails($getRecurringPaymentsProfileDetailsReq, $apiCredential = NULL) {
+ $this->setStandardParams($getRecurringPaymentsProfileDetailsReq->GetRecurringPaymentsProfileDetailsRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
+ $ret = new GetRecurringPaymentsProfileDetailsResponseType();
+ $resp = $this->call('PayPalAPIAA', 'GetRecurringPaymentsProfileDetails', $getRecurringPaymentsProfileDetailsReq, $apiContext, $handlers);
+ $ret->init(PPUtils::xmlToArray($resp));
+ return $ret;
+ }
+
+
+ /**
+ * Service Call: ManageRecurringPaymentsProfileStatus
+ * @param ManageRecurringPaymentsProfileStatusReq $manageRecurringPaymentsProfileStatusReq
+ * @param mixed $apiCredential - Optional API credential - can either be
+ * a username configured in sdk_config.ini or a ICredential object
+ * created dynamically
+ * @return ManageRecurringPaymentsProfileStatusResponseType
+ * @throws APIException
+ */
+ public function ManageRecurringPaymentsProfileStatus($manageRecurringPaymentsProfileStatusReq, $apiCredential = NULL) {
+ $this->setStandardParams($manageRecurringPaymentsProfileStatusReq->ManageRecurringPaymentsProfileStatusRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
+ $ret = new ManageRecurringPaymentsProfileStatusResponseType();
+ $resp = $this->call('PayPalAPIAA', 'ManageRecurringPaymentsProfileStatus', $manageRecurringPaymentsProfileStatusReq, $apiContext, $handlers);
+ $ret->init(PPUtils::xmlToArray($resp));
+ return $ret;
+ }
+
+
+ /**
+ * Service Call: BillOutstandingAmount
+ * @param BillOutstandingAmountReq $billOutstandingAmountReq
+ * @param mixed $apiCredential - Optional API credential - can either be
+ * a username configured in sdk_config.ini or a ICredential object
+ * created dynamically
+ * @return BillOutstandingAmountResponseType
+ * @throws APIException
+ */
+ public function BillOutstandingAmount($billOutstandingAmountReq, $apiCredential = NULL) {
+ $this->setStandardParams($billOutstandingAmountReq->BillOutstandingAmountRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
+ $ret = new BillOutstandingAmountResponseType();
+ $resp = $this->call('PayPalAPIAA', 'BillOutstandingAmount', $billOutstandingAmountReq, $apiContext, $handlers);
+ $ret->init(PPUtils::xmlToArray($resp));
+ return $ret;
+ }
+
+
+ /**
+ * Service Call: UpdateRecurringPaymentsProfile
+ * @param UpdateRecurringPaymentsProfileReq $updateRecurringPaymentsProfileReq
+ * @param mixed $apiCredential - Optional API credential - can either be
+ * a username configured in sdk_config.ini or a ICredential object
+ * created dynamically
+ * @return UpdateRecurringPaymentsProfileResponseType
+ * @throws APIException
+ */
+ public function UpdateRecurringPaymentsProfile($updateRecurringPaymentsProfileReq, $apiCredential = NULL) {
+ $this->setStandardParams($updateRecurringPaymentsProfileReq->UpdateRecurringPaymentsProfileRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
+ $ret = new UpdateRecurringPaymentsProfileResponseType();
+ $resp = $this->call('PayPalAPIAA', 'UpdateRecurringPaymentsProfile', $updateRecurringPaymentsProfileReq, $apiContext, $handlers);
+ $ret->init(PPUtils::xmlToArray($resp));
+ return $ret;
+ }
+
+
+ /**
+ * Service Call: ReverseTransaction
+ * @param ReverseTransactionReq $reverseTransactionReq
+ * @param mixed $apiCredential - Optional API credential - can either be
+ * a username configured in sdk_config.ini or a ICredential object
+ * created dynamically
+ * @return ReverseTransactionResponseType
+ * @throws APIException
+ */
+ public function ReverseTransaction($reverseTransactionReq, $apiCredential = NULL) {
+ $this->setStandardParams($reverseTransactionReq->ReverseTransactionRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
+ $ret = new ReverseTransactionResponseType();
+ $resp = $this->call('PayPalAPIAA', 'ReverseTransaction', $reverseTransactionReq, $apiContext, $handlers);
+ $ret->init(PPUtils::xmlToArray($resp));
+ return $ret;
+ }
+
+
+ /**
+ * Service Call: ExternalRememberMeOptOut
+ * @param ExternalRememberMeOptOutReq $externalRememberMeOptOutReq
+ * @param mixed $apiCredential - Optional API credential - can either be
+ * a username configured in sdk_config.ini or a ICredential object
+ * created dynamically
+ * @return ExternalRememberMeOptOutResponseType
+ * @throws APIException
+ */
+ public function ExternalRememberMeOptOut($externalRememberMeOptOutReq, $apiCredential = NULL) {
+ $this->setStandardParams($externalRememberMeOptOutReq->ExternalRememberMeOptOutRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
+ $ret = new ExternalRememberMeOptOutResponseType();
+ $resp = $this->call('PayPalAPIAA', 'ExternalRememberMeOptOut', $externalRememberMeOptOutReq, $apiContext, $handlers);
+ $ret->init(PPUtils::xmlToArray($resp));
+ return $ret;
+ }
+
+}
\ No newline at end of file
diff --git a/lib/PayPalAPIInterfaceService/PayerInfoType.php b/lib/PayPalAPIInterfaceService/PayerInfoType.php
new file mode 100644
index 00000000..dbed4d20
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/PayerInfoType.php
@@ -0,0 +1,127 @@
+BillingStartDate = $BillingStartDate;
+ }
+
+
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/RecurringPaymentsSummaryType.php b/lib/PayPalAPIInterfaceService/RecurringPaymentsSummaryType.php
new file mode 100644
index 00000000..02170508
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/RecurringPaymentsSummaryType.php
@@ -0,0 +1,86 @@
+';
+ if($this->RefundTransactionRequest != NULL)
+ {
+ $str .= '';
+ $str .= $this->RefundTransactionRequest->toXMLString();
+ $str .= '';
+ }
+ $str .= '';
+ return $str;
+ }
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/RefundTransactionRequestType.php b/lib/PayPalAPIInterfaceService/RefundTransactionRequestType.php
new file mode 100644
index 00000000..67fc8c22
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/RefundTransactionRequestType.php
@@ -0,0 +1,162 @@
+';
+ if($this->ReverseTransactionRequest != NULL)
+ {
+ $str .= '';
+ $str .= $this->ReverseTransactionRequest->toXMLString();
+ $str .= '';
+ }
+ $str .= '';
+ return $str;
+ }
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/ReverseTransactionRequestDetailsType.php b/lib/PayPalAPIInterfaceService/ReverseTransactionRequestDetailsType.php
new file mode 100644
index 00000000..220dfae0
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/ReverseTransactionRequestDetailsType.php
@@ -0,0 +1,26 @@
+ReverseTransactionRequestDetails = $ReverseTransactionRequestDetails;
+ }
+
+
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/ReverseTransactionResponseDetailsType.php b/lib/PayPalAPIInterfaceService/ReverseTransactionResponseDetailsType.php
new file mode 100644
index 00000000..ae34cf5a
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/ReverseTransactionResponseDetailsType.php
@@ -0,0 +1,35 @@
+Description = $Description;
+ $this->PaymentPeriod = $PaymentPeriod;
+ }
+
+
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/SellerDetailsType.php b/lib/PayPalAPIInterfaceService/SellerDetailsType.php
new file mode 100644
index 00000000..3731e5a8
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/SellerDetailsType.php
@@ -0,0 +1,71 @@
+';
+ if($this->SetAccessPermissionsRequest != NULL)
+ {
+ $str .= '';
+ $str .= $this->SetAccessPermissionsRequest->toXMLString();
+ $str .= '';
+ }
+ $str .= '';
+ return $str;
+ }
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/SetAccessPermissionsRequestDetailsType.php b/lib/PayPalAPIInterfaceService/SetAccessPermissionsRequestDetailsType.php
new file mode 100644
index 00000000..f1ea07f4
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/SetAccessPermissionsRequestDetailsType.php
@@ -0,0 +1,241 @@
+SetAccessPermissionsRequestDetails = $SetAccessPermissionsRequestDetails;
+ }
+
+
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/SetAccessPermissionsResponseType.php b/lib/PayPalAPIInterfaceService/SetAccessPermissionsResponseType.php
new file mode 100644
index 00000000..8a7817aa
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/SetAccessPermissionsResponseType.php
@@ -0,0 +1,26 @@
+';
+ if($this->SetAuthFlowParamRequest != NULL)
+ {
+ $str .= '';
+ $str .= $this->SetAuthFlowParamRequest->toXMLString();
+ $str .= '';
+ }
+ $str .= '';
+ return $str;
+ }
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/SetAuthFlowParamRequestDetailsType.php b/lib/PayPalAPIInterfaceService/SetAuthFlowParamRequestDetailsType.php
new file mode 100644
index 00000000..e66d416e
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/SetAuthFlowParamRequestDetailsType.php
@@ -0,0 +1,269 @@
+SetAuthFlowParamRequestDetails = $SetAuthFlowParamRequestDetails;
+ }
+
+
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/SetAuthFlowParamResponseType.php b/lib/PayPalAPIInterfaceService/SetAuthFlowParamResponseType.php
new file mode 100644
index 00000000..49f08db9
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/SetAuthFlowParamResponseType.php
@@ -0,0 +1,26 @@
+';
+ if($this->SetCustomerBillingAgreementRequest != NULL)
+ {
+ $str .= '';
+ $str .= $this->SetCustomerBillingAgreementRequest->toXMLString();
+ $str .= '';
+ }
+ $str .= '';
+ return $str;
+ }
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/SetCustomerBillingAgreementRequestDetailsType.php b/lib/PayPalAPIInterfaceService/SetCustomerBillingAgreementRequestDetailsType.php
new file mode 100644
index 00000000..cca43a51
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/SetCustomerBillingAgreementRequestDetailsType.php
@@ -0,0 +1,152 @@
+BillingAgreementDetails = $BillingAgreementDetails;
+ $this->ReturnURL = $ReturnURL;
+ $this->CancelURL = $CancelURL;
+ }
+
+
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/SetCustomerBillingAgreementRequestType.php b/lib/PayPalAPIInterfaceService/SetCustomerBillingAgreementRequestType.php
new file mode 100644
index 00000000..02ff0440
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/SetCustomerBillingAgreementRequestType.php
@@ -0,0 +1,29 @@
+SetCustomerBillingAgreementRequestDetails = $SetCustomerBillingAgreementRequestDetails;
+ }
+
+
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/SetCustomerBillingAgreementResponseType.php b/lib/PayPalAPIInterfaceService/SetCustomerBillingAgreementResponseType.php
new file mode 100644
index 00000000..4ef33fec
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/SetCustomerBillingAgreementResponseType.php
@@ -0,0 +1,20 @@
+';
+ if($this->SetExpressCheckoutRequest != NULL)
+ {
+ $str .= '';
+ $str .= $this->SetExpressCheckoutRequest->toXMLString();
+ $str .= '';
+ }
+ $str .= '';
+ return $str;
+ }
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/SetExpressCheckoutRequestDetailsType.php b/lib/PayPalAPIInterfaceService/SetExpressCheckoutRequestDetailsType.php
new file mode 100644
index 00000000..05902a89
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/SetExpressCheckoutRequestDetailsType.php
@@ -0,0 +1,918 @@
+SetExpressCheckoutRequestDetails = $SetExpressCheckoutRequestDetails;
+ }
+
+
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/SetExpressCheckoutResponseType.php b/lib/PayPalAPIInterfaceService/SetExpressCheckoutResponseType.php
new file mode 100644
index 00000000..e56ce9a5
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/SetExpressCheckoutResponseType.php
@@ -0,0 +1,30 @@
+';
+ if($this->SetMobileCheckoutRequest != NULL)
+ {
+ $str .= '';
+ $str .= $this->SetMobileCheckoutRequest->toXMLString();
+ $str .= '';
+ }
+ $str .= '';
+ return $str;
+ }
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/SetMobileCheckoutRequestDetailsType.php b/lib/PayPalAPIInterfaceService/SetMobileCheckoutRequestDetailsType.php
new file mode 100644
index 00000000..6a23f039
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/SetMobileCheckoutRequestDetailsType.php
@@ -0,0 +1,207 @@
+ItemAmount = $ItemAmount;
+ $this->ItemName = $ItemName;
+ $this->ReturnURL = $ReturnURL;
+ }
+
+
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/SetMobileCheckoutRequestType.php b/lib/PayPalAPIInterfaceService/SetMobileCheckoutRequestType.php
new file mode 100644
index 00000000..7497a272
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/SetMobileCheckoutRequestType.php
@@ -0,0 +1,29 @@
+SetMobileCheckoutRequestDetails = $SetMobileCheckoutRequestDetails;
+ }
+
+
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/SetMobileCheckoutResponseType.php b/lib/PayPalAPIInterfaceService/SetMobileCheckoutResponseType.php
new file mode 100644
index 00000000..da0ba3b2
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/SetMobileCheckoutResponseType.php
@@ -0,0 +1,26 @@
+';
+ if($this->TransactionSearchRequest != NULL)
+ {
+ $str .= '';
+ $str .= $this->TransactionSearchRequest->toXMLString();
+ $str .= '';
+ }
+ $str .= '';
+ return $str;
+ }
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/TransactionSearchRequestType.php b/lib/PayPalAPIInterfaceService/TransactionSearchRequestType.php
new file mode 100644
index 00000000..172e1666
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/TransactionSearchRequestType.php
@@ -0,0 +1,241 @@
+StartDate = $StartDate;
+ }
+
+
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/TransactionSearchResponseType.php b/lib/PayPalAPIInterfaceService/TransactionSearchResponseType.php
new file mode 100644
index 00000000..264df2e2
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/TransactionSearchResponseType.php
@@ -0,0 +1,21 @@
+Key = $Key;
+ $this->Value = $Value;
+ }
+
+
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/UATPDetailsType.php b/lib/PayPalAPIInterfaceService/UATPDetailsType.php
new file mode 100644
index 00000000..1970d42a
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/UATPDetailsType.php
@@ -0,0 +1,44 @@
+';
+ if($this->UpdateAccessPermissionsRequest != NULL)
+ {
+ $str .= '';
+ $str .= $this->UpdateAccessPermissionsRequest->toXMLString();
+ $str .= '';
+ }
+ $str .= '';
+ return $str;
+ }
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/UpdateAccessPermissionsRequestType.php b/lib/PayPalAPIInterfaceService/UpdateAccessPermissionsRequestType.php
new file mode 100644
index 00000000..15c650b6
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/UpdateAccessPermissionsRequestType.php
@@ -0,0 +1,33 @@
+PayerID = $PayerID;
+ }
+
+
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/UpdateAccessPermissionsResponseType.php b/lib/PayPalAPIInterfaceService/UpdateAccessPermissionsResponseType.php
new file mode 100644
index 00000000..f040e1f9
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/UpdateAccessPermissionsResponseType.php
@@ -0,0 +1,22 @@
+';
+ if($this->UpdateAuthorizationRequest != NULL)
+ {
+ $str .= '';
+ $str .= $this->UpdateAuthorizationRequest->toXMLString();
+ $str .= '';
+ }
+ $str .= '';
+ return $str;
+ }
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/UpdateAuthorizationRequestType.php b/lib/PayPalAPIInterfaceService/UpdateAuthorizationRequestType.php
new file mode 100644
index 00000000..cf558b4e
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/UpdateAuthorizationRequestType.php
@@ -0,0 +1,55 @@
+TransactionID = $TransactionID;
+ }
+
+
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/UpdateAuthorizationResponseType.php b/lib/PayPalAPIInterfaceService/UpdateAuthorizationResponseType.php
new file mode 100644
index 00000000..76bdcdae
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/UpdateAuthorizationResponseType.php
@@ -0,0 +1,33 @@
+';
+ if($this->UpdateRecurringPaymentsProfileRequest != NULL)
+ {
+ $str .= '';
+ $str .= $this->UpdateRecurringPaymentsProfileRequest->toXMLString();
+ $str .= '';
+ }
+ $str .= '';
+ return $str;
+ }
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/UpdateRecurringPaymentsProfileRequestDetailsType.php b/lib/PayPalAPIInterfaceService/UpdateRecurringPaymentsProfileRequestDetailsType.php
new file mode 100644
index 00000000..7a048630
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/UpdateRecurringPaymentsProfileRequestDetailsType.php
@@ -0,0 +1,206 @@
+ProfileID = $ProfileID;
+ }
+
+
+
+
+}
diff --git a/lib/PayPalAPIInterfaceService/UpdateRecurringPaymentsProfileRequestType.php b/lib/PayPalAPIInterfaceService/UpdateRecurringPaymentsProfileRequestType.php
new file mode 100644
index 00000000..27eaa76f
--- /dev/null
+++ b/lib/PayPalAPIInterfaceService/UpdateRecurringPaymentsProfileRequestType.php
@@ -0,0 +1,22 @@
+Key = $Key;
+ $this->Value = $Value;
+ }
+
+
+
+
+}
+
+
+
+/**
+ * This holds all key-value pairs which merchants wants to pass
+ * it to the open wallet(PLCC) processor.
+ */
+class MerchantDataType
+ extends PPXmlMessage{
+
+ /**
+ *
+ * @array
+ * @access public
+
+ * @namespace ebl
+
+
+ * @var TupleType
+ */
+ public $MerchantDataTuple;
+
+
+
+
+}
+
+
+
+/**
+ * Details about an Item stored in the PayPal Wallet.
+ */
+class WalletItemsType
+ extends PPXmlMessage{
+
+ /**
+ * (Optional)Identifies a wallet item of a given type. The
+ * format varies depending on the type.
+ * @access public
+
+ * @namespace ebl
+
+
+ * @var string
+ */
+ public $Type;
+
+ /**
+ * (Optional)Uniquely identifies a wallet item of given type.
+ * Format varies depending on the type. Character length and
+ * limitations: 64 single-byte characters maximum.
+ * @access public
+
+ * @namespace ebl
+
+
+ * @var string
+ */
+ public $Id;
+
+ /**
+ * (Optional)Description of wallet item. Character length and
+ * limitations: 512 single-byte characters maximum.
+ * @access public
+
+ * @namespace ebl
+
+
+ * @var string
+ */
+ public $Description;
+
+
+
+
+}
+
+
+
+/**
+ * Describes discount information.
+ */
+class DiscountInfoType
+ extends PPXmlMessage{
+
+ /**
+ * (Optional)Item name. Character length and limits: 127
+ * single-byte characters
+ * @access public
+
+ * @namespace ebl
+
+
+ * @var string
+ */
+ public $Name;
+
+ /**
+ * (Optional)Description of the discount. Character length and
+ * limits: 127 single-byte characters
+ * @access public
+
+ * @namespace ebl
+
+
+ * @var string
+ */
+ public $Description;
+
+ /**
+ * (Optional)Amount discounted. The value includes an amount
+ * and a 3-character currency code.
+ * @access public
+
+ * @namespace ebl
+
+
+ * @var BasicAmountType
+ */
+ public $Amount;
+
+ /**
+ * (Optional)Offer type.
+ * @access public
+
+ * @namespace ebl
+
+
+ * @var string
+ */
+ public $RedeemedOfferType;
+
+ /**
+ * (Optional)Offer ID. Character length and limits: 64
+ * single-byte characters.
* @access public
* @namespace ebl
@@ -12831,63 +13633,67 @@ class CoupledPaymentInfoType
* @var string
*/
- public $CoupledPaymentRequestID;
+ public $RedeemedOfferId;
/**
- * ID that uniquely identifies this CoupledPayment. Generated
- * by PP in Response
+ * (Optional)Loyalty points accrued.
* @access public
* @namespace ebl
- * @var string
+ * @var double
*/
- public $CoupledPaymentID;
+ public $PointsAccrued;
+
+
}
/**
- *
+ *
*/
class EnhancedCheckoutDataType
extends PPXmlMessage{
-
+
+
}
/**
- *
+ *
*/
class EnhancedPaymentDataType
extends PPXmlMessage{
-
+
+
}
/**
- *
+ *
*/
class EnhancedItemDataType
extends PPXmlMessage{
-
+
+
}
/**
- *
+ *
*/
class EnhancedPaymentInfoType
extends PPXmlMessage{
@@ -12898,31 +13704,33 @@ class EnhancedPaymentInfoType
/**
- *
+ *
*/
class EnhancedInitiateRecoupRequestDetailsType
extends PPXmlMessage{
-
+
+
}
/**
- *
+ *
*/
class EnhancedCompleteRecoupRequestDetailsType
extends PPXmlMessage{
-
+
+
}
/**
- *
+ *
*/
class EnhancedCompleteRecoupResponseDetailsType
extends PPXmlMessage{
@@ -12933,37 +13741,39 @@ class EnhancedCompleteRecoupResponseDetailsType
/**
- *
+ *
*/
class EnhancedCancelRecoupRequestDetailsType
extends PPXmlMessage{
-
+
+
}
/**
- *
+ *
*/
class EnhancedPayerInfoType
extends PPXmlMessage{
-
+
+
}
/**
- * Installment Period. Optional
+ * Installment Period. Optional
*/
class InstallmentDetailsType
extends PPXmlMessage{
/**
- * Installment Period. Optional
+ * Installment Period. Optional
* @access public
* @namespace ns
@@ -12974,7 +13784,7 @@ class InstallmentDetailsType
public $BillingPeriod;
/**
- * Installment Frequency. Optional
+ * Installment Frequency. Optional
* @access public
* @namespace ns
@@ -12985,7 +13795,7 @@ class InstallmentDetailsType
public $BillingFrequency;
/**
- * Installment Cycles. Optional
+ * Installment Cycles. Optional
* @access public
* @namespace ns
@@ -12996,7 +13806,7 @@ class InstallmentDetailsType
public $TotalBillingCycles;
/**
- * Installment Amount. Optional
+ * Installment Amount. Optional
* @access public
* @namespace ns
@@ -13007,7 +13817,7 @@ class InstallmentDetailsType
public $Amount;
/**
- * Installment Amount. Optional
+ * Installment Amount. Optional
* @access public
* @namespace ns
@@ -13018,7 +13828,7 @@ class InstallmentDetailsType
public $ShippingAmount;
/**
- * Installment Amount. Optional
+ * Installment Amount. Optional
* @access public
* @namespace ns
@@ -13029,21 +13839,22 @@ class InstallmentDetailsType
public $TaxAmount;
-
+
+
}
/**
- * Option Selection. Required Character length and limitations:
- * 12 single-byte alphanumeric characters
+ * Option Selection. Required Character length and limitations:
+ * 12 single-byte alphanumeric characters
*/
class OptionSelectionDetailsType
extends PPXmlMessage{
/**
- * Option Selection. Required Character length and limitations:
- * 12 single-byte alphanumeric characters
+ * Option Selection. Required Character length and limitations:
+ * 12 single-byte alphanumeric characters
* @access public
* @namespace ns
@@ -13054,7 +13865,7 @@ class OptionSelectionDetailsType
public $OptionSelection;
/**
- * Option Price. Optional
+ * Option Price. Optional
* @access public
* @namespace ns
@@ -13065,7 +13876,7 @@ class OptionSelectionDetailsType
public $Price;
/**
- * Option Type Optional
+ * Option Type Optional
* @access public
* @namespace ns
@@ -13076,7 +13887,7 @@ class OptionSelectionDetailsType
public $OptionType;
/**
- *
+ *
* @array
* @access public
@@ -13095,19 +13906,20 @@ public function __construct($OptionSelection = NULL) {
}
-
+
+
}
/**
- * Option Name. Optional
+ * Option Name. Optional
*/
class OptionDetailsType
extends PPXmlMessage{
/**
- * Option Name. Optional
+ * Option Name. Optional
* @access public
* @namespace ns
@@ -13118,7 +13930,7 @@ class OptionDetailsType
public $OptionName;
/**
- *
+ *
* @array
* @access public
@@ -13137,19 +13949,20 @@ public function __construct($OptionName = NULL) {
}
-
+
+
}
/**
- *
+ *
*/
class BMCreateButtonReq
extends PPXmlMessage{
/**
- *
+ *
* @access public
* @namespace ns
@@ -13173,23 +13986,24 @@ public function toXMLString()
$str .= '';
return $str;
}
-
+
+
}
/**
- * Type of Button to create. Required Must be one of the
- * following: BUYNOW, CART, GIFTCERTIFICATE. SUBSCRIBE,
- * PAYMENTPLAN, AUTOBILLING, DONATE, VIEWCART or UNSUBSCRIBE
+ * Type of Button to create. Required Must be one of the
+ * following: BUYNOW, CART, GIFTCERTIFICATE. SUBSCRIBE,
+ * PAYMENTPLAN, AUTOBILLING, DONATE, VIEWCART or UNSUBSCRIBE
*/
class BMCreateButtonRequestType extends AbstractRequestType
{
/**
- * Type of Button to create. Required Must be one of the
- * following: BUYNOW, CART, GIFTCERTIFICATE. SUBSCRIBE,
- * PAYMENTPLAN, AUTOBILLING, DONATE, VIEWCART or UNSUBSCRIBE
+ * Type of Button to create. Required Must be one of the
+ * following: BUYNOW, CART, GIFTCERTIFICATE. SUBSCRIBE,
+ * PAYMENTPLAN, AUTOBILLING, DONATE, VIEWCART or UNSUBSCRIBE
* @access public
* @namespace ns
@@ -13200,8 +14014,8 @@ class BMCreateButtonRequestType extends AbstractRequestType
public $ButtonType;
/**
- * button code. optional Must be one of the following: hosted,
- * encrypted or cleartext
+ * button code. optional Must be one of the following: hosted,
+ * encrypted or cleartext
* @access public
* @namespace ns
@@ -13212,8 +14026,8 @@ class BMCreateButtonRequestType extends AbstractRequestType
public $ButtonCode;
/**
- * Button sub type. optional for button types buynow and cart
- * only Must Be either PRODUCTS or SERVICES
+ * Button sub type. optional for button types buynow and cart
+ * only Must Be either PRODUCTS or SERVICES
* @access public
* @namespace ns
@@ -13224,9 +14038,9 @@ class BMCreateButtonRequestType extends AbstractRequestType
public $ButtonSubType;
/**
- * Button Variable information At least one required recurring
- * Character length and limitations: 63 single-byte
- * alphanumeric characters
+ * Button Variable information At least one required recurring
+ * Character length and limitations: 63 single-byte
+ * alphanumeric characters
* @array
* @access public
@@ -13238,7 +14052,7 @@ class BMCreateButtonRequestType extends AbstractRequestType
public $ButtonVar;
/**
- *
+ *
* @array
* @access public
@@ -13250,7 +14064,7 @@ class BMCreateButtonRequestType extends AbstractRequestType
public $OptionDetails;
/**
- * Details of each option for the button. Optional
+ * Details of each option for the button. Optional
* @array
* @access public
@@ -13262,8 +14076,8 @@ class BMCreateButtonRequestType extends AbstractRequestType
public $TextBox;
/**
- * Button image to use. Optional Must be one of: REG, SML, or
- * CC
+ * Button image to use. Optional Must be one of: REG, SML, or
+ * CC
* @access public
* @namespace ns
@@ -13274,9 +14088,9 @@ class BMCreateButtonRequestType extends AbstractRequestType
public $ButtonImage;
/**
- * Button URL for custom button image. Optional Character
- * length and limitations: 127 single-byte alphanumeric
- * characters
+ * Button URL for custom button image. Optional Character
+ * length and limitations: 127 single-byte alphanumeric
+ * characters
* @access public
* @namespace ns
@@ -13287,8 +14101,8 @@ class BMCreateButtonRequestType extends AbstractRequestType
public $ButtonImageURL;
/**
- * Text to use on Buy Now Button. Optional Must be either
- * BUYNOW or PAYNOW
+ * Text to use on Buy Now Button. Optional Must be either
+ * BUYNOW or PAYNOW
* @access public
* @namespace ns
@@ -13299,8 +14113,8 @@ class BMCreateButtonRequestType extends AbstractRequestType
public $BuyNowText;
/**
- * Text to use on Subscribe button. Optional Must be either
- * BUYNOW or SUBSCRIBE
+ * Text to use on Subscribe button. Optional Must be either
+ * BUYNOW or SUBSCRIBE
* @access public
* @namespace ns
@@ -13311,7 +14125,7 @@ class BMCreateButtonRequestType extends AbstractRequestType
public $SubscribeText;
/**
- * Button Country. Optional Must be valid ISO country code
+ * Button Country. Optional Must be valid ISO country code
* @access public
* @namespace ns
@@ -13322,8 +14136,8 @@ class BMCreateButtonRequestType extends AbstractRequestType
public $ButtonCountry;
/**
- * Button language code. Optional Character length and
- * limitations: 3 single-byte alphanumeric characters
+ * Button language code. Optional Character length and
+ * limitations: 3 single-byte alphanumeric characters
* @access public
* @namespace ns
@@ -13334,19 +14148,34 @@ class BMCreateButtonRequestType extends AbstractRequestType
public $ButtonLanguage;
-
+
+ public function toXMLString()
+ {
+ $flag = 0;
+ foreach($this->ButtonVar as $var){
+ if(strpos($var, 'bn=') !== FALSE){
+ $flag = 1;
+ break;
+ }
+ }
+ if(!$flag){
+ array_push($this->ButtonVar, "bn=PayPal_SDK");
+ }
+ return parent::toXMLString();
+ }
+
}
/**
- *
+ *
*/
class BMCreateButtonResponseType extends AbstractResponseType
{
/**
- *
+ *
* @access public
* @namespace ns
@@ -13357,7 +14186,7 @@ class BMCreateButtonResponseType extends AbstractResponseType
public $Website;
/**
- *
+ *
* @access public
* @namespace ns
@@ -13368,7 +14197,7 @@ class BMCreateButtonResponseType extends AbstractResponseType
public $Email;
/**
- *
+ *
* @access public
* @namespace ns
@@ -13379,7 +14208,7 @@ class BMCreateButtonResponseType extends AbstractResponseType
public $Mobile;
/**
- *
+ *
* @access public
* @namespace ns
@@ -13395,13 +14224,13 @@ class BMCreateButtonResponseType extends AbstractResponseType
/**
- *
+ *
*/
class BMUpdateButtonReq
extends PPXmlMessage{
/**
- *
+ *
* @access public
* @namespace ns
@@ -13425,23 +14254,24 @@ public function toXMLString()
$str .= '';
return $str;
}
-
+
+
}
/**
- * Hosted Button id of the button to update. Required
- * Character length and limitations: 10 single-byte numeric
- * characters
+ * Hosted Button id of the button to update. Required
+ * Character length and limitations: 10 single-byte numeric
+ * characters
*/
class BMUpdateButtonRequestType extends AbstractRequestType
{
/**
- * Hosted Button id of the button to update. Required
- * Character length and limitations: 10 single-byte numeric
- * characters
+ * Hosted Button id of the button to update. Required
+ * Character length and limitations: 10 single-byte numeric
+ * characters
* @access public
* @namespace ns
@@ -13452,9 +14282,9 @@ class BMUpdateButtonRequestType extends AbstractRequestType
public $HostedButtonID;
/**
- * Type of Button to create. Required Must be one of the
- * following: BUYNOW, CART, GIFTCERTIFICATE. SUBSCRIBE,
- * PAYMENTPLAN, AUTOBILLING, DONATE, VIEWCART or UNSUBSCRIBE
+ * Type of Button to create. Required Must be one of the
+ * following: BUYNOW, CART, GIFTCERTIFICATE. SUBSCRIBE,
+ * PAYMENTPLAN, AUTOBILLING, DONATE, VIEWCART or UNSUBSCRIBE
* @access public
* @namespace ns
@@ -13465,8 +14295,8 @@ class BMUpdateButtonRequestType extends AbstractRequestType
public $ButtonType;
/**
- * button code. optional Must be one of the following: hosted,
- * encrypted or cleartext
+ * button code. optional Must be one of the following: hosted,
+ * encrypted or cleartext
* @access public
* @namespace ns
@@ -13477,8 +14307,8 @@ class BMUpdateButtonRequestType extends AbstractRequestType
public $ButtonCode;
/**
- * Button sub type. optional for button types buynow and cart
- * only Must Be either PRODUCTS or SERVICES
+ * Button sub type. optional for button types buynow and cart
+ * only Must Be either PRODUCTS or SERVICES
* @access public
* @namespace ns
@@ -13489,9 +14319,9 @@ class BMUpdateButtonRequestType extends AbstractRequestType
public $ButtonSubType;
/**
- * Button Variable information At least one required recurring
- * Character length and limitations: 63 single-byte
- * alphanumeric characters
+ * Button Variable information At least one required recurring
+ * Character length and limitations: 63 single-byte
+ * alphanumeric characters
* @array
* @access public
@@ -13503,7 +14333,7 @@ class BMUpdateButtonRequestType extends AbstractRequestType
public $ButtonVar;
/**
- *
+ *
* @array
* @access public
@@ -13515,7 +14345,7 @@ class BMUpdateButtonRequestType extends AbstractRequestType
public $OptionDetails;
/**
- * Details of each option for the button. Optional
+ * Details of each option for the button. Optional
* @array
* @access public
@@ -13527,8 +14357,8 @@ class BMUpdateButtonRequestType extends AbstractRequestType
public $TextBox;
/**
- * Button image to use. Optional Must be one of: REG, SML, or
- * CC
+ * Button image to use. Optional Must be one of: REG, SML, or
+ * CC
* @access public
* @namespace ns
@@ -13539,9 +14369,9 @@ class BMUpdateButtonRequestType extends AbstractRequestType
public $ButtonImage;
/**
- * Button URL for custom button image. Optional Character
- * length and limitations: 127 single-byte alphanumeric
- * characters
+ * Button URL for custom button image. Optional Character
+ * length and limitations: 127 single-byte alphanumeric
+ * characters
* @access public
* @namespace ns
@@ -13552,8 +14382,8 @@ class BMUpdateButtonRequestType extends AbstractRequestType
public $ButtonImageURL;
/**
- * Text to use on Buy Now Button. Optional Must be either
- * BUYNOW or PAYNOW
+ * Text to use on Buy Now Button. Optional Must be either
+ * BUYNOW or PAYNOW
* @access public
* @namespace ns
@@ -13564,8 +14394,8 @@ class BMUpdateButtonRequestType extends AbstractRequestType
public $BuyNowText;
/**
- * Text to use on Subscribe button. Optional Must be either
- * BUYNOW or SUBSCRIBE
+ * Text to use on Subscribe button. Optional Must be either
+ * BUYNOW or SUBSCRIBE
* @access public
* @namespace ns
@@ -13576,7 +14406,7 @@ class BMUpdateButtonRequestType extends AbstractRequestType
public $SubscribeText;
/**
- * Button Country. Optional Must be valid ISO country code
+ * Button Country. Optional Must be valid ISO country code
* @access public
* @namespace ns
@@ -13587,8 +14417,8 @@ class BMUpdateButtonRequestType extends AbstractRequestType
public $ButtonCountry;
/**
- * Button language code. Optional Character length and
- * limitations: 2 single-byte alphanumeric characters
+ * Button language code. Optional Character length and
+ * limitations: 2 single-byte alphanumeric characters
* @access public
* @namespace ns
@@ -13606,19 +14436,34 @@ public function __construct($HostedButtonID = NULL) {
}
-
+
+ public function toXMLString()
+ {
+ $flag = 0;
+ foreach($this->ButtonVar as $var){
+ if(strpos($var, 'bn=') !== FALSE){
+ $flag = 1;
+ break;
+ }
+ }
+ if(!$flag){
+ array_push($this->ButtonVar, "bn=PayPal_SDK");
+ }
+ return parent::toXMLString();
+ }
+
}
/**
- *
+ *
*/
class BMUpdateButtonResponseType extends AbstractResponseType
{
/**
- *
+ *
* @access public
* @namespace ns
@@ -13629,7 +14474,7 @@ class BMUpdateButtonResponseType extends AbstractResponseType
public $Website;
/**
- *
+ *
* @access public
* @namespace ns
@@ -13640,7 +14485,7 @@ class BMUpdateButtonResponseType extends AbstractResponseType
public $Email;
/**
- *
+ *
* @access public
* @namespace ns
@@ -13651,7 +14496,7 @@ class BMUpdateButtonResponseType extends AbstractResponseType
public $Mobile;
/**
- *
+ *
* @access public
* @namespace ns
@@ -13667,13 +14512,13 @@ class BMUpdateButtonResponseType extends AbstractResponseType
/**
- *
+ *
*/
class BMManageButtonStatusReq
extends PPXmlMessage{
/**
- *
+ *
* @access public
* @namespace ns
@@ -13697,21 +14542,22 @@ public function toXMLString()
$str .= '';
return $str;
}
-
+
+
}
/**
- * Button ID of Hosted button. Required Character length and
- * limitations: 10 single-byte numeric characters
+ * Button ID of Hosted button. Required Character length and
+ * limitations: 10 single-byte numeric characters
*/
class BMManageButtonStatusRequestType extends AbstractRequestType
{
/**
- * Button ID of Hosted button. Required Character length and
- * limitations: 10 single-byte numeric characters
+ * Button ID of Hosted button. Required Character length and
+ * limitations: 10 single-byte numeric characters
* @access public
* @namespace ns
@@ -13722,9 +14568,9 @@ class BMManageButtonStatusRequestType extends AbstractRequestType
public $HostedButtonID;
/**
- * Requested Status change for hosted button. Required
- * Character length and limitations: 1 single-byte alphanumeric
- * characters
+ * Requested Status change for hosted button. Required
+ * Character length and limitations: 1 single-byte alphanumeric
+ * characters
* @access public
* @namespace ns
@@ -13735,13 +14581,14 @@ class BMManageButtonStatusRequestType extends AbstractRequestType
public $ButtonStatus;
-
+
+
}
/**
- *
+ *
*/
class BMManageButtonStatusResponseType extends AbstractResponseType
{
@@ -13752,13 +14599,13 @@ class BMManageButtonStatusResponseType extends AbstractResponseType
/**
- *
+ *
*/
class BMGetButtonDetailsReq
extends PPXmlMessage{
/**
- *
+ *
* @access public
* @namespace ns
@@ -13782,21 +14629,22 @@ public function toXMLString()
$str .= '';
return $str;
}
-
+
+
}
/**
- * Button ID of button to return. Required Character length
- * and limitations: 10 single-byte numeric characters
+ * Button ID of button to return. Required Character length
+ * and limitations: 10 single-byte numeric characters
*/
class BMGetButtonDetailsRequestType extends AbstractRequestType
{
/**
- * Button ID of button to return. Required Character length
- * and limitations: 10 single-byte numeric characters
+ * Button ID of button to return. Required Character length
+ * and limitations: 10 single-byte numeric characters
* @access public
* @namespace ns
@@ -13814,21 +14662,22 @@ public function __construct($HostedButtonID = NULL) {
}
-
+
+
}
/**
- * Type of button. One of the following: BUYNOW, CART,
- * GIFTCERTIFICATE. SUBSCRIBE, PAYMENTPLAN, AUTOBILLING,
- * DONATE, VIEWCART or UNSUBSCRIBE
+ * Type of button. One of the following: BUYNOW, CART,
+ * GIFTCERTIFICATE. SUBSCRIBE, PAYMENTPLAN, AUTOBILLING,
+ * DONATE, VIEWCART or UNSUBSCRIBE
*/
class BMGetButtonDetailsResponseType extends AbstractResponseType
{
/**
- *
+ *
* @access public
* @namespace ns
@@ -13839,7 +14688,7 @@ class BMGetButtonDetailsResponseType extends AbstractResponseType
public $Website;
/**
- *
+ *
* @access public
* @namespace ns
@@ -13850,7 +14699,7 @@ class BMGetButtonDetailsResponseType extends AbstractResponseType
public $Email;
/**
- *
+ *
* @access public
* @namespace ns
@@ -13861,7 +14710,7 @@ class BMGetButtonDetailsResponseType extends AbstractResponseType
public $Mobile;
/**
- *
+ *
* @access public
* @namespace ns
@@ -13872,9 +14721,9 @@ class BMGetButtonDetailsResponseType extends AbstractResponseType
public $HostedButtonID;
/**
- * Type of button. One of the following: BUYNOW, CART,
- * GIFTCERTIFICATE. SUBSCRIBE, PAYMENTPLAN, AUTOBILLING,
- * DONATE, VIEWCART or UNSUBSCRIBE
+ * Type of button. One of the following: BUYNOW, CART,
+ * GIFTCERTIFICATE. SUBSCRIBE, PAYMENTPLAN, AUTOBILLING,
+ * DONATE, VIEWCART or UNSUBSCRIBE
* @access public
* @namespace ns
@@ -13885,8 +14734,8 @@ class BMGetButtonDetailsResponseType extends AbstractResponseType
public $ButtonType;
/**
- * Type of button code. One of the following: hosted, encrypted
- * or cleartext
+ * Type of button code. One of the following: hosted, encrypted
+ * or cleartext
* @access public
* @namespace ns
@@ -13897,8 +14746,8 @@ class BMGetButtonDetailsResponseType extends AbstractResponseType
public $ButtonCode;
/**
- * Button sub type. optional for button types buynow and cart
- * only Either PRODUCTS or SERVICES
+ * Button sub type. optional for button types buynow and cart
+ * only Either PRODUCTS or SERVICES
* @access public
* @namespace ns
@@ -13909,8 +14758,8 @@ class BMGetButtonDetailsResponseType extends AbstractResponseType
public $ButtonSubType;
/**
- * Button Variable information Character length and
- * limitations: 63 single-byte alphanumeric characters
+ * Button Variable information Character length and
+ * limitations: 63 single-byte alphanumeric characters
* @array
* @access public
@@ -13922,7 +14771,7 @@ class BMGetButtonDetailsResponseType extends AbstractResponseType
public $ButtonVar;
/**
- *
+ *
* @array
* @access public
@@ -13934,7 +14783,7 @@ class BMGetButtonDetailsResponseType extends AbstractResponseType
public $OptionDetails;
/**
- * Text field
+ * Text field
* @array
* @access public
@@ -13946,7 +14795,7 @@ class BMGetButtonDetailsResponseType extends AbstractResponseType
public $TextBox;
/**
- * Button image to use. One of: REG, SML, or CC
+ * Button image to use. One of: REG, SML, or CC
* @access public
* @namespace ns
@@ -13957,7 +14806,7 @@ class BMGetButtonDetailsResponseType extends AbstractResponseType
public $ButtonImage;
/**
- * Button URL for custom button image.
+ * Button URL for custom button image.
* @access public
* @namespace ns
@@ -13968,7 +14817,7 @@ class BMGetButtonDetailsResponseType extends AbstractResponseType
public $ButtonImageURL;
/**
- * Text to use on Buy Now Button. Either BUYNOW or PAYNOW
+ * Text to use on Buy Now Button. Either BUYNOW or PAYNOW
* @access public
* @namespace ns
@@ -13979,8 +14828,8 @@ class BMGetButtonDetailsResponseType extends AbstractResponseType
public $BuyNowText;
/**
- * Text to use on Subscribe button. Must be either BUYNOW or
- * SUBSCRIBE
+ * Text to use on Subscribe button. Must be either BUYNOW or
+ * SUBSCRIBE
* @access public
* @namespace ns
@@ -13991,7 +14840,7 @@ class BMGetButtonDetailsResponseType extends AbstractResponseType
public $SubscribeText;
/**
- * Button Country. Valid ISO country code or 'International'
+ * Button Country. Valid ISO country code or 'International'
* @access public
* @namespace ns
@@ -14002,8 +14851,8 @@ class BMGetButtonDetailsResponseType extends AbstractResponseType
public $ButtonCountry;
/**
- * Button language code. Character length and limitations: 3
- * single-byte alphanumeric characters
+ * Button language code. Character length and limitations: 3
+ * single-byte alphanumeric characters
* @access public
* @namespace ns
@@ -14019,13 +14868,13 @@ class BMGetButtonDetailsResponseType extends AbstractResponseType
/**
- *
+ *
*/
class BMSetInventoryReq
extends PPXmlMessage{
/**
- *
+ *
* @access public
* @namespace ns
@@ -14049,23 +14898,24 @@ public function toXMLString()
$str .= '';
return $str;
}
-
+
+
}
/**
- * Hosted Button ID of button you wish to change. Required
- * Character length and limitations: 10 single-byte numeric
- * characters
+ * Hosted Button ID of button you wish to change. Required
+ * Character length and limitations: 10 single-byte numeric
+ * characters
*/
class BMSetInventoryRequestType extends AbstractRequestType
{
/**
- * Hosted Button ID of button you wish to change. Required
- * Character length and limitations: 10 single-byte numeric
- * characters
+ * Hosted Button ID of button you wish to change. Required
+ * Character length and limitations: 10 single-byte numeric
+ * characters
* @access public
* @namespace ns
@@ -14076,7 +14926,7 @@ class BMSetInventoryRequestType extends AbstractRequestType
public $HostedButtonID;
/**
- * Is Inventory tracked. Required 0 or 1
+ * Is Inventory tracked. Required 0 or 1
* @access public
* @namespace ns
@@ -14087,7 +14937,7 @@ class BMSetInventoryRequestType extends AbstractRequestType
public $TrackInv;
/**
- * Is PNL Tracked. Required 0 or 1
+ * Is PNL Tracked. Required 0 or 1
* @access public
* @namespace ns
@@ -14098,7 +14948,7 @@ class BMSetInventoryRequestType extends AbstractRequestType
public $TrackPnl;
/**
- *
+ *
* @access public
* @namespace ebl
@@ -14109,8 +14959,8 @@ class BMSetInventoryRequestType extends AbstractRequestType
public $ItemTrackingDetails;
/**
- * Option Index. Optional Character length and limitations: 1
- * single-byte alphanumeric characters
+ * Option Index. Optional Character length and limitations: 1
+ * single-byte alphanumeric characters
* @access public
* @namespace ns
@@ -14121,7 +14971,7 @@ class BMSetInventoryRequestType extends AbstractRequestType
public $OptionIndex;
/**
- *
+ *
* @array
* @access public
@@ -14133,9 +14983,9 @@ class BMSetInventoryRequestType extends AbstractRequestType
public $OptionTrackingDetails;
/**
- * URL of page to display when an item is soldout. Optional
- * Character length and limitations: 127 single-byte
- * alphanumeric characters
+ * URL of page to display when an item is soldout. Optional
+ * Character length and limitations: 127 single-byte
+ * alphanumeric characters
* @access public
* @namespace ns
@@ -14146,8 +14996,8 @@ class BMSetInventoryRequestType extends AbstractRequestType
public $SoldoutURL;
/**
- * Whether to use the same digital download key repeatedly.
- * Optional
+ * Whether to use the same digital download key repeatedly.
+ * Optional
* @access public
* @namespace ns
@@ -14158,8 +15008,8 @@ class BMSetInventoryRequestType extends AbstractRequestType
public $ReuseDigitalDownloadKeys;
/**
- * Whether to append these keys to the list or not (replace).
- * Optional
+ * Whether to append these keys to the list or not (replace).
+ * Optional
* @access public
* @namespace ns
@@ -14170,10 +15020,10 @@ class BMSetInventoryRequestType extends AbstractRequestType
public $AppendDigitalDownloadKeys;
/**
- * Zero or more digital download keys to distribute to
- * customers after transaction is completed. Optional
- * Character length and limitations: 1000 single-byte
- * alphanumeric characters
+ * Zero or more digital download keys to distribute to
+ * customers after transaction is completed. Optional
+ * Character length and limitations: 1000 single-byte
+ * alphanumeric characters
* @array
* @access public
@@ -14194,13 +15044,14 @@ public function __construct($HostedButtonID = NULL, $TrackInv = NULL, $TrackPnl
}
-
+
+
}
/**
- *
+ *
*/
class BMSetInventoryResponseType extends AbstractResponseType
{
@@ -14211,13 +15062,13 @@ class BMSetInventoryResponseType extends AbstractResponseType
/**
- *
+ *
*/
class BMGetInventoryReq
extends PPXmlMessage{
/**
- *
+ *
* @access public
* @namespace ns
@@ -14241,23 +15092,24 @@ public function toXMLString()
$str .= '';
return $str;
}
-
+
+
}
/**
- * Hosted Button ID of the button to return inventory for.
- * Required Character length and limitations: 10 single-byte
- * numeric characters
+ * Hosted Button ID of the button to return inventory for.
+ * Required Character length and limitations: 10 single-byte
+ * numeric characters
*/
class BMGetInventoryRequestType extends AbstractRequestType
{
/**
- * Hosted Button ID of the button to return inventory for.
- * Required Character length and limitations: 10 single-byte
- * numeric characters
+ * Hosted Button ID of the button to return inventory for.
+ * Required Character length and limitations: 10 single-byte
+ * numeric characters
* @access public
* @namespace ns
@@ -14275,19 +15127,20 @@ public function __construct($HostedButtonID = NULL) {
}
-
+
+
}
/**
- *
+ *
*/
class BMGetInventoryResponseType extends AbstractResponseType
{
/**
- *
+ *
* @access public
* @namespace ns
@@ -14298,7 +15151,7 @@ class BMGetInventoryResponseType extends AbstractResponseType
public $HostedButtonID;
/**
- *
+ *
* @access public
* @namespace ns
@@ -14309,7 +15162,7 @@ class BMGetInventoryResponseType extends AbstractResponseType
public $TrackInv;
/**
- *
+ *
* @access public
* @namespace ns
@@ -14320,7 +15173,7 @@ class BMGetInventoryResponseType extends AbstractResponseType
public $TrackPnl;
/**
- *
+ *
* @access public
* @namespace ebl
@@ -14331,7 +15184,7 @@ class BMGetInventoryResponseType extends AbstractResponseType
public $ItemTrackingDetails;
/**
- *
+ *
* @access public
* @namespace ns
@@ -14342,7 +15195,7 @@ class BMGetInventoryResponseType extends AbstractResponseType
public $OptionIndex;
/**
- *
+ *
* @access public
* @namespace ns
@@ -14353,7 +15206,7 @@ class BMGetInventoryResponseType extends AbstractResponseType
public $OptionName;
/**
- *
+ *
* @array
* @access public
@@ -14365,7 +15218,7 @@ class BMGetInventoryResponseType extends AbstractResponseType
public $OptionTrackingDetails;
/**
- *
+ *
* @access public
* @namespace ns
@@ -14376,7 +15229,7 @@ class BMGetInventoryResponseType extends AbstractResponseType
public $SoldoutURL;
/**
- *
+ *
* @array
* @access public
@@ -14393,13 +15246,13 @@ class BMGetInventoryResponseType extends AbstractResponseType
/**
- *
+ *
*/
class BMButtonSearchReq
extends PPXmlMessage{
/**
- *
+ *
* @access public
* @namespace ns
@@ -14423,21 +15276,22 @@ public function toXMLString()
$str .= '';
return $str;
}
-
+
+
}
/**
- * The earliest transaction date at which to start the search.
- * No wildcards are allowed. Required
+ * The earliest transaction date at which to start the search.
+ * No wildcards are allowed. Required
*/
class BMButtonSearchRequestType extends AbstractRequestType
{
/**
- * The earliest transaction date at which to start the search.
- * No wildcards are allowed. Required
+ * The earliest transaction date at which to start the search.
+ * No wildcards are allowed. Required
* @access public
* @namespace ns
@@ -14448,8 +15302,8 @@ class BMButtonSearchRequestType extends AbstractRequestType
public $StartDate;
/**
- * The latest transaction date to be included in the search
- * Optional
+ * The latest transaction date to be included in the search
+ * Optional
* @access public
* @namespace ns
@@ -14460,19 +15314,20 @@ class BMButtonSearchRequestType extends AbstractRequestType
public $EndDate;
-
+
+
}
/**
- *
+ *
*/
class BMButtonSearchResponseType extends AbstractResponseType
{
/**
- *
+ *
* @array
* @access public
@@ -14489,13 +15344,13 @@ class BMButtonSearchResponseType extends AbstractResponseType
/**
- *
+ *
*/
class RefundTransactionReq
extends PPXmlMessage{
/**
- *
+ *
* @access public
* @namespace ns
@@ -14519,23 +15374,24 @@ public function toXMLString()
$str .= '';
return $str;
}
-
+
+
}
/**
- * Unique identifier of the transaction you are refunding.
- * Optional Character length and limitations: 17 single-byte
- * alphanumeric characters
+ * Unique identifier of the transaction you are refunding.
+ * Optional Character length and limitations: 17 single-byte
+ * alphanumeric characters
*/
class RefundTransactionRequestType extends AbstractRequestType
{
/**
- * Unique identifier of the transaction you are refunding.
- * Optional Character length and limitations: 17 single-byte
- * alphanumeric characters
+ * Unique identifier of the transaction you are refunding.
+ * Optional Character length and limitations: 17 single-byte
+ * alphanumeric characters
* @access public
* @namespace ns
@@ -14546,9 +15402,9 @@ class RefundTransactionRequestType extends AbstractRequestType
public $TransactionID;
/**
- * Encrypted PayPal customer account identification number.
- * Optional Character length and limitations: 127 single-byte
- * alphanumeric characters
+ * Encrypted PayPal customer account identification number.
+ * Optional Character length and limitations: 127 single-byte
+ * alphanumeric characters
* @access public
* @namespace ns
@@ -14559,12 +15415,12 @@ class RefundTransactionRequestType extends AbstractRequestType
public $PayerID;
/**
- * Invoice number corresponding to transaction details for
- * tracking the refund of a payment. This parameter is passed
- * by the merchant or recipient while refunding the
- * transaction. This parameter does not affect the business
- * logic, it is persisted in the DB for transaction reference
- * Optional
+ * Invoice number corresponding to transaction details for
+ * tracking the refund of a payment. This parameter is passed
+ * by the merchant or recipient while refunding the
+ * transaction. This parameter does not affect the business
+ * logic, it is persisted in the DB for transaction reference
+ * Optional
* @access public
* @namespace ns
@@ -14575,7 +15431,7 @@ class RefundTransactionRequestType extends AbstractRequestType
public $InvoiceID;
/**
- * Type of refund you are making Required
+ * Type of refund you are making Required
* @access public
* @namespace ns
@@ -14586,8 +15442,8 @@ class RefundTransactionRequestType extends AbstractRequestType
public $RefundType;
/**
- * Refund amount. Amount is required if RefundType is Partial.
- * NOTE: If RefundType is Full, do not set Amount.
+ * Refund amount. Amount is required if RefundType is Partial.
+ * NOTE: If RefundType is Full, do not set Amount.
* @access public
* @namespace ns
@@ -14598,8 +15454,8 @@ class RefundTransactionRequestType extends AbstractRequestType
public $Amount;
/**
- * Custom memo about the refund. Optional Character length and
- * limitations: 255 single-byte alphanumeric characters
+ * Custom memo about the refund. Optional Character length and
+ * limitations: 255 single-byte alphanumeric characters
* @access public
* @namespace ns
@@ -14610,7 +15466,7 @@ class RefundTransactionRequestType extends AbstractRequestType
public $Memo;
/**
- * The maximum time till which refund must be tried. Optional
+ * The maximum time till which refund must be tried. Optional
* @access public
* @namespace ns
@@ -14621,7 +15477,7 @@ class RefundTransactionRequestType extends AbstractRequestType
public $RetryUntil;
/**
- * The type of funding source for refund. Optional
+ * The type of funding source for refund. Optional
* @access public
* @namespace ns
@@ -14632,9 +15488,9 @@ class RefundTransactionRequestType extends AbstractRequestType
public $RefundSource;
/**
- * Flag to indicate that the customer was already given store
- * credit for a given transaction. This will allow us to make
- * sure we do not double refund. Optional
+ * Flag to indicate that the customer was already given store
+ * credit for a given transaction. This will allow us to make
+ * sure we do not double refund. Optional
* @access public
* @namespace ns
@@ -14645,7 +15501,7 @@ class RefundTransactionRequestType extends AbstractRequestType
public $RefundAdvice;
/**
- * To pass the Merchant store informationOptional
+ * To pass the Merchant store informationOptional
* @access public
* @namespace ebl
@@ -14656,8 +15512,8 @@ class RefundTransactionRequestType extends AbstractRequestType
public $MerchantStoreDetails;
/**
- * Information about the individual details of the items to be
- * refunded.Optional
+ * Information about the individual details of the items to be
+ * refunded.Optional
* @array
* @access public
@@ -14669,9 +15525,9 @@ class RefundTransactionRequestType extends AbstractRequestType
public $RefundItemDetails;
/**
- * Unique id for each API request to prevent duplicate
- * payments. Optional Character length and limits: 38
- * single-byte characters maximum.
+ * Unique id for each API request to prevent duplicate
+ * payments. Optional Character length and limits: 38
+ * single-byte characters maximum.
* @access public
* @namespace ns
@@ -14682,21 +15538,22 @@ class RefundTransactionRequestType extends AbstractRequestType
public $MsgSubID;
-
+
+
}
/**
- * Unique transaction ID of the refund. Character length and
- * limitations:17 single-byte characters
+ * Unique transaction ID of the refund. Character length and
+ * limitations:17 single-byte characters
*/
class RefundTransactionResponseType extends AbstractResponseType
{
/**
- * Unique transaction ID of the refund. Character length and
- * limitations:17 single-byte characters
+ * Unique transaction ID of the refund. Character length and
+ * limitations:17 single-byte characters
* @access public
* @namespace ns
@@ -14707,8 +15564,8 @@ class RefundTransactionResponseType extends AbstractResponseType
public $RefundTransactionID;
/**
- * Amount subtracted from PayPal balance of original recipient
- * of payment to make this refund
+ * Amount subtracted from PayPal balance of original recipient
+ * of payment to make this refund
* @access public
* @namespace ns
@@ -14719,7 +15576,7 @@ class RefundTransactionResponseType extends AbstractResponseType
public $NetRefundAmount;
/**
- * Transaction fee refunded to original recipient of payment
+ * Transaction fee refunded to original recipient of payment
* @access public
* @namespace ns
@@ -14730,7 +15587,7 @@ class RefundTransactionResponseType extends AbstractResponseType
public $FeeRefundAmount;
/**
- * Amount of money refunded to original payer
+ * Amount of money refunded to original payer
* @access public
* @namespace ns
@@ -14741,7 +15598,7 @@ class RefundTransactionResponseType extends AbstractResponseType
public $GrossRefundAmount;
/**
- * Total of all previous refunds
+ * Total of all previous refunds
* @access public
* @namespace ns
@@ -14752,7 +15609,7 @@ class RefundTransactionResponseType extends AbstractResponseType
public $TotalRefundedAmount;
/**
- * Contains Refund Payment status information.
+ * Contains Refund Payment status information.
* @access public
* @namespace ebl
@@ -14763,8 +15620,8 @@ class RefundTransactionResponseType extends AbstractResponseType
public $RefundInfo;
/**
- * Any general information like offer details that is
- * reinstated or any other marketing data
+ * Any general information like offer details that is
+ * reinstated or any other marketing data
* @access public
* @namespace ns
@@ -14775,7 +15632,7 @@ class RefundTransactionResponseType extends AbstractResponseType
public $ReceiptData;
/**
- * Return msgsubid back to merchant
+ * Return msgsubid back to merchant
* @access public
* @namespace ns
@@ -14791,13 +15648,13 @@ class RefundTransactionResponseType extends AbstractResponseType
/**
- *
+ *
*/
class InitiateRecoupReq
extends PPXmlMessage{
/**
- *
+ *
* @access public
* @namespace ns
@@ -14821,19 +15678,20 @@ public function toXMLString()
$str .= '';
return $str;
}
-
+
+
}
/**
- *
+ *
*/
class InitiateRecoupRequestType extends AbstractRequestType
{
/**
- *
+ *
* @access public
* @namespace ed
@@ -14851,13 +15709,14 @@ public function __construct($EnhancedInitiateRecoupRequestDetails = NULL) {
}
-
+
+
}
/**
- *
+ *
*/
class InitiateRecoupResponseType extends AbstractResponseType
{
@@ -14868,13 +15727,13 @@ class InitiateRecoupResponseType extends AbstractResponseType
/**
- *
+ *
*/
class CompleteRecoupReq
extends PPXmlMessage{
/**
- *
+ *
* @access public
* @namespace ns
@@ -14898,19 +15757,20 @@ public function toXMLString()
$str .= '';
return $str;
}
-
+
+
}
/**
- *
+ *
*/
class CompleteRecoupRequestType extends AbstractRequestType
{
/**
- *
+ *
* @access public
* @namespace ed
@@ -14928,19 +15788,20 @@ public function __construct($EnhancedCompleteRecoupRequestDetails = NULL) {
}
-
+
+
}
/**
- *
+ *
*/
class CompleteRecoupResponseType extends AbstractResponseType
{
/**
- *
+ *
* @access public
* @namespace ed
@@ -14956,13 +15817,13 @@ class CompleteRecoupResponseType extends AbstractResponseType
/**
- *
+ *
*/
class CancelRecoupReq
extends PPXmlMessage{
/**
- *
+ *
* @access public
* @namespace ns
@@ -14986,19 +15847,20 @@ public function toXMLString()
$str .= '';
return $str;
}
-
+
+
}
/**
- *
+ *
*/
class CancelRecoupRequestType extends AbstractRequestType
{
/**
- *
+ *
* @access public
* @namespace ed
@@ -15016,13 +15878,14 @@ public function __construct($EnhancedCancelRecoupRequestDetails = NULL) {
}
-
+
+
}
/**
- *
+ *
*/
class CancelRecoupResponseType extends AbstractResponseType
{
@@ -15033,13 +15896,13 @@ class CancelRecoupResponseType extends AbstractResponseType
/**
- *
+ *
*/
class GetTransactionDetailsReq
extends PPXmlMessage{
/**
- *
+ *
* @access public
* @namespace ns
@@ -15063,27 +15926,28 @@ public function toXMLString()
$str .= '';
return $str;
}
-
+
+
}
/**
- * Unique identifier of a transaction. RequiredThe details for
- * some kinds of transactions cannot be retrieved with
- * GetTransactionDetailsRequest. You cannot obtain details of
- * bank transfer withdrawals, for example. Character length and
- * limitations: 17 single-byte alphanumeric characters
+ * Unique identifier of a transaction. RequiredThe details for
+ * some kinds of transactions cannot be retrieved with
+ * GetTransactionDetailsRequest. You cannot obtain details of
+ * bank transfer withdrawals, for example. Character length and
+ * limitations: 17 single-byte alphanumeric characters
*/
class GetTransactionDetailsRequestType extends AbstractRequestType
{
/**
- * Unique identifier of a transaction. RequiredThe details for
- * some kinds of transactions cannot be retrieved with
- * GetTransactionDetailsRequest. You cannot obtain details of
- * bank transfer withdrawals, for example. Character length and
- * limitations: 17 single-byte alphanumeric characters
+ * Unique identifier of a transaction. RequiredThe details for
+ * some kinds of transactions cannot be retrieved with
+ * GetTransactionDetailsRequest. You cannot obtain details of
+ * bank transfer withdrawals, for example. Character length and
+ * limitations: 17 single-byte alphanumeric characters
* @access public
* @namespace ns
@@ -15094,19 +15958,20 @@ class GetTransactionDetailsRequestType extends AbstractRequestType
public $TransactionID;
-
+
+
}
/**
- *
+ *
*/
class GetTransactionDetailsResponseType extends AbstractResponseType
{
/**
- *
+ *
* @access public
* @namespace ebl
@@ -15117,7 +15982,7 @@ class GetTransactionDetailsResponseType extends AbstractResponseType
public $PaymentTransactionDetails;
/**
- *
+ *
* @access public
* @namespace ebl
@@ -15133,13 +15998,13 @@ class GetTransactionDetailsResponseType extends AbstractResponseType
/**
- *
+ *
*/
class BillUserReq
extends PPXmlMessage{
/**
- *
+ *
* @access public
* @namespace ns
@@ -15163,20 +16028,21 @@ public function toXMLString()
$str .= '';
return $str;
}
-
+
+
}
/**
- * This flag indicates that the response should include
- * FMFDetails
+ * This flag indicates that the response should include
+ * FMFDetails
*/
class BillUserRequestType extends AbstractRequestType
{
/**
- *
+ *
* @access public
* @namespace ebl
@@ -15187,8 +16053,8 @@ class BillUserRequestType extends AbstractRequestType
public $MerchantPullPaymentDetails;
/**
- * This flag indicates that the response should include
- * FMFDetails
+ * This flag indicates that the response should include
+ * FMFDetails
* @access public
* @namespace ns
@@ -15199,19 +16065,20 @@ class BillUserRequestType extends AbstractRequestType
public $ReturnFMFDetails;
-
+
+
}
/**
- *
+ *
*/
class BillUserResponseType extends AbstractResponseType
{
/**
- *
+ *
* @access public
* @namespace ebl
@@ -15222,7 +16089,7 @@ class BillUserResponseType extends AbstractResponseType
public $BillUserResponseDetails;
/**
- *
+ *
* @access public
* @namespace ns
@@ -15238,13 +16105,13 @@ class BillUserResponseType extends AbstractResponseType
/**
- *
+ *
*/
class TransactionSearchReq
extends PPXmlMessage{
/**
- *
+ *
* @access public
* @namespace ns
@@ -15268,21 +16135,22 @@ public function toXMLString()
$str .= '';
return $str;
}
-
+
+
}
/**
- * The earliest transaction date at which to start the search.
- * No wildcards are allowed. Required
+ * The earliest transaction date at which to start the search.
+ * No wildcards are allowed. Required
*/
class TransactionSearchRequestType extends AbstractRequestType
{
/**
- * The earliest transaction date at which to start the search.
- * No wildcards are allowed. Required
+ * The earliest transaction date at which to start the search.
+ * No wildcards are allowed. Required
* @access public
* @namespace ns
@@ -15293,8 +16161,8 @@ class TransactionSearchRequestType extends AbstractRequestType
public $StartDate;
/**
- * The latest transaction date to be included in the search
- * Optional
+ * The latest transaction date to be included in the search
+ * Optional
* @access public
* @namespace ns
@@ -15305,8 +16173,8 @@ class TransactionSearchRequestType extends AbstractRequestType
public $EndDate;
/**
- * Search by the buyer's email address OptionalCharacter length
- * and limitations: 127 single-byte alphanumeric characters
+ * Search by the buyer's email address OptionalCharacter length
+ * and limitations: 127 single-byte alphanumeric characters
* @access public
* @namespace ns
@@ -15317,9 +16185,9 @@ class TransactionSearchRequestType extends AbstractRequestType
public $Payer;
/**
- * Search by the receiver's email address. If the merchant
- * account has only one email, this is the primary email. Can
- * also be a non-primary email.Optional
+ * Search by the receiver's email address. If the merchant
+ * account has only one email, this is the primary email. Can
+ * also be a non-primary email.Optional
* @access public
* @namespace ns
@@ -15330,7 +16198,7 @@ class TransactionSearchRequestType extends AbstractRequestType
public $Receiver;
/**
- * Search by the PayPal Account Optional receipt IDOptional
+ * Search by the PayPal Account Optional receipt IDOptional
* @access public
* @namespace ns
@@ -15341,9 +16209,9 @@ class TransactionSearchRequestType extends AbstractRequestType
public $ReceiptID;
/**
- * Search by the transaction ID. OptionalThe returned results
- * are from the merchant's transaction records. Character
- * length and limitations: 19 single-byte characters maximum
+ * Search by the transaction ID. OptionalThe returned results
+ * are from the merchant's transaction records. Character
+ * length and limitations: 19 single-byte characters maximum
* @access public
* @namespace ns
@@ -15354,9 +16222,9 @@ class TransactionSearchRequestType extends AbstractRequestType
public $TransactionID;
/**
- * Search by Recurring Payment Profile id. The ProfileID is
- * returned as part of the CreateRecurringPaymentsProfile API
- * response. Optional
+ * Search by Recurring Payment Profile id. The ProfileID is
+ * returned as part of the CreateRecurringPaymentsProfile API
+ * response. Optional
* @access public
* @namespace ns
@@ -15367,11 +16235,11 @@ class TransactionSearchRequestType extends AbstractRequestType
public $ProfileID;
/**
- * Search by the buyer's name OptionalSalutation: 20
- * single-byte character limit.FirstName: 25 single-byte
- * character limit.MiddleName: 25 single-byte character
- * limit.LastName: 25 single-byte character limit.Suffix: 12
- * single-byte character limit.
+ * Search by the buyer's name OptionalSalutation: 20
+ * single-byte character limit.FirstName: 25 single-byte
+ * character limit.MiddleName: 25 single-byte character
+ * limit.LastName: 25 single-byte character limit.Suffix: 12
+ * single-byte character limit.
* @access public
* @namespace ns
@@ -15382,11 +16250,11 @@ class TransactionSearchRequestType extends AbstractRequestType
public $PayerName;
/**
- * Search by item number of the purchased goods.OptionalTo
- * search for purchased items not related to auctions, set the
- * AuctionItemNumber element to the value of the HTML
- * item_number variable set in the shopping cart for the
- * original transaction.
+ * Search by item number of the purchased goods.OptionalTo
+ * search for purchased items not related to auctions, set the
+ * AuctionItemNumber element to the value of the HTML
+ * item_number variable set in the shopping cart for the
+ * original transaction.
* @access public
* @namespace ns
@@ -15397,13 +16265,13 @@ class TransactionSearchRequestType extends AbstractRequestType
public $AuctionItemNumber;
/**
- * Search by invoice identification key, as set by you for the
- * original transaction. InvoiceID searches the invoice records
- * for items sold by the merchant, not the items purchased.
- * OptionalThe value for InvoiceID must exactly match an
- * invoice identification number. No wildcards are allowed.
- * Character length and limitations: 127 single-byte characters
- * maximum
+ * Search by invoice identification key, as set by you for the
+ * original transaction. InvoiceID searches the invoice records
+ * for items sold by the merchant, not the items purchased.
+ * OptionalThe value for InvoiceID must exactly match an
+ * invoice identification number. No wildcards are allowed.
+ * Character length and limitations: 127 single-byte characters
+ * maximum
* @access public
* @namespace ns
@@ -15414,7 +16282,7 @@ class TransactionSearchRequestType extends AbstractRequestType
public $InvoiceID;
/**
- *
+ *
* @access public
* @namespace ns
@@ -15425,29 +16293,29 @@ class TransactionSearchRequestType extends AbstractRequestType
public $CardNumber;
/**
- * Search by classification of transaction. Some kinds of
- * possible classes of transactions are not searchable with
- * TransactionSearchRequest. You cannot search for bank
- * transfer withdrawals, for example. OptionalAll: all
- * transaction classifications.Sent: only payments
- * sent.Received: only payments received.MassPay: only mass
- * payments.MoneyRequest: only money requests.FundsAdded: only
- * funds added to balance.FundsWithdrawn: only funds withdrawn
- * from balance.Referral: only transactions involving
- * referrals.Fee: only transactions involving
- * fees.Subscription: only transactions involving
- * subscriptions.Dividend: only transactions involving
- * dividends.Billpay: only transactions involving BillPay
- * Transactions.Refund: only transactions involving
- * funds.CurrencyConversions: only transactions involving
- * currency conversions.BalanceTransfer: only transactions
- * involving balance transfers.Reversal: only transactions
- * involving BillPay reversals.Shipping: only transactions
- * involving UPS shipping fees.BalanceAffecting: only
- * transactions that affect the account balance.ECheck: only
- * transactions involving eCheckForcedPostTransaction: forced
- * post transaction.NonReferencedRefunds: non-referenced
- * refunds.
+ * Search by classification of transaction. Some kinds of
+ * possible classes of transactions are not searchable with
+ * TransactionSearchRequest. You cannot search for bank
+ * transfer withdrawals, for example. OptionalAll: all
+ * transaction classifications.Sent: only payments
+ * sent.Received: only payments received.MassPay: only mass
+ * payments.MoneyRequest: only money requests.FundsAdded: only
+ * funds added to balance.FundsWithdrawn: only funds withdrawn
+ * from balance.Referral: only transactions involving
+ * referrals.Fee: only transactions involving
+ * fees.Subscription: only transactions involving
+ * subscriptions.Dividend: only transactions involving
+ * dividends.Billpay: only transactions involving BillPay
+ * Transactions.Refund: only transactions involving
+ * funds.CurrencyConversions: only transactions involving
+ * currency conversions.BalanceTransfer: only transactions
+ * involving balance transfers.Reversal: only transactions
+ * involving BillPay reversals.Shipping: only transactions
+ * involving UPS shipping fees.BalanceAffecting: only
+ * transactions that affect the account balance.ECheck: only
+ * transactions involving eCheckForcedPostTransaction: forced
+ * post transaction.NonReferencedRefunds: non-referenced
+ * refunds.
* @access public
* @namespace ns
@@ -15458,9 +16326,9 @@ class TransactionSearchRequestType extends AbstractRequestType
public $TransactionClass;
/**
- * Search by transaction amount OptionalYou must set the
- * currencyID attribute to one of the three-character currency
- * codes for any of the supported PayPal currencies.
+ * Search by transaction amount OptionalYou must set the
+ * currencyID attribute to one of the three-character currency
+ * codes for any of the supported PayPal currencies.
* @access public
* @namespace ns
@@ -15471,7 +16339,7 @@ class TransactionSearchRequestType extends AbstractRequestType
public $Amount;
/**
- * Search by currency codeOptional
+ * Search by currency codeOptional
* @access public
* @namespace ns
@@ -15482,17 +16350,17 @@ class TransactionSearchRequestType extends AbstractRequestType
public $CurrencyCode;
/**
- * Search by transaction status OptionalPending: The payment is
- * pending. The specific reason the payment is pending is
- * returned by the GetTransactionDetails APIPendingReason
- * element. For more information, see PendingReason.Processing:
- * The payment is being processed.Success: The payment has been
- * completed and the funds have been added successfully to your
- * account balance.Denied: You denied the payment. This happens
- * only if the payment was previously pending.Reversed: A
- * payment was reversed due to a chargeback or other type of
- * reversal. The funds have been removed from your account
- * balance and returned to the buyer.
+ * Search by transaction status OptionalPending: The payment is
+ * pending. The specific reason the payment is pending is
+ * returned by the GetTransactionDetails APIPendingReason
+ * element. For more information, see PendingReason.Processing:
+ * The payment is being processed.Success: The payment has been
+ * completed and the funds have been added successfully to your
+ * account balance.Denied: You denied the payment. This happens
+ * only if the payment was previously pending.Reversed: A
+ * payment was reversed due to a chargeback or other type of
+ * reversal. The funds have been removed from your account
+ * balance and returned to the buyer.
* @access public
* @namespace ns
@@ -15510,19 +16378,20 @@ public function __construct($StartDate = NULL) {
}
-
+
+
}
/**
- * Results of a Transaction Search.
+ * Results of a Transaction Search.
*/
class TransactionSearchResponseType extends AbstractResponseType
{
/**
- * Results of a Transaction Search.
+ * Results of a Transaction Search.
* @array
* @access public
@@ -15539,13 +16408,13 @@ class TransactionSearchResponseType extends AbstractResponseType
/**
- *
+ *
*/
class MassPayReq
extends PPXmlMessage{
/**
- *
+ *
* @access public
* @namespace ns
@@ -15569,25 +16438,26 @@ public function toXMLString()
$str .= '';
return $str;
}
-
+
+
}
/**
- * Subject line of the email sent to all recipients. This
- * subject is not contained in the input file; you must create
- * it with your application. Optional Character length and
- * limitations: 255 single-byte alphanumeric characters
+ * Subject line of the email sent to all recipients. This
+ * subject is not contained in the input file; you must create
+ * it with your application. Optional Character length and
+ * limitations: 255 single-byte alphanumeric characters
*/
class MassPayRequestType extends AbstractRequestType
{
/**
- * Subject line of the email sent to all recipients. This
- * subject is not contained in the input file; you must create
- * it with your application. Optional Character length and
- * limitations: 255 single-byte alphanumeric characters
+ * Subject line of the email sent to all recipients. This
+ * subject is not contained in the input file; you must create
+ * it with your application. Optional Character length and
+ * limitations: 255 single-byte alphanumeric characters
* @access public
* @namespace ns
@@ -15598,11 +16468,11 @@ class MassPayRequestType extends AbstractRequestType
public $EmailSubject;
/**
- * Indicates how you identify the recipients of payments in all
- * MassPayItems: either by EmailAddress (ReceiverEmail in
- * MassPayItem), PhoneNumber (ReceiverPhone in MassPayItem), or
- * by UserID (ReceiverID in MassPayItem). Required. You must
- * specify one or the other of EmailAddress or UserID.
+ * Indicates how you identify the recipients of payments in all
+ * MassPayItems: either by EmailAddress (ReceiverEmail in
+ * MassPayItem), PhoneNumber (ReceiverPhone in MassPayItem), or
+ * by UserID (ReceiverID in MassPayItem). Required. You must
+ * specify one or the other of EmailAddress or UserID.
* @access public
* @namespace ns
@@ -15613,9 +16483,9 @@ class MassPayRequestType extends AbstractRequestType
public $ReceiverType;
/**
- * Known as BN code, to track the partner referred merchant
- * transactions. OptionalCharacter length and limitations: 32
- * single-byte alphanumeric characters
+ * Known as BN code, to track the partner referred merchant
+ * transactions. OptionalCharacter length and limitations: 32
+ * single-byte alphanumeric characters
* @access public
* @namespace ns
@@ -15623,11 +16493,11 @@ class MassPayRequestType extends AbstractRequestType
* @var string
*/
- public $ButtonSource;
+ public $ButtonSource = "PayPal_SDK";
/**
- * Details of each payment. A single MassPayRequest can include
- * up to 250 MassPayItems. Required
+ * Details of each payment. A single MassPayRequest can include
+ * up to 250 MassPayItems. Required
* @array
* @access public
@@ -15646,13 +16516,14 @@ public function __construct($MassPayItem = NULL) {
}
-
+
+
}
/**
- *
+ *
*/
class MassPayResponseType extends AbstractResponseType
{
@@ -15663,17 +16534,17 @@ class MassPayResponseType extends AbstractResponseType
/**
- * MassPayRequestItemType
+ * MassPayRequestItemType
*/
class MassPayRequestItemType
extends PPXmlMessage{
/**
- * Email address of recipient. Required You must specify
- * ReceiverEmail, ReceiverPhone, or ReceiverID, but all
- * MassPayItems in a request must use the same field to specify
- * recipients. Character length and limitations: 127
- * single-byte characters maximum.
+ * Email address of recipient. Required You must specify
+ * ReceiverEmail, ReceiverPhone, or ReceiverID, but all
+ * MassPayItems in a request must use the same field to specify
+ * recipients. Character length and limitations: 127
+ * single-byte characters maximum.
* @access public
* @namespace ns
@@ -15684,10 +16555,10 @@ class MassPayRequestItemType
public $ReceiverEmail;
/**
- * Phone number of recipient. Required You must specify
- * ReceiverEmail, ReceiverPhone, or ReceiverID, but all
- * MassPayItems in a request must use the same field to specify
- * recipients.
+ * Phone number of recipient. Required You must specify
+ * ReceiverEmail, ReceiverPhone, or ReceiverID, but all
+ * MassPayItems in a request must use the same field to specify
+ * recipients.
* @access public
* @namespace ns
@@ -15698,13 +16569,13 @@ class MassPayRequestItemType
public $ReceiverPhone;
/**
- * Unique PayPal customer account number. This value
- * corresponds to the value of PayerID returned by
- * GetTransactionDetails. Required You must specify
- * ReceiverEmail, ReceiverPhone, or ReceiverID, but all
- * MassPayItems in a request must use the same field to specify
- * recipients. Character length and limitations: 17 single-byte
- * characters maximum.
+ * Unique PayPal customer account number. This value
+ * corresponds to the value of PayerID returned by
+ * GetTransactionDetails. Required You must specify
+ * ReceiverEmail, ReceiverPhone, or ReceiverID, but all
+ * MassPayItems in a request must use the same field to specify
+ * recipients. Character length and limitations: 17 single-byte
+ * characters maximum.
* @access public
* @namespace ns
@@ -15715,11 +16586,11 @@ class MassPayRequestItemType
public $ReceiverID;
/**
- * Payment amount. You must set the currencyID attribute to one
- * of the three-character currency codes for any of the
- * supported PayPal currencies. Required You cannot mix
- * currencies in a single MassPayRequest. A single request must
- * include items that are of the same currency.
+ * Payment amount. You must set the currencyID attribute to one
+ * of the three-character currency codes for any of the
+ * supported PayPal currencies. Required You cannot mix
+ * currencies in a single MassPayRequest. A single request must
+ * include items that are of the same currency.
* @access public
* @namespace ns
@@ -15730,10 +16601,10 @@ class MassPayRequestItemType
public $Amount;
/**
- * Transaction-specific identification number for tracking in
- * an accounting system. Optional Character length and
- * limitations: 30 single-byte characters. No whitespace
- * allowed.
+ * Transaction-specific identification number for tracking in
+ * an accounting system. Optional Character length and
+ * limitations: 30 single-byte characters. No whitespace
+ * allowed.
* @access public
* @namespace ns
@@ -15744,8 +16615,8 @@ class MassPayRequestItemType
public $UniqueId;
/**
- * Custom note for each recipient. Optional Character length
- * and limitations: 4,000 single-byte alphanumeric characters
+ * Custom note for each recipient. Optional Character length
+ * and limitations: 4,000 single-byte alphanumeric characters
* @access public
* @namespace ns
@@ -15763,19 +16634,20 @@ public function __construct($Amount = NULL) {
}
-
+
+
}
/**
- *
+ *
*/
class BillAgreementUpdateReq
extends PPXmlMessage{
/**
- *
+ *
* @access public
* @namespace ns
@@ -15799,19 +16671,20 @@ public function toXMLString()
$str .= '';
return $str;
}
-
+
+
}
/**
- *
+ *
*/
class BAUpdateRequestType extends AbstractRequestType
{
/**
- *
+ *
* @access public
* @namespace ns
@@ -15822,7 +16695,7 @@ class BAUpdateRequestType extends AbstractRequestType
public $ReferenceID;
/**
- *
+ *
* @access public
* @namespace ns
@@ -15833,7 +16706,7 @@ class BAUpdateRequestType extends AbstractRequestType
public $BillingAgreementDescription;
/**
- *
+ *
* @access public
* @namespace ns
@@ -15844,7 +16717,7 @@ class BAUpdateRequestType extends AbstractRequestType
public $BillingAgreementStatus;
/**
- *
+ *
* @access public
* @namespace ns
@@ -15862,19 +16735,20 @@ public function __construct($ReferenceID = NULL) {
}
-
+
+
}
/**
- *
+ *
*/
class BAUpdateResponseType extends AbstractResponseType
{
/**
- *
+ *
* @access public
* @namespace ebl
@@ -15890,13 +16764,13 @@ class BAUpdateResponseType extends AbstractResponseType
/**
- *
+ *
*/
class AddressVerifyReq
extends PPXmlMessage{
/**
- *
+ *
* @access public
* @namespace ns
@@ -15920,22 +16794,23 @@ public function toXMLString()
$str .= '';
return $str;
}
-
+
+
}
/**
- * Email address of buyer to be verified. Required Maximum
- * string length: 255 single-byte characters Input mask: ?@?.??
- *
+ * Email address of buyer to be verified. Required Maximum
+ * string length: 255 single-byte characters Input mask: ?@?.??
+ *
*/
class AddressVerifyRequestType extends AbstractRequestType
{
/**
- * Email address of buyer to be verified. Required Maximum
- * string length: 255 single-byte characters Input mask: ?@?.??
+ * Email address of buyer to be verified. Required Maximum
+ * string length: 255 single-byte characters Input mask: ?@?.??
* @access public
* @namespace ns
@@ -15946,13 +16821,13 @@ class AddressVerifyRequestType extends AbstractRequestType
public $Email;
/**
- * First line of buyer’s billing or shipping street address
- * to be verified. Required For verification, input value of
- * street address must match the first three single-byte
- * characters of the street address on file for the PayPal
- * account. Maximum string length: 35 single-byte characters
- * Alphanumeric plus - , . ‘ # \ Whitespace and case of input
- * value are ignored.
+ * First line of buyer’s billing or shipping street address
+ * to be verified. Required For verification, input value of
+ * street address must match the first three single-byte
+ * characters of the street address on file for the PayPal
+ * account. Maximum string length: 35 single-byte characters
+ * Alphanumeric plus - , . ‘ # \ Whitespace and case of input
+ * value are ignored.
* @access public
* @namespace ns
@@ -15963,11 +16838,11 @@ class AddressVerifyRequestType extends AbstractRequestType
public $Street;
/**
- * Postal code to be verified. Required For verification, input
- * value of postal code must match the first five single-byte
- * characters of the postal code on file for the PayPal
- * account. Maximum string length: 16 single-byte characters
- * Whitespace and case of input value are ignored.
+ * Postal code to be verified. Required For verification, input
+ * value of postal code must match the first five single-byte
+ * characters of the postal code on file for the PayPal
+ * account. Maximum string length: 16 single-byte characters
+ * Whitespace and case of input value are ignored.
* @access public
* @namespace ns
@@ -15987,29 +16862,30 @@ public function __construct($Email = NULL, $Street = NULL, $Zip = NULL) {
}
-
+
+
}
/**
- * Confirmation of a match, with one of the following tokens:
- * None: The input value of the Email object does not match any
- * email address on file at PayPal. Confirmed: If the value of
- * the StreetMatch object is Matched, PayPal responds that the
- * entire postal address is confirmed. Unconfirmed: PayPal
- * responds that the postal address is unconfirmed
+ * Confirmation of a match, with one of the following tokens:
+ * None: The input value of the Email object does not match any
+ * email address on file at PayPal. Confirmed: If the value of
+ * the StreetMatch object is Matched, PayPal responds that the
+ * entire postal address is confirmed. Unconfirmed: PayPal
+ * responds that the postal address is unconfirmed
*/
class AddressVerifyResponseType extends AbstractResponseType
{
/**
- * Confirmation of a match, with one of the following tokens:
- * None: The input value of the Email object does not match any
- * email address on file at PayPal. Confirmed: If the value of
- * the StreetMatch object is Matched, PayPal responds that the
- * entire postal address is confirmed. Unconfirmed: PayPal
- * responds that the postal address is unconfirmed
+ * Confirmation of a match, with one of the following tokens:
+ * None: The input value of the Email object does not match any
+ * email address on file at PayPal. Confirmed: If the value of
+ * the StreetMatch object is Matched, PayPal responds that the
+ * entire postal address is confirmed. Unconfirmed: PayPal
+ * responds that the postal address is unconfirmed
* @access public
* @namespace ns
@@ -16020,14 +16896,14 @@ class AddressVerifyResponseType extends AbstractResponseType
public $ConfirmationCode;
/**
- * PayPal has compared the postal address you want to verify
- * with the postal address on file at PayPal. None: The input
- * value of the Email object does not match any email address
- * on file at PayPal. In addition, an error response is
- * returned. No further comparison of other input values has
- * been made. Matched: The street address matches the street
- * address on file at PayPal. Unmatched: The street address
- * does not match the street address on file at PayPal.
+ * PayPal has compared the postal address you want to verify
+ * with the postal address on file at PayPal. None: The input
+ * value of the Email object does not match any email address
+ * on file at PayPal. In addition, an error response is
+ * returned. No further comparison of other input values has
+ * been made. Matched: The street address matches the street
+ * address on file at PayPal. Unmatched: The street address
+ * does not match the street address on file at PayPal.
* @access public
* @namespace ns
@@ -16038,12 +16914,12 @@ class AddressVerifyResponseType extends AbstractResponseType
public $StreetMatch;
/**
- * PayPal has compared the zip code you want to verify with the
- * zip code on file for the email address. None: The street
- * address was unmatched. No further comparison of other input
- * values has been made. Matched: The zip code matches the zip
- * code on file at PayPal. Unmatched: The zip code does not
- * match the zip code on file at PayPal.
+ * PayPal has compared the zip code you want to verify with the
+ * zip code on file for the email address. None: The street
+ * address was unmatched. No further comparison of other input
+ * values has been made. Matched: The zip code matches the zip
+ * code on file at PayPal. Unmatched: The zip code does not
+ * match the zip code on file at PayPal.
* @access public
* @namespace ns
@@ -16054,8 +16930,8 @@ class AddressVerifyResponseType extends AbstractResponseType
public $ZipMatch;
/**
- * Two-character country code (ISO 3166) on file for the PayPal
- * email address.
+ * Two-character country code (ISO 3166) on file for the PayPal
+ * email address.
* @access public
* @namespace ns
@@ -16066,16 +16942,16 @@ class AddressVerifyResponseType extends AbstractResponseType
public $CountryCode;
/**
- * The token prevents a buyer from using any street address
- * other than the address on file at PayPal during additional
- * purchases he might make from the merchant. It contains
- * encrypted information about the user’s street address and
- * email address. You can pass the value of the token with the
- * Buy Now button HTML address_api_token variable so that
- * PayPal prevents the buyer from using any street address or
- * email address other than those verified by PayPal. The token
- * is valid for 24 hours. Character length and limitations: 94
- * single-byte characters
+ * The token prevents a buyer from using any street address
+ * other than the address on file at PayPal during additional
+ * purchases he might make from the merchant. It contains
+ * encrypted information about the user’s street address and
+ * email address. You can pass the value of the token with the
+ * Buy Now button HTML address_api_token variable so that
+ * PayPal prevents the buyer from using any street address or
+ * email address other than those verified by PayPal. The token
+ * is valid for 24 hours. Character length and limitations: 94
+ * single-byte characters
* @access public
* @namespace ns
@@ -16091,13 +16967,13 @@ class AddressVerifyResponseType extends AbstractResponseType
/**
- *
+ *
*/
class EnterBoardingReq
extends PPXmlMessage{
/**
- *
+ *
* @access public
* @namespace ns
@@ -16121,19 +16997,20 @@ public function toXMLString()
$str .= '';
return $str;
}
-
+
+
}
/**
- *
+ *
*/
class EnterBoardingRequestType extends AbstractRequestType
{
/**
- *
+ *
* @access public
* @namespace ebl
@@ -16151,25 +17028,26 @@ public function __construct($EnterBoardingRequestDetails = NULL) {
}
-
+
+
}
/**
- * A unique token that identifies this boarding session. Use
- * this token with the GetBoarding Details API call.Character
- * length and limitations: 64 alphanumeric characters. The
- * token has the following format:OB-61characterstring
+ * A unique token that identifies this boarding session. Use
+ * this token with the GetBoarding Details API call.Character
+ * length and limitations: 64 alphanumeric characters. The
+ * token has the following format:OB-61characterstring
*/
class EnterBoardingResponseType extends AbstractResponseType
{
/**
- * A unique token that identifies this boarding session. Use
- * this token with the GetBoarding Details API call.Character
- * length and limitations: 64 alphanumeric characters. The
- * token has the following format:OB-61characterstring
+ * A unique token that identifies this boarding session. Use
+ * this token with the GetBoarding Details API call.Character
+ * length and limitations: 64 alphanumeric characters. The
+ * token has the following format:OB-61characterstring
* @access public
* @namespace ns
@@ -16185,13 +17063,13 @@ class EnterBoardingResponseType extends AbstractResponseType
/**
- *
+ *
*/
class GetBoardingDetailsReq
extends PPXmlMessage{
/**
- *
+ *
* @access public
* @namespace ns
@@ -16215,25 +17093,26 @@ public function toXMLString()
$str .= '';
return $str;
}
-
+
+
}
/**
- * A unique token returned by the EnterBoarding API call that
- * identifies this boarding session. RequiredCharacter length
- * and limitations: 64 alphanumeric characters. The token has
- * the following format:OB-61characterstring
+ * A unique token returned by the EnterBoarding API call that
+ * identifies this boarding session. RequiredCharacter length
+ * and limitations: 64 alphanumeric characters. The token has
+ * the following format:OB-61characterstring
*/
class GetBoardingDetailsRequestType extends AbstractRequestType
{
/**
- * A unique token returned by the EnterBoarding API call that
- * identifies this boarding session. RequiredCharacter length
- * and limitations: 64 alphanumeric characters. The token has
- * the following format:OB-61characterstring
+ * A unique token returned by the EnterBoarding API call that
+ * identifies this boarding session. RequiredCharacter length
+ * and limitations: 64 alphanumeric characters. The token has
+ * the following format:OB-61characterstring
* @access public
* @namespace ns
@@ -16251,19 +17130,20 @@ public function __construct($Token = NULL) {
}
-
+
+
}
/**
- *
+ *
*/
class GetBoardingDetailsResponseType extends AbstractResponseType
{
/**
- *
+ *
* @access public
* @namespace ebl
@@ -16279,13 +17159,13 @@ class GetBoardingDetailsResponseType extends AbstractResponseType
/**
- *
+ *
*/
class SetAuthFlowParamReq
extends PPXmlMessage{
/**
- *
+ *
* @access public
* @namespace ns
@@ -16309,19 +17189,20 @@ public function toXMLString()
$str .= '';
return $str;
}
-
+
+
}
/**
- *
+ *
*/
class SetAuthFlowParamRequestType extends AbstractRequestType
{
/**
- *
+ *
* @access public
* @namespace ebl
@@ -16339,25 +17220,26 @@ public function __construct($SetAuthFlowParamRequestDetails = NULL) {
}
-
+
+
}
/**
- * A timestamped token by which you identify to PayPal that you
- * are processing this user. The token expires after three
- * hours. Character length and limitations: 20 single-byte
- * characters
+ * A timestamped token by which you identify to PayPal that you
+ * are processing this user. The token expires after three
+ * hours. Character length and limitations: 20 single-byte
+ * characters
*/
class SetAuthFlowParamResponseType extends AbstractResponseType
{
/**
- * A timestamped token by which you identify to PayPal that you
- * are processing this user. The token expires after three
- * hours. Character length and limitations: 20 single-byte
- * characters
+ * A timestamped token by which you identify to PayPal that you
+ * are processing this user. The token expires after three
+ * hours. Character length and limitations: 20 single-byte
+ * characters
* @access public
* @namespace ns
@@ -16373,13 +17255,13 @@ class SetAuthFlowParamResponseType extends AbstractResponseType
/**
- *
+ *
*/
class GetAuthDetailsReq
extends PPXmlMessage{
/**
- *
+ *
* @access public
* @namespace ns
@@ -16403,23 +17285,24 @@ public function toXMLString()
$str .= '';
return $str;
}
-
+
+
}
/**
- * A timestamped token, the value of which was returned by
- * SetAuthFlowParam Response. RequiredCharacter length and
- * limitations: 20 single-byte characters
+ * A timestamped token, the value of which was returned by
+ * SetAuthFlowParam Response. RequiredCharacter length and
+ * limitations: 20 single-byte characters
*/
class GetAuthDetailsRequestType extends AbstractRequestType
{
/**
- * A timestamped token, the value of which was returned by
- * SetAuthFlowParam Response. RequiredCharacter length and
- * limitations: 20 single-byte characters
+ * A timestamped token, the value of which was returned by
+ * SetAuthFlowParam Response. RequiredCharacter length and
+ * limitations: 20 single-byte characters
* @access public
* @namespace ns
@@ -16437,19 +17320,20 @@ public function __construct($Token = NULL) {
}
-
+
+
}
/**
- *
+ *
*/
class GetAuthDetailsResponseType extends AbstractResponseType
{
/**
- *
+ *
* @access public
* @namespace ebl
@@ -16465,13 +17349,13 @@ class GetAuthDetailsResponseType extends AbstractResponseType
/**
- *
+ *
*/
class SetAccessPermissionsReq
extends PPXmlMessage{
/**
- *
+ *
* @access public
* @namespace ns
@@ -16495,19 +17379,20 @@ public function toXMLString()
$str .= '';
return $str;
}
-
+
+
}
/**
- *
+ *
*/
class SetAccessPermissionsRequestType extends AbstractRequestType
{
/**
- *
+ *
* @access public
* @namespace ebl
@@ -16525,25 +17410,26 @@ public function __construct($SetAccessPermissionsRequestDetails = NULL) {
}
-
+
+
}
/**
- * A timestamped token by which you identify to PayPal that you
- * are processing this user. The token expires after three
- * hours. Character length and limitations: 20 single-byte
- * characters
+ * A timestamped token by which you identify to PayPal that you
+ * are processing this user. The token expires after three
+ * hours. Character length and limitations: 20 single-byte
+ * characters
*/
class SetAccessPermissionsResponseType extends AbstractResponseType
{
/**
- * A timestamped token by which you identify to PayPal that you
- * are processing this user. The token expires after three
- * hours. Character length and limitations: 20 single-byte
- * characters
+ * A timestamped token by which you identify to PayPal that you
+ * are processing this user. The token expires after three
+ * hours. Character length and limitations: 20 single-byte
+ * characters
* @access public
* @namespace ns
@@ -16559,13 +17445,13 @@ class SetAccessPermissionsResponseType extends AbstractResponseType
/**
- *
+ *
*/
class UpdateAccessPermissionsReq
extends PPXmlMessage{
/**
- *
+ *
* @access public
* @namespace ns
@@ -16589,23 +17475,24 @@ public function toXMLString()
$str .= '';
return $str;
}
-
+
+
}
/**
- * Unique PayPal customer account number, the value of which
- * was returned by GetAuthDetails Response. Required Character
- * length and limitations: 20 single-byte characters
+ * Unique PayPal customer account number, the value of which
+ * was returned by GetAuthDetails Response. Required Character
+ * length and limitations: 20 single-byte characters
*/
class UpdateAccessPermissionsRequestType extends AbstractRequestType
{
/**
- * Unique PayPal customer account number, the value of which
- * was returned by GetAuthDetails Response. Required Character
- * length and limitations: 20 single-byte characters
+ * Unique PayPal customer account number, the value of which
+ * was returned by GetAuthDetails Response. Required Character
+ * length and limitations: 20 single-byte characters
* @access public
* @namespace ns
@@ -16623,21 +17510,22 @@ public function __construct($PayerID = NULL) {
}
-
+
+
}
/**
- * The status of the update call, Success/Failure. Character
- * length and limitations: 20 single-byte characters
+ * The status of the update call, Success/Failure. Character
+ * length and limitations: 20 single-byte characters
*/
class UpdateAccessPermissionsResponseType extends AbstractResponseType
{
/**
- * The status of the update call, Success/Failure. Character
- * length and limitations: 20 single-byte characters
+ * The status of the update call, Success/Failure. Character
+ * length and limitations: 20 single-byte characters
* @access public
* @namespace ns
@@ -16653,13 +17541,13 @@ class UpdateAccessPermissionsResponseType extends AbstractResponseType
/**
- *
+ *
*/
class GetAccessPermissionDetailsReq
extends PPXmlMessage{
/**
- *
+ *
* @access public
* @namespace ns
@@ -16683,23 +17571,24 @@ public function toXMLString()
$str .= '';
return $str;
}
-
+
+
}
/**
- * A timestamped token, the value of which was returned by
- * SetAuthFlowParam Response. Required Character length and
- * limitations: 20 single-byte characters
+ * A timestamped token, the value of which was returned by
+ * SetAuthFlowParam Response. Required Character length and
+ * limitations: 20 single-byte characters
*/
class GetAccessPermissionDetailsRequestType extends AbstractRequestType
{
/**
- * A timestamped token, the value of which was returned by
- * SetAuthFlowParam Response. Required Character length and
- * limitations: 20 single-byte characters
+ * A timestamped token, the value of which was returned by
+ * SetAuthFlowParam Response. Required Character length and
+ * limitations: 20 single-byte characters
* @access public
* @namespace ns
@@ -16717,19 +17606,20 @@ public function __construct($Token = NULL) {
}
-
+
+
}
/**
- *
+ *
*/
class GetAccessPermissionDetailsResponseType extends AbstractResponseType
{
/**
- *
+ *
* @access public
* @namespace ebl
@@ -16745,13 +17635,13 @@ class GetAccessPermissionDetailsResponseType extends AbstractResponseType
/**
- *
+ *
*/
class GetIncentiveEvaluationReq
extends PPXmlMessage{
/**
- *
+ *
* @access public
* @namespace ns
@@ -16775,19 +17665,20 @@ public function toXMLString()
$str .= '';
return $str;
}
-
+
+
}
/**
- *
+ *
*/
class GetIncentiveEvaluationRequestType extends AbstractRequestType
{
/**
- *
+ *
* @access public
* @namespace ebl
@@ -16805,19 +17696,20 @@ public function __construct($GetIncentiveEvaluationRequestDetails = NULL) {
}
-
+
+
}
/**
- *
+ *
*/
class GetIncentiveEvaluationResponseType extends AbstractResponseType
{
/**
- *
+ *
* @access public
* @namespace ebl
@@ -16833,13 +17725,13 @@ class GetIncentiveEvaluationResponseType extends AbstractResponseType
/**
- *
+ *
*/
class SetExpressCheckoutReq
extends PPXmlMessage{
/**
- *
+ *
* @access public
* @namespace ns
@@ -16863,19 +17755,20 @@ public function toXMLString()
$str .= '';
return $str;
}
-
+
+
}
/**
- *
+ *
*/
class SetExpressCheckoutRequestType extends AbstractRequestType
{
/**
- *
+ *
* @access public
* @namespace ebl
@@ -16893,29 +17786,30 @@ public function __construct($SetExpressCheckoutRequestDetails = NULL) {
}
-
+
+
}
/**
- * A timestamped token by which you identify to PayPal that you
- * are processing this payment with Express Checkout. The token
- * expires after three hours. If you set Token in the
- * SetExpressCheckoutRequest, the value of Token in the
- * response is identical to the value in the request. Character
- * length and limitations: 20 single-byte characters
+ * A timestamped token by which you identify to PayPal that you
+ * are processing this payment with Express Checkout. The token
+ * expires after three hours. If you set Token in the
+ * SetExpressCheckoutRequest, the value of Token in the
+ * response is identical to the value in the request. Character
+ * length and limitations: 20 single-byte characters
*/
class SetExpressCheckoutResponseType extends AbstractResponseType
{
/**
- * A timestamped token by which you identify to PayPal that you
- * are processing this payment with Express Checkout. The token
- * expires after three hours. If you set Token in the
- * SetExpressCheckoutRequest, the value of Token in the
- * response is identical to the value in the request. Character
- * length and limitations: 20 single-byte characters
+ * A timestamped token by which you identify to PayPal that you
+ * are processing this payment with Express Checkout. The token
+ * expires after three hours. If you set Token in the
+ * SetExpressCheckoutRequest, the value of Token in the
+ * response is identical to the value in the request. Character
+ * length and limitations: 20 single-byte characters
* @access public
* @namespace ns
@@ -16931,13 +17825,13 @@ class SetExpressCheckoutResponseType extends AbstractResponseType
/**
- *
+ *
*/
class ExecuteCheckoutOperationsReq
extends PPXmlMessage{
/**
- *
+ *
* @access public
* @namespace ns
@@ -16961,19 +17855,20 @@ public function toXMLString()
$str .= '';
return $str;
}
-
+
+
}
/**
- *
+ *
*/
class ExecuteCheckoutOperationsRequestType extends AbstractRequestType
{
/**
- *
+ *
* @access public
* @namespace ebl
@@ -16991,19 +17886,20 @@ public function __construct($ExecuteCheckoutOperationsRequestDetails = NULL) {
}
-
+
+
}
/**
- *
+ *
*/
class ExecuteCheckoutOperationsResponseType extends AbstractResponseType
{
/**
- *
+ *
* @access public
* @namespace ebl
@@ -17019,13 +17915,13 @@ class ExecuteCheckoutOperationsResponseType extends AbstractResponseType
/**
- *
+ *
*/
class GetExpressCheckoutDetailsReq
extends PPXmlMessage{
/**
- *
+ *
* @access public
* @namespace ns
@@ -17049,23 +17945,24 @@ public function toXMLString()
$str .= '';
return $str;
}
-
+
+
}
/**
- * A timestamped token, the value of which was returned by
- * SetExpressCheckoutResponse. RequiredCharacter length and
- * limitations: 20 single-byte characters
+ * A timestamped token, the value of which was returned by
+ * SetExpressCheckoutResponse. RequiredCharacter length and
+ * limitations: 20 single-byte characters
*/
class GetExpressCheckoutDetailsRequestType extends AbstractRequestType
{
/**
- * A timestamped token, the value of which was returned by
- * SetExpressCheckoutResponse. RequiredCharacter length and
- * limitations: 20 single-byte characters
+ * A timestamped token, the value of which was returned by
+ * SetExpressCheckoutResponse. RequiredCharacter length and
+ * limitations: 20 single-byte characters
* @access public
* @namespace ns
@@ -17083,19 +17980,20 @@ public function __construct($Token = NULL) {
}
-
+
+
}
/**
- *
+ *
*/
class GetExpressCheckoutDetailsResponseType extends AbstractResponseType
{
/**
- *
+ *
* @access public
* @namespace ebl
@@ -17111,13 +18009,13 @@ class GetExpressCheckoutDetailsResponseType extends AbstractResponseType
/**
- *
+ *
*/
class DoExpressCheckoutPaymentReq
extends PPXmlMessage{
/**
- *
+ *
* @access public
* @namespace ns
@@ -17141,20 +18039,21 @@ public function toXMLString()
$str .= '';
return $str;
}
-
+
+
}
/**
- * This flag indicates that the response should include
- * FMFDetails
+ * This flag indicates that the response should include
+ * FMFDetails
*/
class DoExpressCheckoutPaymentRequestType extends AbstractRequestType
{
/**
- *
+ *
* @access public
* @namespace ebl
@@ -17165,8 +18064,8 @@ class DoExpressCheckoutPaymentRequestType extends AbstractRequestType
public $DoExpressCheckoutPaymentRequestDetails;
/**
- * This flag indicates that the response should include
- * FMFDetails
+ * This flag indicates that the response should include
+ * FMFDetails
* @access public
* @namespace ns
@@ -17184,19 +18083,20 @@ public function __construct($DoExpressCheckoutPaymentRequestDetails = NULL) {
}
-
+
+
}
/**
- *
+ *
*/
class DoExpressCheckoutPaymentResponseType extends AbstractResponseType
{
/**
- *
+ *
* @access public
* @namespace ebl
@@ -17207,7 +18107,7 @@ class DoExpressCheckoutPaymentResponseType extends AbstractResponseType
public $DoExpressCheckoutPaymentResponseDetails;
/**
- *
+ *
* @access public
* @namespace ns
@@ -17223,13 +18123,13 @@ class DoExpressCheckoutPaymentResponseType extends AbstractResponseType
/**
- *
+ *
*/
class DoUATPExpressCheckoutPaymentReq
extends PPXmlMessage{
/**
- *
+ *
* @access public
* @namespace ns
@@ -17253,31 +18153,33 @@ public function toXMLString()
$str .= '';
return $str;
}
-
+
+
}
/**
- *
+ *
*/
class DoUATPExpressCheckoutPaymentRequestType extends DoExpressCheckoutPaymentRequestType
{
-
+
+
}
/**
- *
+ *
*/
class DoUATPExpressCheckoutPaymentResponseType extends DoExpressCheckoutPaymentResponseType
{
/**
- *
+ *
* @access public
* @namespace ebl
@@ -17293,13 +18195,13 @@ class DoUATPExpressCheckoutPaymentResponseType extends DoExpressCheckoutPayment
/**
- *
+ *
*/
class ManagePendingTransactionStatusReq
extends PPXmlMessage{
/**
- *
+ *
* @access public
* @namespace ns
@@ -17323,19 +18225,20 @@ public function toXMLString()
$str .= '';
return $str;
}
-
+
+
}
/**
- *
+ *
*/
class ManagePendingTransactionStatusRequestType extends AbstractRequestType
{
/**
- *
+ *
* @access public
* @namespace ns
@@ -17346,7 +18249,7 @@ class ManagePendingTransactionStatusRequestType extends AbstractRequestType
public $TransactionID;
/**
- *
+ *
* @access public
* @namespace ns
@@ -17365,19 +18268,20 @@ public function __construct($TransactionID = NULL, $Action = NULL) {
}
-
+
+
}
/**
- *
+ *
*/
class ManagePendingTransactionStatusResponseType extends AbstractResponseType
{
/**
- *
+ *
* @access public
* @namespace ns
@@ -17388,7 +18292,7 @@ class ManagePendingTransactionStatusResponseType extends AbstractResponseType
public $TransactionID;
/**
- *
+ *
* @access public
* @namespace ns
@@ -17404,13 +18308,13 @@ class ManagePendingTransactionStatusResponseType extends AbstractResponseType
/**
- *
+ *
*/
class DoDirectPaymentReq
extends PPXmlMessage{
/**
- *
+ *
* @access public
* @namespace ns
@@ -17434,20 +18338,21 @@ public function toXMLString()
$str .= '';
return $str;
}
-
+
+
}
/**
- * This flag indicates that the response should include
- * FMFDetails
+ * This flag indicates that the response should include
+ * FMFDetails
*/
class DoDirectPaymentRequestType extends AbstractRequestType
{
/**
- *
+ *
* @access public
* @namespace ebl
@@ -17458,8 +18363,8 @@ class DoDirectPaymentRequestType extends AbstractRequestType
public $DoDirectPaymentRequestDetails;
/**
- * This flag indicates that the response should include
- * FMFDetails
+ * This flag indicates that the response should include
+ * FMFDetails
* @access public
* @namespace ns
@@ -17477,21 +18382,22 @@ public function __construct($DoDirectPaymentRequestDetails = NULL) {
}
-
+
+
}
/**
- * The amount of the payment as specified by you on
- * DoDirectPaymentRequest.
+ * The amount of the payment as specified by you on
+ * DoDirectPaymentRequest.
*/
class DoDirectPaymentResponseType extends AbstractResponseType
{
/**
- * The amount of the payment as specified by you on
- * DoDirectPaymentRequest.
+ * The amount of the payment as specified by you on
+ * DoDirectPaymentRequest.
* @access public
* @namespace ns
@@ -17502,21 +18408,21 @@ class DoDirectPaymentResponseType extends AbstractResponseType
public $Amount;
/**
- * Address Verification System response code. Character limit:
- * One single-byte alphanumeric character AVS
- * CodeMeaningMatched Details A AddressAddress only (no ZIP) B
- * International “A”Address only (no ZIP) CInternational
- * “N” None DInternational “X” Address and Postal Code
- * E Not allowed for MOTO (Internet/Phone) transactions Not
- * applicable F UK-specific “X”Address and Postal Code G
- * Global Unavailable Not applicable I International
- * UnavailableNot applicable N NoNone PPostal (International
- * “Z”)Postal Code only (no Address) RRetryNot applicable S
- * Service not Supported Not applicable U UnavailableNot
- * applicable W Whole ZIPNine-digit ZIP code (no Address) X
- * Exact match Address and nine-digit ZIP code Y YesAddress and
- * five-digit ZIP Z ZIP Five-digit ZIP code (no Address) All
- * others Error Not applicable
+ * Address Verification System response code. Character limit:
+ * One single-byte alphanumeric character AVS
+ * CodeMeaningMatched Details A AddressAddress only (no ZIP) B
+ * International “A”Address only (no ZIP) CInternational
+ * “N” None DInternational “X” Address and Postal Code
+ * E Not allowed for MOTO (Internet/Phone) transactions Not
+ * applicable F UK-specific “X”Address and Postal Code G
+ * Global Unavailable Not applicable I International
+ * UnavailableNot applicable N NoNone PPostal (International
+ * “Z”)Postal Code only (no Address) RRetryNot applicable S
+ * Service not Supported Not applicable U UnavailableNot
+ * applicable W Whole ZIPNine-digit ZIP code (no Address) X
+ * Exact match Address and nine-digit ZIP code Y YesAddress and
+ * five-digit ZIP Z ZIP Five-digit ZIP code (no Address) All
+ * others Error Not applicable
* @access public
* @namespace ns
@@ -17527,11 +18433,11 @@ class DoDirectPaymentResponseType extends AbstractResponseType
public $AVSCode;
/**
- * Result of the CVV2 check by PayPal. CVV2 CodeMeaningMatched
- * Details M MatchCVV2 N No match None P Not ProcessedNot
- * applicable SService not SupportedNot applicable U
- * UnavailableNot applicable XNo response Not applicable All
- * others ErrorNot applicable
+ * Result of the CVV2 check by PayPal. CVV2 CodeMeaningMatched
+ * Details M MatchCVV2 N No match None P Not ProcessedNot
+ * applicable SService not SupportedNot applicable U
+ * UnavailableNot applicable XNo response Not applicable All
+ * others ErrorNot applicable
* @access public
* @namespace ns
@@ -17542,8 +18448,8 @@ class DoDirectPaymentResponseType extends AbstractResponseType
public $CVV2Code;
/**
- * Transaction identification number. Character length and
- * limitations: 19 characters maximum.
+ * Transaction identification number. Character length and
+ * limitations: 19 characters maximum.
* @access public
* @namespace ns
@@ -17554,7 +18460,7 @@ class DoDirectPaymentResponseType extends AbstractResponseType
public $TransactionID;
/**
- * The reason why a particular transaction went in pending.
+ * The reason why a particular transaction went in pending.
* @access public
* @namespace ns
@@ -17565,7 +18471,7 @@ class DoDirectPaymentResponseType extends AbstractResponseType
public $PendingReason;
/**
- * This will identify the actual transaction status.
+ * This will identify the actual transaction status.
* @access public
* @namespace ns
@@ -17576,7 +18482,7 @@ class DoDirectPaymentResponseType extends AbstractResponseType
public $PaymentStatus;
/**
- *
+ *
* @access public
* @namespace ns
@@ -17587,7 +18493,7 @@ class DoDirectPaymentResponseType extends AbstractResponseType
public $FMFDetails;
/**
- *
+ *
* @access public
* @namespace ns
@@ -17598,8 +18504,8 @@ class DoDirectPaymentResponseType extends AbstractResponseType
public $ThreeDSecureResponse;
/**
- * Response code from the processor when a recurring
- * transaction is declined.
+ * Response code from the processor when a recurring
+ * transaction is declined.
* @access public
* @namespace ns
@@ -17615,13 +18521,13 @@ class DoDirectPaymentResponseType extends AbstractResponseType
/**
- *
+ *
*/
class DoCancelReq
extends PPXmlMessage{
/**
- *
+ *
* @access public
* @namespace ns
@@ -17645,19 +18551,20 @@ public function toXMLString()
$str .= '';
return $str;
}
-
+
+
}
/**
- * Msg Sub Id that was used for the orginal operation.
+ * Msg Sub Id that was used for the orginal operation.
*/
class DoCancelRequestType extends AbstractRequestType
{
/**
- * Msg Sub Id that was used for the orginal operation.
+ * Msg Sub Id that was used for the orginal operation.
* @access public
* @namespace ns
@@ -17668,7 +18575,7 @@ class DoCancelRequestType extends AbstractRequestType
public $CancelMsgSubID;
/**
- * Original API's type
+ * Original API's type
* @access public
* @namespace ns
@@ -17679,9 +18586,9 @@ class DoCancelRequestType extends AbstractRequestType
public $APIType;
/**
- * Unique id for each API request to prevent duplicate
- * payments. Optional Character length and limits: 38
- * single-byte characters maximum.
+ * Unique id for each API request to prevent duplicate
+ * payments. Optional Character length and limits: 38
+ * single-byte characters maximum.
* @access public
* @namespace ns
@@ -17700,19 +18607,20 @@ public function __construct($CancelMsgSubID = NULL, $APIType = NULL) {
}
-
+
+
}
/**
- * Return msgsubid back to merchant
+ * Return msgsubid back to merchant
*/
class DoCancelResponseType extends AbstractResponseType
{
/**
- * Return msgsubid back to merchant
+ * Return msgsubid back to merchant
* @access public
* @namespace ns
@@ -17728,13 +18636,13 @@ class DoCancelResponseType extends AbstractResponseType
/**
- *
+ *
*/
class DoCaptureReq
extends PPXmlMessage{
/**
- *
+ *
* @access public
* @namespace ns
@@ -17758,23 +18666,24 @@ public function toXMLString()
$str .= '';
return $str;
}
-
+
+
}
/**
- * The authorization identification number of the payment you
- * want to capture. Required Character length and limits: 19
- * single-byte characters maximum
+ * The authorization identification number of the payment you
+ * want to capture. Required Character length and limits: 19
+ * single-byte characters maximum
*/
class DoCaptureRequestType extends AbstractRequestType
{
/**
- * The authorization identification number of the payment you
- * want to capture. Required Character length and limits: 19
- * single-byte characters maximum
+ * The authorization identification number of the payment you
+ * want to capture. Required Character length and limits: 19
+ * single-byte characters maximum
* @access public
* @namespace ns
@@ -17785,11 +18694,11 @@ class DoCaptureRequestType extends AbstractRequestType
public $AuthorizationID;
/**
- * Amount to authorize. You must set the currencyID attribute
- * to USD. Required Limitations: Must not exceed $10,000 USD in
- * any currency. No currency symbol. Decimal separator must be
- * a period (.), and the thousands separator must be a comma
- * (,)
+ * Amount to authorize. You must set the currencyID attribute
+ * to USD. Required Limitations: Must not exceed $10,000 USD in
+ * any currency. No currency symbol. Decimal separator must be
+ * a period (.), and the thousands separator must be a comma
+ * (,)
* @access public
* @namespace ns
@@ -17800,11 +18709,11 @@ class DoCaptureRequestType extends AbstractRequestType
public $Amount;
/**
- * Indicates if this capture is the last capture you intend to
- * make. The default is Complete. If CompleteType is Complete,
- * any remaining amount of the original reauthorized
- * transaction is automatically voided. Required Character
- * length and limits: 12 single-byte alphanumeric characters
+ * Indicates if this capture is the last capture you intend to
+ * make. The default is Complete. If CompleteType is Complete,
+ * any remaining amount of the original reauthorized
+ * transaction is automatically voided. Required Character
+ * length and limits: 12 single-byte alphanumeric characters
* @access public
* @namespace ns
@@ -17815,10 +18724,10 @@ class DoCaptureRequestType extends AbstractRequestType
public $CompleteType;
/**
- * An informational note about this settlement that is
- * displayed to the payer in email and in transaction history.
- * Optional Character length and limits: 255 single-byte
- * characters
+ * An informational note about this settlement that is
+ * displayed to the payer in email and in transaction history.
+ * Optional Character length and limits: 255 single-byte
+ * characters
* @access public
* @namespace ns
@@ -17829,11 +18738,11 @@ class DoCaptureRequestType extends AbstractRequestType
public $Note;
/**
- * Your invoice number or other identification number. The
- * InvoiceID value is recorded only if the authorization you
- * are capturing is an order authorization, not a basic
- * authorization. Optional Character length and limits: 127
- * single-byte alphanumeric characters
+ * Your invoice number or other identification number. The
+ * InvoiceID value is recorded only if the authorization you
+ * are capturing is an order authorization, not a basic
+ * authorization. Optional Character length and limits: 127
+ * single-byte alphanumeric characters
* @access public
* @namespace ns
@@ -17844,8 +18753,8 @@ class DoCaptureRequestType extends AbstractRequestType
public $InvoiceID;
/**
- * Contains enhanced data like airline itinerary information.
- * Not Required
+ * Contains enhanced data like airline itinerary information.
+ * Not Required
* @access public
* @namespace ebl
@@ -17856,10 +18765,10 @@ class DoCaptureRequestType extends AbstractRequestType
public $EnhancedData;
/**
- * dynamic descriptor Dynamic descriptor is used for merchant
- * to provide detail of a transaction appears on statement
- * Optional Character length and limits: <18 characters
- * alphanumeric characters
+ * dynamic descriptor Dynamic descriptor is used for merchant
+ * to provide detail of a transaction appears on statement
+ * Optional Character length and limits: <18 characters
+ * alphanumeric characters
* @access public
* @namespace ns
@@ -17870,7 +18779,7 @@ class DoCaptureRequestType extends AbstractRequestType
public $Descriptor;
/**
- * To pass the Merchant store informationOptional
+ * To pass the Merchant store informationOptional
* @access public
* @namespace ebl
@@ -17881,9 +18790,9 @@ class DoCaptureRequestType extends AbstractRequestType
public $MerchantStoreDetails;
/**
- * Unique id for each API request to prevent duplicate
- * payments. Optional Character length and limits: 38
- * single-byte characters maximum.
+ * Unique id for each API request to prevent duplicate
+ * payments. Optional Character length and limits: 38
+ * single-byte characters maximum.
* @access public
* @namespace ns
@@ -17893,6 +18802,18 @@ class DoCaptureRequestType extends AbstractRequestType
*/
public $MsgSubID;
+ /**
+ * This holds key-value pair which merchants wants to pass it
+ * to the open wallet-PLCC processorOptional
+ * @access public
+
+ * @namespace ebl
+
+
+ * @var MerchantDataType
+ */
+ public $MerchantData;
+
/**
* Constructor with arguments
*/
@@ -17903,19 +18824,20 @@ public function __construct($AuthorizationID = NULL, $Amount = NULL, $CompleteTy
}
-
+
+
}
/**
- *
+ *
*/
class DoCaptureResponseType extends AbstractResponseType
{
/**
- *
+ *
* @access public
* @namespace ebl
@@ -17931,13 +18853,13 @@ class DoCaptureResponseType extends AbstractResponseType
/**
- *
+ *
*/
class DoReauthorizationReq
extends PPXmlMessage{
/**
- *
+ *
* @access public
* @namespace ns
@@ -17961,29 +18883,30 @@ public function toXMLString()
$str .= '';
return $str;
}
-
+
+
}
/**
- * The value of a previously authorized transaction
- * identification number returned by a PayPal product. You can
- * obtain a buyer's transaction number from the TransactionID
- * element of the PayerInfo structure returned by
- * GetTransactionDetailsResponse. Required Character length and
- * limits: 19 single-byte characters maximum
+ * The value of a previously authorized transaction
+ * identification number returned by a PayPal product. You can
+ * obtain a buyer's transaction number from the TransactionID
+ * element of the PayerInfo structure returned by
+ * GetTransactionDetailsResponse. Required Character length and
+ * limits: 19 single-byte characters maximum
*/
class DoReauthorizationRequestType extends AbstractRequestType
{
/**
- * The value of a previously authorized transaction
- * identification number returned by a PayPal product. You can
- * obtain a buyer's transaction number from the TransactionID
- * element of the PayerInfo structure returned by
- * GetTransactionDetailsResponse. Required Character length and
- * limits: 19 single-byte characters maximum
+ * The value of a previously authorized transaction
+ * identification number returned by a PayPal product. You can
+ * obtain a buyer's transaction number from the TransactionID
+ * element of the PayerInfo structure returned by
+ * GetTransactionDetailsResponse. Required Character length and
+ * limits: 19 single-byte characters maximum
* @access public
* @namespace ns
@@ -17994,10 +18917,10 @@ class DoReauthorizationRequestType extends AbstractRequestType
public $AuthorizationID;
/**
- * Amount to reauthorize. Required Limitations: Must not exceed
- * $10,000 USD in any currency. No currency symbol. Decimal
- * separator must be a period (.), and the thousands separator
- * must be a comma (,).
+ * Amount to reauthorize. Required Limitations: Must not exceed
+ * $10,000 USD in any currency. No currency symbol. Decimal
+ * separator must be a period (.), and the thousands separator
+ * must be a comma (,).
* @access public
* @namespace ns
@@ -18008,9 +18931,9 @@ class DoReauthorizationRequestType extends AbstractRequestType
public $Amount;
/**
- * Unique id for each API request to prevent duplicate
- * payments. Optional Character length and limits: 38
- * single-byte characters maximum.
+ * Unique id for each API request to prevent duplicate
+ * payments. Optional Character length and limits: 38
+ * single-byte characters maximum.
* @access public
* @namespace ns
@@ -18029,21 +18952,22 @@ public function __construct($AuthorizationID = NULL, $Amount = NULL) {
}
-
+
+
}
/**
- * A new authorization identification number. Character length
- * and limits: 19 single-byte characters
+ * A new authorization identification number. Character length
+ * and limits: 19 single-byte characters
*/
class DoReauthorizationResponseType extends AbstractResponseType
{
/**
- * A new authorization identification number. Character length
- * and limits: 19 single-byte characters
+ * A new authorization identification number. Character length
+ * and limits: 19 single-byte characters
* @access public
* @namespace ns
@@ -18054,7 +18978,7 @@ class DoReauthorizationResponseType extends AbstractResponseType
public $AuthorizationID;
/**
- *
+ *
* @access public
* @namespace ebl
@@ -18065,7 +18989,7 @@ class DoReauthorizationResponseType extends AbstractResponseType
public $AuthorizationInfo;
/**
- * Return msgsubid back to merchant
+ * Return msgsubid back to merchant
* @access public
* @namespace ns
@@ -18081,13 +19005,13 @@ class DoReauthorizationResponseType extends AbstractResponseType
/**
- *
+ *
*/
class DoVoidReq
extends PPXmlMessage{
/**
- *
+ *
* @access public
* @namespace ns
@@ -18111,29 +19035,30 @@ public function toXMLString()
$str .= '';
return $str;
}
-
+
+
}
/**
- * The value of the original authorization identification
- * number returned by a PayPal product. If you are voiding a
- * transaction that has been reauthorized, use the ID from the
- * original authorization, and not the reauthorization.
- * Required Character length and limits: 19 single-byte
- * characters
+ * The value of the original authorization identification
+ * number returned by a PayPal product. If you are voiding a
+ * transaction that has been reauthorized, use the ID from the
+ * original authorization, and not the reauthorization.
+ * Required Character length and limits: 19 single-byte
+ * characters
*/
class DoVoidRequestType extends AbstractRequestType
{
/**
- * The value of the original authorization identification
- * number returned by a PayPal product. If you are voiding a
- * transaction that has been reauthorized, use the ID from the
- * original authorization, and not the reauthorization.
- * Required Character length and limits: 19 single-byte
- * characters
+ * The value of the original authorization identification
+ * number returned by a PayPal product. If you are voiding a
+ * transaction that has been reauthorized, use the ID from the
+ * original authorization, and not the reauthorization.
+ * Required Character length and limits: 19 single-byte
+ * characters
* @access public
* @namespace ns
@@ -18144,10 +19069,10 @@ class DoVoidRequestType extends AbstractRequestType
public $AuthorizationID;
/**
- * An informational note about this settlement that is
- * displayed to the payer in email and in transaction history.
- * Optional Character length and limits: 255 single-byte
- * characters
+ * An informational note about this settlement that is
+ * displayed to the payer in email and in transaction history.
+ * Optional Character length and limits: 255 single-byte
+ * characters
* @access public
* @namespace ns
@@ -18158,9 +19083,9 @@ class DoVoidRequestType extends AbstractRequestType
public $Note;
/**
- * Unique id for each API request to prevent duplicate
- * payments. Optional Character length and limits: 38
- * single-byte characters maximum.
+ * Unique id for each API request to prevent duplicate
+ * payments. Optional Character length and limits: 38
+ * single-byte characters maximum.
* @access public
* @namespace ns
@@ -18178,23 +19103,24 @@ public function __construct($AuthorizationID = NULL) {
}
-
+
+
}
/**
- * The authorization identification number you specified in the
- * request. Character length and limits: 19 single-byte
- * characters
+ * The authorization identification number you specified in the
+ * request. Character length and limits: 19 single-byte
+ * characters
*/
class DoVoidResponseType extends AbstractResponseType
{
/**
- * The authorization identification number you specified in the
- * request. Character length and limits: 19 single-byte
- * characters
+ * The authorization identification number you specified in the
+ * request. Character length and limits: 19 single-byte
+ * characters
* @access public
* @namespace ns
@@ -18205,7 +19131,7 @@ class DoVoidResponseType extends AbstractResponseType
public $AuthorizationID;
/**
- * Return msgsubid back to merchant
+ * Return msgsubid back to merchant
* @access public
* @namespace ns
@@ -18221,13 +19147,13 @@ class DoVoidResponseType extends AbstractResponseType
/**
- *
+ *
*/
class DoAuthorizationReq
extends PPXmlMessage{
/**
- *
+ *
* @access public
* @namespace ns
@@ -18251,23 +19177,24 @@ public function toXMLString()
$str .= '';
return $str;
}
-
+
+
}
/**
- * The value of the order’s transaction identification number
- * returned by a PayPal product. Required Character length and
- * limits: 19 single-byte characters maximum
+ * The value of the order’s transaction identification number
+ * returned by a PayPal product. Required Character length and
+ * limits: 19 single-byte characters maximum
*/
class DoAuthorizationRequestType extends AbstractRequestType
{
/**
- * The value of the order’s transaction identification number
- * returned by a PayPal product. Required Character length and
- * limits: 19 single-byte characters maximum
+ * The value of the order’s transaction identification number
+ * returned by a PayPal product. Required Character length and
+ * limits: 19 single-byte characters maximum
* @access public
* @namespace ns
@@ -18278,9 +19205,9 @@ class DoAuthorizationRequestType extends AbstractRequestType
public $TransactionID;
/**
- * Type of transaction to authorize. The only allowable value
- * is Order, which means that the transaction represents a
- * customer order that can be fulfilled over 29 days. Optional
+ * Type of transaction to authorize. The only allowable value
+ * is Order, which means that the transaction represents a
+ * customer order that can be fulfilled over 29 days. Optional
* @access public
* @namespace ns
@@ -18291,10 +19218,10 @@ class DoAuthorizationRequestType extends AbstractRequestType
public $TransactionEntity;
/**
- * Amount to authorize. Required Limitations: Must not exceed
- * $10,000 USD in any currency. No currency symbol. Decimal
- * separator must be a period (.), and the thousands separator
- * must be a comma (,).
+ * Amount to authorize. Required Limitations: Must not exceed
+ * $10,000 USD in any currency. No currency symbol. Decimal
+ * separator must be a period (.), and the thousands separator
+ * must be a comma (,).
* @access public
* @namespace ns
@@ -18305,9 +19232,145 @@ class DoAuthorizationRequestType extends AbstractRequestType
public $Amount;
/**
- * Unique id for each API request to prevent duplicate
- * payments. Optional Character length and limits: 38
- * single-byte characters maximum.
+ * Address the order will be shipped to. Optional
+ * @access public
+
+ * @namespace ebl
+
+
+ * @var AddressType
+ */
+ public $ShipToAddress;
+
+ /**
+ * Information about the individual purchased items
+ * @array
+ * @access public
+
+ * @namespace ebl
+
+
+ * @var PaymentDetailsItemType
+ */
+ public $PaymentDetailsItem;
+
+ /**
+ * Sum of cost of all items in this order. You must set the
+ * currencyID attribute to one of the three-character currency
+ * codes for any of the supported PayPal currencies. Optional
+ * Limitations: Must not exceed $10,000 USD in any currency. No
+ * currency symbol. Decimal separator must be a period (.), and
+ * the thousands separator must be a comma (,).
+ * @access public
+
+ * @namespace ns
+
+
+ * @var BasicAmountType
+ */
+ public $ItemTotal;
+
+ /**
+ * Total shipping costs for this order. You must set the
+ * currencyID attribute to one of the three-character currency
+ * codes for any of the supported PayPal currencies. Optional
+ * Limitations: Must not exceed $10,000 USD in any currency. No
+ * currency symbol. Decimal separator must be a period (.), and
+ * the thousands separator must be a comma (,).
+ * @access public
+
+ * @namespace ns
+
+
+ * @var BasicAmountType
+ */
+ public $ShippingTotal;
+
+ /**
+ * Total handling costs for this order. You must set the
+ * currencyID attribute to one of the three-character currency
+ * codes for any of the supported PayPal currencies. Optional
+ * Limitations: Must not exceed $10,000 USD in any currency. No
+ * currency symbol. Decimal separator must be a period (.), and
+ * the thousands separator must be a comma (,).
+ * @access public
+
+ * @namespace ns
+
+
+ * @var BasicAmountType
+ */
+ public $HandlingTotal;
+
+ /**
+ * Sum of tax for all items in this order. You must set the
+ * currencyID attribute to one of the three-character currency
+ * codes for any of the supported PayPal currencies. Optional
+ * Limitations: Must not exceed $10,000 USD in any currency. No
+ * currency symbol. Decimal separator must be a period (.), and
+ * the thousands separator must be a comma (,).
+ * @access public
+
+ * @namespace ns
+
+
+ * @var BasicAmountType
+ */
+ public $TaxTotal;
+
+ /**
+ * Total shipping insurance costs for this order. Optional
+ * @access public
+
+ * @namespace ns
+
+
+ * @var BasicAmountType
+ */
+ public $InsuranceTotal;
+
+ /**
+ * Shipping discount for this order, specified as a negative
+ * number. Optional
+ * @access public
+
+ * @namespace ns
+
+
+ * @var BasicAmountType
+ */
+ public $ShippingDiscount;
+
+ /**
+ * Description of items the customer is purchasing. Optional
+ * Character length and limitations: 127 single-byte
+ * alphanumeric characters
+ * @access public
+
+ * @namespace ns
+
+
+ * @var string
+ */
+ public $OrderDescription;
+
+ /**
+ * A free-form field for your own use. Optional Character
+ * length and limitations: 256 single-byte alphanumeric
+ * characters
+ * @access public
+
+ * @namespace ns
+
+
+ * @var string
+ */
+ public $Custom;
+
+ /**
+ * Unique id for each API request to prevent duplicate
+ * payments. Optional Character length and limits: 38
+ * single-byte characters maximum.
* @access public
* @namespace ns
@@ -18317,6 +19380,29 @@ class DoAuthorizationRequestType extends AbstractRequestType
*/
public $MsgSubID;
+ /**
+ * IP Address of the buyer
+ * @access public
+
+ * @namespace ns
+
+
+ * @var string
+ */
+ public $IPAddress;
+
+ /**
+ * A flag indicating that this transaction is a Ship to Store
+ * transaction. Optional
+ * @access public
+
+ * @namespace ns
+
+
+ * @var string
+ */
+ public $ShipToStore;
+
/**
* Constructor with arguments
*/
@@ -18326,21 +19412,22 @@ public function __construct($TransactionID = NULL, $Amount = NULL) {
}
-
+
+
}
/**
- * An authorization identification number. Character length and
- * limits: 19 single-byte characters
+ * An authorization identification number. Character length and
+ * limits: 19 single-byte characters
*/
class DoAuthorizationResponseType extends AbstractResponseType
{
/**
- * An authorization identification number. Character length and
- * limits: 19 single-byte characters
+ * An authorization identification number. Character length and
+ * limits: 19 single-byte characters
* @access public
* @namespace ns
@@ -18351,7 +19438,7 @@ class DoAuthorizationResponseType extends AbstractResponseType
public $TransactionID;
/**
- * The amount and currency you specified in the request.
+ * The amount and currency you specified in the request.
* @access public
* @namespace ns
@@ -18362,7 +19449,7 @@ class DoAuthorizationResponseType extends AbstractResponseType
public $Amount;
/**
- *
+ *
* @access public
* @namespace ebl
@@ -18373,7 +19460,7 @@ class DoAuthorizationResponseType extends AbstractResponseType
public $AuthorizationInfo;
/**
- * Return msgsubid back to merchant
+ * Return msgsubid back to merchant
* @access public
* @namespace ns
@@ -18389,13 +19476,154 @@ class DoAuthorizationResponseType extends AbstractResponseType
/**
- *
+ *
+ */
+class UpdateAuthorizationReq
+ extends PPXmlMessage{
+
+ /**
+ *
+ * @access public
+
+ * @namespace ns
+
+
+ * @var UpdateAuthorizationRequestType
+ */
+ public $UpdateAuthorizationRequest;
+
+
+ public function toXMLString()
+ {
+ $str = '';
+ $str .= '';
+ if($this->UpdateAuthorizationRequest != NULL)
+ {
+ $str .= '';
+ $str .= $this->UpdateAuthorizationRequest->toXMLString();
+ $str .= '';
+ }
+ $str .= '';
+ return $str;
+ }
+
+
+}
+
+
+
+/**
+ * The value of the authorizationâtransaction identification
+ * number returned by a PayPal product. Required Character
+ * length and limits: 19 single-byte characters maximum
+ */
+class UpdateAuthorizationRequestType extends AbstractRequestType
+ {
+
+ /**
+ * The value of the authorizationâtransaction identification
+ * number returned by a PayPal product. Required Character
+ * length and limits: 19 single-byte characters maximum
+ * @access public
+
+ * @namespace ns
+
+
+ * @var string
+ */
+ public $TransactionID;
+
+ /**
+ * Shipping Address for this transaction.
+ * @access public
+
+ * @namespace ebl
+
+
+ * @var AddressType
+ */
+ public $ShipToAddress;
+
+ /**
+ * IP Address of the buyer
+ * @access public
+
+ * @namespace ns
+
+
+ * @var string
+ */
+ public $IPAddress;
+
+ /**
+ * A flag indicating that this transaction is a Ship to Store
+ * transaction. Optional
+ * @access public
+
+ * @namespace ns
+
+
+ * @var string
+ */
+ public $ShipToStore;
+
+ /**
+ * Constructor with arguments
+ */
+ public function __construct($TransactionID = NULL) {
+ $this->TransactionID = $TransactionID;
+ }
+
+
+
+
+}
+
+
+
+/**
+ * An authorization identification number. Character length and
+ * limits: 19 single-byte characters
+ */
+class UpdateAuthorizationResponseType extends AbstractResponseType
+ {
+
+ /**
+ * An authorization identification number. Character length and
+ * limits: 19 single-byte characters
+ * @access public
+
+ * @namespace ns
+
+
+ * @var string
+ */
+ public $TransactionID;
+
+ /**
+ *
+ * @access public
+
+ * @namespace ebl
+
+
+ * @var AuthorizationInfoType
+ */
+ public $AuthorizationInfo;
+
+
+}
+
+
+
+/**
+ *
*/
class DoUATPAuthorizationReq
extends PPXmlMessage{
/**
- *
+ *
* @access public
* @namespace ns
@@ -18419,19 +19647,20 @@ public function toXMLString()
$str .= '';
return $str;
}
-
+
+
}
/**
- * UATP card details Required
+ * UATP card details Required
*/
class DoUATPAuthorizationRequestType extends AbstractRequestType
{
/**
- * UATP card details Required
+ * UATP card details Required
* @access public
* @namespace ebl
@@ -18442,9 +19671,9 @@ class DoUATPAuthorizationRequestType extends AbstractRequestType
public $UATPDetails;
/**
- * Type of transaction to authorize. The only allowable value
- * is Order, which means that the transaction represents a
- * customer order that can be fulfilled over 29 days. Optional
+ * Type of transaction to authorize. The only allowable value
+ * is Order, which means that the transaction represents a
+ * customer order that can be fulfilled over 29 days. Optional
* @access public
* @namespace ns
@@ -18455,10 +19684,10 @@ class DoUATPAuthorizationRequestType extends AbstractRequestType
public $TransactionEntity;
/**
- * Amount to authorize. Required Limitations: Must not exceed
- * $10,000 USD in any currency. No currency symbol. Decimal
- * separator must be a period (.), and the thousands separator
- * must be a comma (,).
+ * Amount to authorize. Required Limitations: Must not exceed
+ * $10,000 USD in any currency. No currency symbol. Decimal
+ * separator must be a period (.), and the thousands separator
+ * must be a comma (,).
* @access public
* @namespace ns
@@ -18469,7 +19698,7 @@ class DoUATPAuthorizationRequestType extends AbstractRequestType
public $Amount;
/**
- * Invoice ID. A pass through.
+ * Invoice ID. A pass through.
* @access public
* @namespace ns
@@ -18480,9 +19709,9 @@ class DoUATPAuthorizationRequestType extends AbstractRequestType
public $InvoiceID;
/**
- * Unique id for each API request to prevent duplicate
- * payments. Optional Character length and limits: 38
- * single-byte characters maximum.
+ * Unique id for each API request to prevent duplicate
+ * payments. Optional Character length and limits: 38
+ * single-byte characters maximum.
* @access public
* @namespace ns
@@ -18501,19 +19730,20 @@ public function __construct($UATPDetails = NULL, $Amount = NULL) {
}
-
+
+
}
/**
- * Auth Authorization Code.
+ * Auth Authorization Code.
*/
class DoUATPAuthorizationResponseType extends DoAuthorizationResponseType
{
/**
- *
+ *
* @access public
* @namespace ebl
@@ -18524,7 +19754,7 @@ class DoUATPAuthorizationResponseType extends DoAuthorizationResponseType
public $UATPDetails;
/**
- * Auth Authorization Code.
+ * Auth Authorization Code.
* @access public
* @namespace ns
@@ -18535,7 +19765,7 @@ class DoUATPAuthorizationResponseType extends DoAuthorizationResponseType
public $AuthorizationCode;
/**
- * Invoice ID. A pass through.
+ * Invoice ID. A pass through.
* @access public
* @namespace ns
@@ -18546,9 +19776,9 @@ class DoUATPAuthorizationResponseType extends DoAuthorizationResponseType
public $InvoiceID;
/**
- * Unique id for each API request to prevent duplicate
- * payments. Optional Character length and limits: 38
- * single-byte characters maximum.
+ * Unique id for each API request to prevent duplicate
+ * payments. Optional Character length and limits: 38
+ * single-byte characters maximum.
* @access public
* @namespace ns
@@ -18564,13 +19794,13 @@ class DoUATPAuthorizationResponseType extends DoAuthorizationResponseType
/**
- *
+ *
*/
class CreateMobilePaymentReq
extends PPXmlMessage{
/**
- *
+ *
* @access public
* @namespace ns
@@ -18594,19 +19824,20 @@ public function toXMLString()
$str .= '';
return $str;
}
-
+
+
}
/**
- *
+ *
*/
class CreateMobilePaymentRequestType extends AbstractRequestType
{
/**
- *
+ *
* @access public
* @namespace ebl
@@ -18624,13 +19855,14 @@ public function __construct($CreateMobilePaymentRequestDetails = NULL) {
}
-
+
+
}
/**
- *
+ *
*/
class CreateMobilePaymentResponseType extends AbstractResponseType
{
@@ -18641,13 +19873,13 @@ class CreateMobilePaymentResponseType extends AbstractResponseType
/**
- *
+ *
*/
class GetMobileStatusReq
extends PPXmlMessage{
/**
- *
+ *
* @access public
* @namespace ns
@@ -18671,19 +19903,20 @@ public function toXMLString()
$str .= '';
return $str;
}
-
+
+
}
/**
- *
+ *
*/
class GetMobileStatusRequestType extends AbstractRequestType
{
/**
- *
+ *
* @access public
* @namespace ebl
@@ -18701,21 +19934,22 @@ public function __construct($GetMobileStatusRequestDetails = NULL) {
}
-
+
+
}
/**
- * Indicates whether the phone is activated for mobile payments
- *
+ * Indicates whether the phone is activated for mobile payments
+ *
*/
class GetMobileStatusResponseType extends AbstractResponseType
{
/**
- * Indicates whether the phone is activated for mobile payments
- *
+ * Indicates whether the phone is activated for mobile payments
+ *
* @access public
* @namespace ns
@@ -18726,7 +19960,19 @@ class GetMobileStatusResponseType extends AbstractResponseType
public $IsActivated;
/**
- * Indicates whether there is a payment pending from the phone
+ * Indicates whether the password is enabled for particular
+ * account
+ * @access public
+
+ * @namespace ns
+
+
+ * @var integer
+ */
+ public $IsPasswordSet;
+
+ /**
+ * Indicates whether there is a payment pending from the phone
* @access public
* @namespace ns
@@ -18742,13 +19988,13 @@ class GetMobileStatusResponseType extends AbstractResponseType
/**
- *
+ *
*/
class SetMobileCheckoutReq
extends PPXmlMessage{
/**
- *
+ *
* @access public
* @namespace ns
@@ -18772,19 +20018,20 @@ public function toXMLString()
$str .= '';
return $str;
}
-
+
+
}
/**
- *
+ *
*/
class SetMobileCheckoutRequestType extends AbstractRequestType
{
/**
- *
+ *
* @access public
* @namespace ebl
@@ -18802,25 +20049,26 @@ public function __construct($SetMobileCheckoutRequestDetails = NULL) {
}
-
+
+
}
/**
- * A timestamped token by which you identify to PayPal that you
- * are processing this payment with Mobile Checkout. The token
- * expires after three hours. Character length and limitations:
- * 20 single-byte characters
+ * A timestamped token by which you identify to PayPal that you
+ * are processing this payment with Mobile Checkout. The token
+ * expires after three hours. Character length and limitations:
+ * 20 single-byte characters
*/
class SetMobileCheckoutResponseType extends AbstractResponseType
{
/**
- * A timestamped token by which you identify to PayPal that you
- * are processing this payment with Mobile Checkout. The token
- * expires after three hours. Character length and limitations:
- * 20 single-byte characters
+ * A timestamped token by which you identify to PayPal that you
+ * are processing this payment with Mobile Checkout. The token
+ * expires after three hours. Character length and limitations:
+ * 20 single-byte characters
* @access public
* @namespace ns
@@ -18836,13 +20084,13 @@ class SetMobileCheckoutResponseType extends AbstractResponseType
/**
- *
+ *
*/
class DoMobileCheckoutPaymentReq
extends PPXmlMessage{
/**
- *
+ *
* @access public
* @namespace ns
@@ -18866,23 +20114,24 @@ public function toXMLString()
$str .= '';
return $str;
}
-
+
+
}
/**
- * A timestamped token, the value of which was returned by
- * SetMobileCheckoutResponse. RequiredCharacter length and
- * limitations: 20 single-byte characters
+ * A timestamped token, the value of which was returned by
+ * SetMobileCheckoutResponse. RequiredCharacter length and
+ * limitations: 20 single-byte characters
*/
class DoMobileCheckoutPaymentRequestType extends AbstractRequestType
{
/**
- * A timestamped token, the value of which was returned by
- * SetMobileCheckoutResponse. RequiredCharacter length and
- * limitations: 20 single-byte characters
+ * A timestamped token, the value of which was returned by
+ * SetMobileCheckoutResponse. RequiredCharacter length and
+ * limitations: 20 single-byte characters
* @access public
* @namespace ns
@@ -18900,19 +20149,20 @@ public function __construct($Token = NULL) {
}
-
+
+
}
/**
- *
+ *
*/
class DoMobileCheckoutPaymentResponseType extends AbstractResponseType
{
/**
- *
+ *
* @access public
* @namespace ebl
@@ -18928,13 +20178,13 @@ class DoMobileCheckoutPaymentResponseType extends AbstractResponseType
/**
- *
+ *
*/
class GetBalanceReq
extends PPXmlMessage{
/**
- *
+ *
* @access public
* @namespace ns
@@ -18958,19 +20208,20 @@ public function toXMLString()
$str .= '';
return $str;
}
-
+
+
}
/**
- *
+ *
*/
class GetBalanceRequestType extends AbstractRequestType
{
/**
- *
+ *
* @access public
* @namespace ns
@@ -18981,19 +20232,20 @@ class GetBalanceRequestType extends AbstractRequestType
public $ReturnAllCurrencies;
-
+
+
}
/**
- *
+ *
*/
class GetBalanceResponseType extends AbstractResponseType
{
/**
- *
+ *
* @access public
* @namespace ns
@@ -19004,7 +20256,7 @@ class GetBalanceResponseType extends AbstractResponseType
public $Balance;
/**
- *
+ *
* @access public
* @namespace ns
@@ -19015,7 +20267,7 @@ class GetBalanceResponseType extends AbstractResponseType
public $BalanceTimeStamp;
/**
- *
+ *
* @array
* @access public
@@ -19032,13 +20284,13 @@ class GetBalanceResponseType extends AbstractResponseType
/**
- *
+ *
*/
class SetCustomerBillingAgreementReq
extends PPXmlMessage{
/**
- *
+ *
* @access public
* @namespace ns
@@ -19062,19 +20314,20 @@ public function toXMLString()
$str .= '';
return $str;
}
-
+
+
}
/**
- *
+ *
*/
class SetCustomerBillingAgreementRequestType extends AbstractRequestType
{
/**
- *
+ *
* @access public
* @namespace ebl
@@ -19092,19 +20345,20 @@ public function __construct($SetCustomerBillingAgreementRequestDetails = NULL) {
}
-
+
+
}
/**
- *
+ *
*/
class SetCustomerBillingAgreementResponseType extends AbstractResponseType
{
/**
- *
+ *
* @access public
* @namespace ns
@@ -19120,13 +20374,13 @@ class SetCustomerBillingAgreementResponseType extends AbstractResponseType
/**
- *
+ *
*/
class GetBillingAgreementCustomerDetailsReq
extends PPXmlMessage{
/**
- *
+ *
* @access public
* @namespace ns
@@ -19150,19 +20404,20 @@ public function toXMLString()
$str .= '';
return $str;
}
-
+
+
}
/**
- *
+ *
*/
class GetBillingAgreementCustomerDetailsRequestType extends AbstractRequestType
{
/**
- *
+ *
* @access public
* @namespace ns
@@ -19180,19 +20435,20 @@ public function __construct($Token = NULL) {
}
-
+
+
}
/**
- *
+ *
*/
class GetBillingAgreementCustomerDetailsResponseType extends AbstractResponseType
{
/**
- *
+ *
* @access public
* @namespace ebl
@@ -19208,13 +20464,13 @@ class GetBillingAgreementCustomerDetailsResponseType extends AbstractResponseTy
/**
- *
+ *
*/
class CreateBillingAgreementReq
extends PPXmlMessage{
/**
- *
+ *
* @access public
* @namespace ns
@@ -19238,19 +20494,20 @@ public function toXMLString()
$str .= '';
return $str;
}
-
+
+
}
/**
- *
+ *
*/
class CreateBillingAgreementRequestType extends AbstractRequestType
{
/**
- *
+ *
* @access public
* @namespace ns
@@ -19268,19 +20525,20 @@ public function __construct($Token = NULL) {
}
-
+
+
}
/**
- *
+ *
*/
class CreateBillingAgreementResponseType extends AbstractResponseType
{
/**
- *
+ *
* @access public
* @namespace ns
@@ -19296,13 +20554,13 @@ class CreateBillingAgreementResponseType extends AbstractResponseType
/**
- *
+ *
*/
class DoReferenceTransactionReq
extends PPXmlMessage{
/**
- *
+ *
* @access public
* @namespace ns
@@ -19326,20 +20584,21 @@ public function toXMLString()
$str .= '';
return $str;
}
-
+
+
}
/**
- * This flag indicates that the response should include
- * FMFDetails
+ * This flag indicates that the response should include
+ * FMFDetails
*/
class DoReferenceTransactionRequestType extends AbstractRequestType
{
/**
- *
+ *
* @access public
* @namespace ebl
@@ -19350,8 +20609,8 @@ class DoReferenceTransactionRequestType extends AbstractRequestType
public $DoReferenceTransactionRequestDetails;
/**
- * This flag indicates that the response should include
- * FMFDetails
+ * This flag indicates that the response should include
+ * FMFDetails
* @access public
* @namespace ns
@@ -19369,19 +20628,20 @@ public function __construct($DoReferenceTransactionRequestDetails = NULL) {
}
-
+
+
}
/**
- *
+ *
*/
class DoReferenceTransactionResponseType extends AbstractResponseType
{
/**
- *
+ *
* @access public
* @namespace ebl
@@ -19392,7 +20652,7 @@ class DoReferenceTransactionResponseType extends AbstractResponseType
public $DoReferenceTransactionResponseDetails;
/**
- *
+ *
* @access public
* @namespace ns
@@ -19408,13 +20668,13 @@ class DoReferenceTransactionResponseType extends AbstractResponseType
/**
- *
+ *
*/
class DoNonReferencedCreditReq
extends PPXmlMessage{
/**
- *
+ *
* @access public
* @namespace ns
@@ -19438,19 +20698,20 @@ public function toXMLString()
$str .= '';
return $str;
}
-
+
+
}
/**
- *
+ *
*/
class DoNonReferencedCreditRequestType extends AbstractRequestType
{
/**
- *
+ *
* @access public
* @namespace ebl
@@ -19468,19 +20729,20 @@ public function __construct($DoNonReferencedCreditRequestDetails = NULL) {
}
-
+
+
}
/**
- *
+ *
*/
class DoNonReferencedCreditResponseType extends AbstractResponseType
{
/**
- *
+ *
* @access public
* @namespace ebl
@@ -19496,13 +20758,13 @@ class DoNonReferencedCreditResponseType extends AbstractResponseType
/**
- *
+ *
*/
class CreateRecurringPaymentsProfileReq
extends PPXmlMessage{
/**
- *
+ *
* @access public
* @namespace ns
@@ -19526,19 +20788,20 @@ public function toXMLString()
$str .= '';
return $str;
}
-
+
+
}
/**
- *
+ *
*/
class CreateRecurringPaymentsProfileRequestType extends AbstractRequestType
{
/**
- *
+ *
* @access public
* @namespace ebl
@@ -19549,19 +20812,20 @@ class CreateRecurringPaymentsProfileRequestType extends AbstractRequestType
public $CreateRecurringPaymentsProfileRequestDetails;
-
+
+
}
/**
- *
+ *
*/
class CreateRecurringPaymentsProfileResponseType extends AbstractResponseType
{
/**
- *
+ *
* @access public
* @namespace ebl
@@ -19577,13 +20841,13 @@ class CreateRecurringPaymentsProfileResponseType extends AbstractResponseType
/**
- *
+ *
*/
class GetRecurringPaymentsProfileDetailsReq
extends PPXmlMessage{
/**
- *
+ *
* @access public
* @namespace ns
@@ -19607,19 +20871,20 @@ public function toXMLString()
$str .= '';
return $str;
}
-
+
+
}
/**
- *
+ *
*/
class GetRecurringPaymentsProfileDetailsRequestType extends AbstractRequestType
{
/**
- *
+ *
* @access public
* @namespace ns
@@ -19637,19 +20902,20 @@ public function __construct($ProfileID = NULL) {
}
-
+
+
}
/**
- *
+ *
*/
class GetRecurringPaymentsProfileDetailsResponseType extends AbstractResponseType
{
/**
- *
+ *
* @access public
* @namespace ebl
@@ -19665,13 +20931,13 @@ class GetRecurringPaymentsProfileDetailsResponseType extends AbstractResponseTy
/**
- *
+ *
*/
class ManageRecurringPaymentsProfileStatusReq
extends PPXmlMessage{
/**
- *
+ *
* @access public
* @namespace ns
@@ -19695,19 +20961,20 @@ public function toXMLString()
$str .= '';
return $str;
}
-
+
+
}
/**
- *
+ *
*/
class ManageRecurringPaymentsProfileStatusRequestType extends AbstractRequestType
{
/**
- *
+ *
* @access public
* @namespace ebl
@@ -19718,19 +20985,20 @@ class ManageRecurringPaymentsProfileStatusRequestType extends AbstractRequestTy
public $ManageRecurringPaymentsProfileStatusRequestDetails;
-
+
+
}
/**
- *
+ *
*/
class ManageRecurringPaymentsProfileStatusResponseType extends AbstractResponseType
{
/**
- *
+ *
* @access public
* @namespace ebl
@@ -19746,13 +21014,13 @@ class ManageRecurringPaymentsProfileStatusResponseType extends AbstractResponse
/**
- *
+ *
*/
class BillOutstandingAmountReq
extends PPXmlMessage{
/**
- *
+ *
* @access public
* @namespace ns
@@ -19776,19 +21044,20 @@ public function toXMLString()
$str .= '';
return $str;
}
-
+
+
}
/**
- *
+ *
*/
class BillOutstandingAmountRequestType extends AbstractRequestType
{
/**
- *
+ *
* @access public
* @namespace ebl
@@ -19799,19 +21068,20 @@ class BillOutstandingAmountRequestType extends AbstractRequestType
public $BillOutstandingAmountRequestDetails;
-
+
+
}
/**
- *
+ *
*/
class BillOutstandingAmountResponseType extends AbstractResponseType
{
/**
- *
+ *
* @access public
* @namespace ebl
@@ -19827,13 +21097,13 @@ class BillOutstandingAmountResponseType extends AbstractResponseType
/**
- *
+ *
*/
class UpdateRecurringPaymentsProfileReq
extends PPXmlMessage{
/**
- *
+ *
* @access public
* @namespace ns
@@ -19857,19 +21127,20 @@ public function toXMLString()
$str .= '';
return $str;
}
-
+
+
}
/**
- *
+ *
*/
class UpdateRecurringPaymentsProfileRequestType extends AbstractRequestType
{
/**
- *
+ *
* @access public
* @namespace ebl
@@ -19880,19 +21151,20 @@ class UpdateRecurringPaymentsProfileRequestType extends AbstractRequestType
public $UpdateRecurringPaymentsProfileRequestDetails;
-
+
+
}
/**
- *
+ *
*/
class UpdateRecurringPaymentsProfileResponseType extends AbstractResponseType
{
/**
- *
+ *
* @access public
* @namespace ebl
@@ -19908,13 +21180,13 @@ class UpdateRecurringPaymentsProfileResponseType extends AbstractResponseType
/**
- *
+ *
*/
class GetPalDetailsReq
extends PPXmlMessage{
/**
- *
+ *
* @access public
* @namespace ns
@@ -19938,31 +21210,33 @@ public function toXMLString()
$str .= '';
return $str;
}
-
+
+
}
/**
- *
+ *
*/
class GetPalDetailsRequestType extends AbstractRequestType
{
-
+
+
}
/**
- *
+ *
*/
class GetPalDetailsResponseType extends AbstractResponseType
{
/**
- *
+ *
* @access public
* @namespace ns
@@ -19973,7 +21247,7 @@ class GetPalDetailsResponseType extends AbstractResponseType
public $Pal;
/**
- *
+ *
* @access public
* @namespace ns
@@ -19989,13 +21263,13 @@ class GetPalDetailsResponseType extends AbstractResponseType
/**
- *
+ *
*/
class ReverseTransactionReq
extends PPXmlMessage{
/**
- *
+ *
* @access public
* @namespace ns
@@ -20019,19 +21293,20 @@ public function toXMLString()
$str .= '';
return $str;
}
-
+
+
}
/**
- *
+ *
*/
class ReverseTransactionRequestType extends AbstractRequestType
{
/**
- *
+ *
* @access public
* @namespace ebl
@@ -20049,19 +21324,20 @@ public function __construct($ReverseTransactionRequestDetails = NULL) {
}
-
+
+
}
/**
- *
+ *
*/
class ReverseTransactionResponseType extends AbstractResponseType
{
/**
- *
+ *
* @access public
* @namespace ebl
@@ -20077,13 +21353,13 @@ class ReverseTransactionResponseType extends AbstractResponseType
/**
- *
+ *
*/
class ExternalRememberMeOptOutReq
extends PPXmlMessage{
/**
- *
+ *
* @access public
* @namespace ns
@@ -20107,27 +21383,28 @@ public function toXMLString()
$str .= '';
return $str;
}
-
+
+
}
/**
- * The merchant passes in the ExternalRememberMeID to identify
- * the user to opt out. This is a 17-character alphanumeric
- * (encrypted) string that identifies the buyer's remembered
- * login with a merchant and has meaning only to the merchant.
- * Required
+ * The merchant passes in the ExternalRememberMeID to identify
+ * the user to opt out. This is a 17-character alphanumeric
+ * (encrypted) string that identifies the buyer's remembered
+ * login with a merchant and has meaning only to the merchant.
+ * Required
*/
class ExternalRememberMeOptOutRequestType extends AbstractRequestType
{
/**
- * The merchant passes in the ExternalRememberMeID to identify
- * the user to opt out. This is a 17-character alphanumeric
- * (encrypted) string that identifies the buyer's remembered
- * login with a merchant and has meaning only to the merchant.
- * Required
+ * The merchant passes in the ExternalRememberMeID to identify
+ * the user to opt out. This is a 17-character alphanumeric
+ * (encrypted) string that identifies the buyer's remembered
+ * login with a merchant and has meaning only to the merchant.
+ * Required
* @access public
* @namespace ns
@@ -20138,8 +21415,8 @@ class ExternalRememberMeOptOutRequestType extends AbstractRequestType
public $ExternalRememberMeID;
/**
- * E-mail address or secure merchant account ID of merchant to
- * associate with external remember-me.
+ * E-mail address or secure merchant account ID of merchant to
+ * associate with external remember-me.
* @access public
* @namespace ns
@@ -20157,13 +21434,14 @@ public function __construct($ExternalRememberMeID = NULL) {
}
-
+
+
}
/**
- *
+ *
*/
class ExternalRememberMeOptOutResponseType extends AbstractResponseType
{
diff --git a/lib/services/PayPalAPIInterfaceService/PayPalAPIInterfaceServiceService.php b/lib/services/PayPalAPIInterfaceService/PayPalAPIInterfaceServiceService.php
index ae6abf62..65134003 100644
--- a/lib/services/PayPalAPIInterfaceService/PayPalAPIInterfaceServiceService.php
+++ b/lib/services/PayPalAPIInterfaceService/PayPalAPIInterfaceServiceService.php
@@ -6,21 +6,24 @@
class PayPalAPIInterfaceServiceService extends PPBaseService {
// Service Version
- private static $SERVICE_VERSION = "98.0";
+ private static $SERVICE_VERSION = "117.0";
// Service Name
private static $SERVICE_NAME = "PayPalAPIInterfaceService";
- // SDK Name
- protected static $SDK_NAME = "merchant-php-sdk";
+ // SDK Name
+ private static $SDK_NAME = "sdkname";
// SDK Version
- protected static $SDK_VERSION = "2.4.101";
+ private static $SDK_VERSION = "sdkversion";
+
+ /**
+ *
+ * @param $config - Dynamic config map. This takes the higher precedence if config file is also present.
+ */
public function __construct($config = null) {
- parent::__construct(self::$SERVICE_NAME, 'SOAP', array('PPMerchantServiceHandler'), $config);
- parent::$SDK_NAME = self::$SDK_NAME ;
- parent::$SDK_VERSION = self::$SDK_VERSION;
+ parent::__construct(self::$SERVICE_NAME, 'SOAP', $config);
}
private function setStandardParams(AbstractRequestType $request) {
@@ -40,8 +43,12 @@ private function setStandardParams(AbstractRequestType $request) {
*/
public function RefundTransaction($refundTransactionReq, $apiCredential = NULL) {
$this->setStandardParams($refundTransactionReq->RefundTransactionRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
$ret = new RefundTransactionResponseType();
- $resp = $this->call('PayPalAPI', 'RefundTransaction', $refundTransactionReq, $apiCredential);
+ $resp = $this->call('PayPalAPI', 'RefundTransaction', $refundTransactionReq, $apiContext, $handlers);
$ret->init(PPUtils::xmlToArray($resp));
return $ret;
}
@@ -58,8 +65,12 @@ public function RefundTransaction($refundTransactionReq, $apiCredential = NULL)
*/
public function InitiateRecoup($initiateRecoupReq, $apiCredential = NULL) {
$this->setStandardParams($initiateRecoupReq->InitiateRecoupRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
$ret = new InitiateRecoupResponseType();
- $resp = $this->call('PayPalAPI', 'InitiateRecoup', $initiateRecoupReq, $apiCredential);
+ $resp = $this->call('PayPalAPI', 'InitiateRecoup', $initiateRecoupReq, $apiContext, $handlers);
$ret->init(PPUtils::xmlToArray($resp));
return $ret;
}
@@ -76,8 +87,12 @@ public function InitiateRecoup($initiateRecoupReq, $apiCredential = NULL) {
*/
public function CompleteRecoup($completeRecoupReq, $apiCredential = NULL) {
$this->setStandardParams($completeRecoupReq->CompleteRecoupRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
$ret = new CompleteRecoupResponseType();
- $resp = $this->call('PayPalAPI', 'CompleteRecoup', $completeRecoupReq, $apiCredential);
+ $resp = $this->call('PayPalAPI', 'CompleteRecoup', $completeRecoupReq, $apiContext, $handlers);
$ret->init(PPUtils::xmlToArray($resp));
return $ret;
}
@@ -94,8 +109,12 @@ public function CompleteRecoup($completeRecoupReq, $apiCredential = NULL) {
*/
public function CancelRecoup($cancelRecoupReq, $apiCredential = NULL) {
$this->setStandardParams($cancelRecoupReq->CancelRecoupRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
$ret = new CancelRecoupResponseType();
- $resp = $this->call('PayPalAPI', 'CancelRecoup', $cancelRecoupReq, $apiCredential);
+ $resp = $this->call('PayPalAPI', 'CancelRecoup', $cancelRecoupReq, $apiContext, $handlers);
$ret->init(PPUtils::xmlToArray($resp));
return $ret;
}
@@ -112,8 +131,12 @@ public function CancelRecoup($cancelRecoupReq, $apiCredential = NULL) {
*/
public function GetTransactionDetails($getTransactionDetailsReq, $apiCredential = NULL) {
$this->setStandardParams($getTransactionDetailsReq->GetTransactionDetailsRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
$ret = new GetTransactionDetailsResponseType();
- $resp = $this->call('PayPalAPI', 'GetTransactionDetails', $getTransactionDetailsReq, $apiCredential);
+ $resp = $this->call('PayPalAPI', 'GetTransactionDetails', $getTransactionDetailsReq, $apiContext, $handlers);
$ret->init(PPUtils::xmlToArray($resp));
return $ret;
}
@@ -130,8 +153,12 @@ public function GetTransactionDetails($getTransactionDetailsReq, $apiCredential
*/
public function BillUser($billUserReq, $apiCredential = NULL) {
$this->setStandardParams($billUserReq->BillUserRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
$ret = new BillUserResponseType();
- $resp = $this->call('PayPalAPI', 'BillUser', $billUserReq, $apiCredential);
+ $resp = $this->call('PayPalAPI', 'BillUser', $billUserReq, $apiContext, $handlers);
$ret->init(PPUtils::xmlToArray($resp));
return $ret;
}
@@ -148,8 +175,12 @@ public function BillUser($billUserReq, $apiCredential = NULL) {
*/
public function TransactionSearch($transactionSearchReq, $apiCredential = NULL) {
$this->setStandardParams($transactionSearchReq->TransactionSearchRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
$ret = new TransactionSearchResponseType();
- $resp = $this->call('PayPalAPI', 'TransactionSearch', $transactionSearchReq, $apiCredential);
+ $resp = $this->call('PayPalAPI', 'TransactionSearch', $transactionSearchReq, $apiContext, $handlers);
$ret->init(PPUtils::xmlToArray($resp));
return $ret;
}
@@ -166,8 +197,12 @@ public function TransactionSearch($transactionSearchReq, $apiCredential = NULL)
*/
public function MassPay($massPayReq, $apiCredential = NULL) {
$this->setStandardParams($massPayReq->MassPayRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
$ret = new MassPayResponseType();
- $resp = $this->call('PayPalAPI', 'MassPay', $massPayReq, $apiCredential);
+ $resp = $this->call('PayPalAPI', 'MassPay', $massPayReq, $apiContext, $handlers);
$ret->init(PPUtils::xmlToArray($resp));
return $ret;
}
@@ -184,8 +219,12 @@ public function MassPay($massPayReq, $apiCredential = NULL) {
*/
public function BillAgreementUpdate($billAgreementUpdateReq, $apiCredential = NULL) {
$this->setStandardParams($billAgreementUpdateReq->BAUpdateRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
$ret = new BAUpdateResponseType();
- $resp = $this->call('PayPalAPI', 'BillAgreementUpdate', $billAgreementUpdateReq, $apiCredential);
+ $resp = $this->call('PayPalAPI', 'BillAgreementUpdate', $billAgreementUpdateReq, $apiContext, $handlers);
$ret->init(PPUtils::xmlToArray($resp));
return $ret;
}
@@ -202,8 +241,12 @@ public function BillAgreementUpdate($billAgreementUpdateReq, $apiCredential = NU
*/
public function AddressVerify($addressVerifyReq, $apiCredential = NULL) {
$this->setStandardParams($addressVerifyReq->AddressVerifyRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
$ret = new AddressVerifyResponseType();
- $resp = $this->call('PayPalAPI', 'AddressVerify', $addressVerifyReq, $apiCredential);
+ $resp = $this->call('PayPalAPI', 'AddressVerify', $addressVerifyReq, $apiContext, $handlers);
$ret->init(PPUtils::xmlToArray($resp));
return $ret;
}
@@ -220,8 +263,12 @@ public function AddressVerify($addressVerifyReq, $apiCredential = NULL) {
*/
public function EnterBoarding($enterBoardingReq, $apiCredential = NULL) {
$this->setStandardParams($enterBoardingReq->EnterBoardingRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
$ret = new EnterBoardingResponseType();
- $resp = $this->call('PayPalAPI', 'EnterBoarding', $enterBoardingReq, $apiCredential);
+ $resp = $this->call('PayPalAPI', 'EnterBoarding', $enterBoardingReq, $apiContext, $handlers);
$ret->init(PPUtils::xmlToArray($resp));
return $ret;
}
@@ -238,8 +285,12 @@ public function EnterBoarding($enterBoardingReq, $apiCredential = NULL) {
*/
public function GetBoardingDetails($getBoardingDetailsReq, $apiCredential = NULL) {
$this->setStandardParams($getBoardingDetailsReq->GetBoardingDetailsRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
$ret = new GetBoardingDetailsResponseType();
- $resp = $this->call('PayPalAPI', 'GetBoardingDetails', $getBoardingDetailsReq, $apiCredential);
+ $resp = $this->call('PayPalAPI', 'GetBoardingDetails', $getBoardingDetailsReq, $apiContext, $handlers);
$ret->init(PPUtils::xmlToArray($resp));
return $ret;
}
@@ -256,8 +307,12 @@ public function GetBoardingDetails($getBoardingDetailsReq, $apiCredential = NULL
*/
public function CreateMobilePayment($createMobilePaymentReq, $apiCredential = NULL) {
$this->setStandardParams($createMobilePaymentReq->CreateMobilePaymentRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
$ret = new CreateMobilePaymentResponseType();
- $resp = $this->call('PayPalAPI', 'CreateMobilePayment', $createMobilePaymentReq, $apiCredential);
+ $resp = $this->call('PayPalAPI', 'CreateMobilePayment', $createMobilePaymentReq, $apiContext, $handlers);
$ret->init(PPUtils::xmlToArray($resp));
return $ret;
}
@@ -274,8 +329,12 @@ public function CreateMobilePayment($createMobilePaymentReq, $apiCredential = NU
*/
public function GetMobileStatus($getMobileStatusReq, $apiCredential = NULL) {
$this->setStandardParams($getMobileStatusReq->GetMobileStatusRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
$ret = new GetMobileStatusResponseType();
- $resp = $this->call('PayPalAPI', 'GetMobileStatus', $getMobileStatusReq, $apiCredential);
+ $resp = $this->call('PayPalAPI', 'GetMobileStatus', $getMobileStatusReq, $apiContext, $handlers);
$ret->init(PPUtils::xmlToArray($resp));
return $ret;
}
@@ -292,8 +351,12 @@ public function GetMobileStatus($getMobileStatusReq, $apiCredential = NULL) {
*/
public function SetMobileCheckout($setMobileCheckoutReq, $apiCredential = NULL) {
$this->setStandardParams($setMobileCheckoutReq->SetMobileCheckoutRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
$ret = new SetMobileCheckoutResponseType();
- $resp = $this->call('PayPalAPI', 'SetMobileCheckout', $setMobileCheckoutReq, $apiCredential);
+ $resp = $this->call('PayPalAPI', 'SetMobileCheckout', $setMobileCheckoutReq, $apiContext, $handlers);
$ret->init(PPUtils::xmlToArray($resp));
return $ret;
}
@@ -310,8 +373,12 @@ public function SetMobileCheckout($setMobileCheckoutReq, $apiCredential = NULL)
*/
public function DoMobileCheckoutPayment($doMobileCheckoutPaymentReq, $apiCredential = NULL) {
$this->setStandardParams($doMobileCheckoutPaymentReq->DoMobileCheckoutPaymentRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
$ret = new DoMobileCheckoutPaymentResponseType();
- $resp = $this->call('PayPalAPI', 'DoMobileCheckoutPayment', $doMobileCheckoutPaymentReq, $apiCredential);
+ $resp = $this->call('PayPalAPI', 'DoMobileCheckoutPayment', $doMobileCheckoutPaymentReq, $apiContext, $handlers);
$ret->init(PPUtils::xmlToArray($resp));
return $ret;
}
@@ -328,8 +395,12 @@ public function DoMobileCheckoutPayment($doMobileCheckoutPaymentReq, $apiCredent
*/
public function GetBalance($getBalanceReq, $apiCredential = NULL) {
$this->setStandardParams($getBalanceReq->GetBalanceRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
$ret = new GetBalanceResponseType();
- $resp = $this->call('PayPalAPI', 'GetBalance', $getBalanceReq, $apiCredential);
+ $resp = $this->call('PayPalAPI', 'GetBalance', $getBalanceReq, $apiContext, $handlers);
$ret->init(PPUtils::xmlToArray($resp));
return $ret;
}
@@ -346,8 +417,12 @@ public function GetBalance($getBalanceReq, $apiCredential = NULL) {
*/
public function GetPalDetails($getPalDetailsReq, $apiCredential = NULL) {
$this->setStandardParams($getPalDetailsReq->GetPalDetailsRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
$ret = new GetPalDetailsResponseType();
- $resp = $this->call('PayPalAPI', 'GetPalDetails', $getPalDetailsReq, $apiCredential);
+ $resp = $this->call('PayPalAPI', 'GetPalDetails', $getPalDetailsReq, $apiContext, $handlers);
$ret->init(PPUtils::xmlToArray($resp));
return $ret;
}
@@ -364,8 +439,12 @@ public function GetPalDetails($getPalDetailsReq, $apiCredential = NULL) {
*/
public function DoExpressCheckoutPayment($doExpressCheckoutPaymentReq, $apiCredential = NULL) {
$this->setStandardParams($doExpressCheckoutPaymentReq->DoExpressCheckoutPaymentRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
$ret = new DoExpressCheckoutPaymentResponseType();
- $resp = $this->call('PayPalAPIAA', 'DoExpressCheckoutPayment', $doExpressCheckoutPaymentReq, $apiCredential);
+ $resp = $this->call('PayPalAPIAA', 'DoExpressCheckoutPayment', $doExpressCheckoutPaymentReq, $apiContext, $handlers);
$ret->init(PPUtils::xmlToArray($resp));
return $ret;
}
@@ -382,8 +461,12 @@ public function DoExpressCheckoutPayment($doExpressCheckoutPaymentReq, $apiCrede
*/
public function DoUATPExpressCheckoutPayment($doUATPExpressCheckoutPaymentReq, $apiCredential = NULL) {
$this->setStandardParams($doUATPExpressCheckoutPaymentReq->DoUATPExpressCheckoutPaymentRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
$ret = new DoUATPExpressCheckoutPaymentResponseType();
- $resp = $this->call('PayPalAPIAA', 'DoUATPExpressCheckoutPayment', $doUATPExpressCheckoutPaymentReq, $apiCredential);
+ $resp = $this->call('PayPalAPIAA', 'DoUATPExpressCheckoutPayment', $doUATPExpressCheckoutPaymentReq, $apiContext, $handlers);
$ret->init(PPUtils::xmlToArray($resp));
return $ret;
}
@@ -400,8 +483,12 @@ public function DoUATPExpressCheckoutPayment($doUATPExpressCheckoutPaymentReq, $
*/
public function SetAuthFlowParam($setAuthFlowParamReq, $apiCredential = NULL) {
$this->setStandardParams($setAuthFlowParamReq->SetAuthFlowParamRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
$ret = new SetAuthFlowParamResponseType();
- $resp = $this->call('PayPalAPIAA', 'SetAuthFlowParam', $setAuthFlowParamReq, $apiCredential);
+ $resp = $this->call('PayPalAPIAA', 'SetAuthFlowParam', $setAuthFlowParamReq, $apiContext, $handlers);
$ret->init(PPUtils::xmlToArray($resp));
return $ret;
}
@@ -418,8 +505,12 @@ public function SetAuthFlowParam($setAuthFlowParamReq, $apiCredential = NULL) {
*/
public function GetAuthDetails($getAuthDetailsReq, $apiCredential = NULL) {
$this->setStandardParams($getAuthDetailsReq->GetAuthDetailsRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
$ret = new GetAuthDetailsResponseType();
- $resp = $this->call('PayPalAPIAA', 'GetAuthDetails', $getAuthDetailsReq, $apiCredential);
+ $resp = $this->call('PayPalAPIAA', 'GetAuthDetails', $getAuthDetailsReq, $apiContext, $handlers);
$ret->init(PPUtils::xmlToArray($resp));
return $ret;
}
@@ -436,8 +527,12 @@ public function GetAuthDetails($getAuthDetailsReq, $apiCredential = NULL) {
*/
public function SetAccessPermissions($setAccessPermissionsReq, $apiCredential = NULL) {
$this->setStandardParams($setAccessPermissionsReq->SetAccessPermissionsRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
$ret = new SetAccessPermissionsResponseType();
- $resp = $this->call('PayPalAPIAA', 'SetAccessPermissions', $setAccessPermissionsReq, $apiCredential);
+ $resp = $this->call('PayPalAPIAA', 'SetAccessPermissions', $setAccessPermissionsReq, $apiContext, $handlers);
$ret->init(PPUtils::xmlToArray($resp));
return $ret;
}
@@ -454,8 +549,12 @@ public function SetAccessPermissions($setAccessPermissionsReq, $apiCredential =
*/
public function UpdateAccessPermissions($updateAccessPermissionsReq, $apiCredential = NULL) {
$this->setStandardParams($updateAccessPermissionsReq->UpdateAccessPermissionsRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
$ret = new UpdateAccessPermissionsResponseType();
- $resp = $this->call('PayPalAPIAA', 'UpdateAccessPermissions', $updateAccessPermissionsReq, $apiCredential);
+ $resp = $this->call('PayPalAPIAA', 'UpdateAccessPermissions', $updateAccessPermissionsReq, $apiContext, $handlers);
$ret->init(PPUtils::xmlToArray($resp));
return $ret;
}
@@ -472,8 +571,12 @@ public function UpdateAccessPermissions($updateAccessPermissionsReq, $apiCredent
*/
public function GetAccessPermissionDetails($getAccessPermissionDetailsReq, $apiCredential = NULL) {
$this->setStandardParams($getAccessPermissionDetailsReq->GetAccessPermissionDetailsRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
$ret = new GetAccessPermissionDetailsResponseType();
- $resp = $this->call('PayPalAPIAA', 'GetAccessPermissionDetails', $getAccessPermissionDetailsReq, $apiCredential);
+ $resp = $this->call('PayPalAPIAA', 'GetAccessPermissionDetails', $getAccessPermissionDetailsReq, $apiContext, $handlers);
$ret->init(PPUtils::xmlToArray($resp));
return $ret;
}
@@ -490,8 +593,12 @@ public function GetAccessPermissionDetails($getAccessPermissionDetailsReq, $apiC
*/
public function GetIncentiveEvaluation($getIncentiveEvaluationReq, $apiCredential = NULL) {
$this->setStandardParams($getIncentiveEvaluationReq->GetIncentiveEvaluationRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
$ret = new GetIncentiveEvaluationResponseType();
- $resp = $this->call('PayPalAPIAA', 'GetIncentiveEvaluation', $getIncentiveEvaluationReq, $apiCredential);
+ $resp = $this->call('PayPalAPIAA', 'GetIncentiveEvaluation', $getIncentiveEvaluationReq, $apiContext, $handlers);
$ret->init(PPUtils::xmlToArray($resp));
return $ret;
}
@@ -508,8 +615,12 @@ public function GetIncentiveEvaluation($getIncentiveEvaluationReq, $apiCredentia
*/
public function SetExpressCheckout($setExpressCheckoutReq, $apiCredential = NULL) {
$this->setStandardParams($setExpressCheckoutReq->SetExpressCheckoutRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
$ret = new SetExpressCheckoutResponseType();
- $resp = $this->call('PayPalAPIAA', 'SetExpressCheckout', $setExpressCheckoutReq, $apiCredential);
+ $resp = $this->call('PayPalAPIAA', 'SetExpressCheckout', $setExpressCheckoutReq, $apiContext, $handlers);
$ret->init(PPUtils::xmlToArray($resp));
return $ret;
}
@@ -526,8 +637,12 @@ public function SetExpressCheckout($setExpressCheckoutReq, $apiCredential = NULL
*/
public function ExecuteCheckoutOperations($executeCheckoutOperationsReq, $apiCredential = NULL) {
$this->setStandardParams($executeCheckoutOperationsReq->ExecuteCheckoutOperationsRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
$ret = new ExecuteCheckoutOperationsResponseType();
- $resp = $this->call('PayPalAPIAA', 'ExecuteCheckoutOperations', $executeCheckoutOperationsReq, $apiCredential);
+ $resp = $this->call('PayPalAPIAA', 'ExecuteCheckoutOperations', $executeCheckoutOperationsReq, $apiContext, $handlers);
$ret->init(PPUtils::xmlToArray($resp));
return $ret;
}
@@ -544,8 +659,12 @@ public function ExecuteCheckoutOperations($executeCheckoutOperationsReq, $apiCre
*/
public function GetExpressCheckoutDetails($getExpressCheckoutDetailsReq, $apiCredential = NULL) {
$this->setStandardParams($getExpressCheckoutDetailsReq->GetExpressCheckoutDetailsRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
$ret = new GetExpressCheckoutDetailsResponseType();
- $resp = $this->call('PayPalAPIAA', 'GetExpressCheckoutDetails', $getExpressCheckoutDetailsReq, $apiCredential);
+ $resp = $this->call('PayPalAPIAA', 'GetExpressCheckoutDetails', $getExpressCheckoutDetailsReq, $apiContext, $handlers);
$ret->init(PPUtils::xmlToArray($resp));
return $ret;
}
@@ -562,8 +681,12 @@ public function GetExpressCheckoutDetails($getExpressCheckoutDetailsReq, $apiCre
*/
public function DoDirectPayment($doDirectPaymentReq, $apiCredential = NULL) {
$this->setStandardParams($doDirectPaymentReq->DoDirectPaymentRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
$ret = new DoDirectPaymentResponseType();
- $resp = $this->call('PayPalAPIAA', 'DoDirectPayment', $doDirectPaymentReq, $apiCredential);
+ $resp = $this->call('PayPalAPIAA', 'DoDirectPayment', $doDirectPaymentReq, $apiContext, $handlers);
$ret->init(PPUtils::xmlToArray($resp));
return $ret;
}
@@ -580,8 +703,12 @@ public function DoDirectPayment($doDirectPaymentReq, $apiCredential = NULL) {
*/
public function ManagePendingTransactionStatus($managePendingTransactionStatusReq, $apiCredential = NULL) {
$this->setStandardParams($managePendingTransactionStatusReq->ManagePendingTransactionStatusRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
$ret = new ManagePendingTransactionStatusResponseType();
- $resp = $this->call('PayPalAPIAA', 'ManagePendingTransactionStatus', $managePendingTransactionStatusReq, $apiCredential);
+ $resp = $this->call('PayPalAPIAA', 'ManagePendingTransactionStatus', $managePendingTransactionStatusReq, $apiContext, $handlers);
$ret->init(PPUtils::xmlToArray($resp));
return $ret;
}
@@ -598,8 +725,12 @@ public function ManagePendingTransactionStatus($managePendingTransactionStatusRe
*/
public function DoCancel($doCancelReq, $apiCredential = NULL) {
$this->setStandardParams($doCancelReq->DoCancelRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
$ret = new DoCancelResponseType();
- $resp = $this->call('PayPalAPIAA', 'DoCancel', $doCancelReq, $apiCredential);
+ $resp = $this->call('PayPalAPIAA', 'DoCancel', $doCancelReq, $apiContext, $handlers);
$ret->init(PPUtils::xmlToArray($resp));
return $ret;
}
@@ -616,8 +747,12 @@ public function DoCancel($doCancelReq, $apiCredential = NULL) {
*/
public function DoCapture($doCaptureReq, $apiCredential = NULL) {
$this->setStandardParams($doCaptureReq->DoCaptureRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
$ret = new DoCaptureResponseType();
- $resp = $this->call('PayPalAPIAA', 'DoCapture', $doCaptureReq, $apiCredential);
+ $resp = $this->call('PayPalAPIAA', 'DoCapture', $doCaptureReq, $apiContext, $handlers);
$ret->init(PPUtils::xmlToArray($resp));
return $ret;
}
@@ -634,8 +769,12 @@ public function DoCapture($doCaptureReq, $apiCredential = NULL) {
*/
public function DoReauthorization($doReauthorizationReq, $apiCredential = NULL) {
$this->setStandardParams($doReauthorizationReq->DoReauthorizationRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
$ret = new DoReauthorizationResponseType();
- $resp = $this->call('PayPalAPIAA', 'DoReauthorization', $doReauthorizationReq, $apiCredential);
+ $resp = $this->call('PayPalAPIAA', 'DoReauthorization', $doReauthorizationReq, $apiContext, $handlers);
$ret->init(PPUtils::xmlToArray($resp));
return $ret;
}
@@ -652,8 +791,12 @@ public function DoReauthorization($doReauthorizationReq, $apiCredential = NULL)
*/
public function DoVoid($doVoidReq, $apiCredential = NULL) {
$this->setStandardParams($doVoidReq->DoVoidRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
$ret = new DoVoidResponseType();
- $resp = $this->call('PayPalAPIAA', 'DoVoid', $doVoidReq, $apiCredential);
+ $resp = $this->call('PayPalAPIAA', 'DoVoid', $doVoidReq, $apiContext, $handlers);
$ret->init(PPUtils::xmlToArray($resp));
return $ret;
}
@@ -670,8 +813,34 @@ public function DoVoid($doVoidReq, $apiCredential = NULL) {
*/
public function DoAuthorization($doAuthorizationReq, $apiCredential = NULL) {
$this->setStandardParams($doAuthorizationReq->DoAuthorizationRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
$ret = new DoAuthorizationResponseType();
- $resp = $this->call('PayPalAPIAA', 'DoAuthorization', $doAuthorizationReq, $apiCredential);
+ $resp = $this->call('PayPalAPIAA', 'DoAuthorization', $doAuthorizationReq, $apiContext, $handlers);
+ $ret->init(PPUtils::xmlToArray($resp));
+ return $ret;
+ }
+
+
+ /**
+ * Service Call: UpdateAuthorization
+ * @param UpdateAuthorizationReq $updateAuthorizationReq
+ * @param mixed $apiCredential - Optional API credential - can either be
+ * a username configured in sdk_config.ini or a ICredential object
+ * created dynamically
+ * @return UpdateAuthorizationResponseType
+ * @throws APIException
+ */
+ public function UpdateAuthorization($updateAuthorizationReq, $apiCredential = NULL) {
+ $this->setStandardParams($updateAuthorizationReq->UpdateAuthorizationRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
+ $ret = new UpdateAuthorizationResponseType();
+ $resp = $this->call('PayPalAPIAA', 'UpdateAuthorization', $updateAuthorizationReq, $apiContext, $handlers);
$ret->init(PPUtils::xmlToArray($resp));
return $ret;
}
@@ -688,8 +857,12 @@ public function DoAuthorization($doAuthorizationReq, $apiCredential = NULL) {
*/
public function SetCustomerBillingAgreement($setCustomerBillingAgreementReq, $apiCredential = NULL) {
$this->setStandardParams($setCustomerBillingAgreementReq->SetCustomerBillingAgreementRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
$ret = new SetCustomerBillingAgreementResponseType();
- $resp = $this->call('PayPalAPIAA', 'SetCustomerBillingAgreement', $setCustomerBillingAgreementReq, $apiCredential);
+ $resp = $this->call('PayPalAPIAA', 'SetCustomerBillingAgreement', $setCustomerBillingAgreementReq, $apiContext, $handlers);
$ret->init(PPUtils::xmlToArray($resp));
return $ret;
}
@@ -706,8 +879,12 @@ public function SetCustomerBillingAgreement($setCustomerBillingAgreementReq, $ap
*/
public function GetBillingAgreementCustomerDetails($getBillingAgreementCustomerDetailsReq, $apiCredential = NULL) {
$this->setStandardParams($getBillingAgreementCustomerDetailsReq->GetBillingAgreementCustomerDetailsRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
$ret = new GetBillingAgreementCustomerDetailsResponseType();
- $resp = $this->call('PayPalAPIAA', 'GetBillingAgreementCustomerDetails', $getBillingAgreementCustomerDetailsReq, $apiCredential);
+ $resp = $this->call('PayPalAPIAA', 'GetBillingAgreementCustomerDetails', $getBillingAgreementCustomerDetailsReq, $apiContext, $handlers);
$ret->init(PPUtils::xmlToArray($resp));
return $ret;
}
@@ -724,8 +901,12 @@ public function GetBillingAgreementCustomerDetails($getBillingAgreementCustomerD
*/
public function CreateBillingAgreement($createBillingAgreementReq, $apiCredential = NULL) {
$this->setStandardParams($createBillingAgreementReq->CreateBillingAgreementRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
$ret = new CreateBillingAgreementResponseType();
- $resp = $this->call('PayPalAPIAA', 'CreateBillingAgreement', $createBillingAgreementReq, $apiCredential);
+ $resp = $this->call('PayPalAPIAA', 'CreateBillingAgreement', $createBillingAgreementReq, $apiContext, $handlers);
$ret->init(PPUtils::xmlToArray($resp));
return $ret;
}
@@ -742,8 +923,12 @@ public function CreateBillingAgreement($createBillingAgreementReq, $apiCredentia
*/
public function DoReferenceTransaction($doReferenceTransactionReq, $apiCredential = NULL) {
$this->setStandardParams($doReferenceTransactionReq->DoReferenceTransactionRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
$ret = new DoReferenceTransactionResponseType();
- $resp = $this->call('PayPalAPIAA', 'DoReferenceTransaction', $doReferenceTransactionReq, $apiCredential);
+ $resp = $this->call('PayPalAPIAA', 'DoReferenceTransaction', $doReferenceTransactionReq, $apiContext, $handlers);
$ret->init(PPUtils::xmlToArray($resp));
return $ret;
}
@@ -760,8 +945,12 @@ public function DoReferenceTransaction($doReferenceTransactionReq, $apiCredentia
*/
public function DoNonReferencedCredit($doNonReferencedCreditReq, $apiCredential = NULL) {
$this->setStandardParams($doNonReferencedCreditReq->DoNonReferencedCreditRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
$ret = new DoNonReferencedCreditResponseType();
- $resp = $this->call('PayPalAPIAA', 'DoNonReferencedCredit', $doNonReferencedCreditReq, $apiCredential);
+ $resp = $this->call('PayPalAPIAA', 'DoNonReferencedCredit', $doNonReferencedCreditReq, $apiContext, $handlers);
$ret->init(PPUtils::xmlToArray($resp));
return $ret;
}
@@ -778,8 +967,12 @@ public function DoNonReferencedCredit($doNonReferencedCreditReq, $apiCredential
*/
public function DoUATPAuthorization($doUATPAuthorizationReq, $apiCredential = NULL) {
$this->setStandardParams($doUATPAuthorizationReq->DoUATPAuthorizationRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
$ret = new DoUATPAuthorizationResponseType();
- $resp = $this->call('PayPalAPIAA', 'DoUATPAuthorization', $doUATPAuthorizationReq, $apiCredential);
+ $resp = $this->call('PayPalAPIAA', 'DoUATPAuthorization', $doUATPAuthorizationReq, $apiContext, $handlers);
$ret->init(PPUtils::xmlToArray($resp));
return $ret;
}
@@ -796,8 +989,12 @@ public function DoUATPAuthorization($doUATPAuthorizationReq, $apiCredential = NU
*/
public function CreateRecurringPaymentsProfile($createRecurringPaymentsProfileReq, $apiCredential = NULL) {
$this->setStandardParams($createRecurringPaymentsProfileReq->CreateRecurringPaymentsProfileRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
$ret = new CreateRecurringPaymentsProfileResponseType();
- $resp = $this->call('PayPalAPIAA', 'CreateRecurringPaymentsProfile', $createRecurringPaymentsProfileReq, $apiCredential);
+ $resp = $this->call('PayPalAPIAA', 'CreateRecurringPaymentsProfile', $createRecurringPaymentsProfileReq, $apiContext, $handlers);
$ret->init(PPUtils::xmlToArray($resp));
return $ret;
}
@@ -814,8 +1011,12 @@ public function CreateRecurringPaymentsProfile($createRecurringPaymentsProfileRe
*/
public function GetRecurringPaymentsProfileDetails($getRecurringPaymentsProfileDetailsReq, $apiCredential = NULL) {
$this->setStandardParams($getRecurringPaymentsProfileDetailsReq->GetRecurringPaymentsProfileDetailsRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
$ret = new GetRecurringPaymentsProfileDetailsResponseType();
- $resp = $this->call('PayPalAPIAA', 'GetRecurringPaymentsProfileDetails', $getRecurringPaymentsProfileDetailsReq, $apiCredential);
+ $resp = $this->call('PayPalAPIAA', 'GetRecurringPaymentsProfileDetails', $getRecurringPaymentsProfileDetailsReq, $apiContext, $handlers);
$ret->init(PPUtils::xmlToArray($resp));
return $ret;
}
@@ -832,8 +1033,12 @@ public function GetRecurringPaymentsProfileDetails($getRecurringPaymentsProfileD
*/
public function ManageRecurringPaymentsProfileStatus($manageRecurringPaymentsProfileStatusReq, $apiCredential = NULL) {
$this->setStandardParams($manageRecurringPaymentsProfileStatusReq->ManageRecurringPaymentsProfileStatusRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
$ret = new ManageRecurringPaymentsProfileStatusResponseType();
- $resp = $this->call('PayPalAPIAA', 'ManageRecurringPaymentsProfileStatus', $manageRecurringPaymentsProfileStatusReq, $apiCredential);
+ $resp = $this->call('PayPalAPIAA', 'ManageRecurringPaymentsProfileStatus', $manageRecurringPaymentsProfileStatusReq, $apiContext, $handlers);
$ret->init(PPUtils::xmlToArray($resp));
return $ret;
}
@@ -850,8 +1055,12 @@ public function ManageRecurringPaymentsProfileStatus($manageRecurringPaymentsPro
*/
public function BillOutstandingAmount($billOutstandingAmountReq, $apiCredential = NULL) {
$this->setStandardParams($billOutstandingAmountReq->BillOutstandingAmountRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
$ret = new BillOutstandingAmountResponseType();
- $resp = $this->call('PayPalAPIAA', 'BillOutstandingAmount', $billOutstandingAmountReq, $apiCredential);
+ $resp = $this->call('PayPalAPIAA', 'BillOutstandingAmount', $billOutstandingAmountReq, $apiContext, $handlers);
$ret->init(PPUtils::xmlToArray($resp));
return $ret;
}
@@ -868,8 +1077,12 @@ public function BillOutstandingAmount($billOutstandingAmountReq, $apiCredential
*/
public function UpdateRecurringPaymentsProfile($updateRecurringPaymentsProfileReq, $apiCredential = NULL) {
$this->setStandardParams($updateRecurringPaymentsProfileReq->UpdateRecurringPaymentsProfileRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
$ret = new UpdateRecurringPaymentsProfileResponseType();
- $resp = $this->call('PayPalAPIAA', 'UpdateRecurringPaymentsProfile', $updateRecurringPaymentsProfileReq, $apiCredential);
+ $resp = $this->call('PayPalAPIAA', 'UpdateRecurringPaymentsProfile', $updateRecurringPaymentsProfileReq, $apiContext, $handlers);
$ret->init(PPUtils::xmlToArray($resp));
return $ret;
}
@@ -886,8 +1099,12 @@ public function UpdateRecurringPaymentsProfile($updateRecurringPaymentsProfileRe
*/
public function ReverseTransaction($reverseTransactionReq, $apiCredential = NULL) {
$this->setStandardParams($reverseTransactionReq->ReverseTransactionRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
$ret = new ReverseTransactionResponseType();
- $resp = $this->call('PayPalAPIAA', 'ReverseTransaction', $reverseTransactionReq, $apiCredential);
+ $resp = $this->call('PayPalAPIAA', 'ReverseTransaction', $reverseTransactionReq, $apiContext, $handlers);
$ret->init(PPUtils::xmlToArray($resp));
return $ret;
}
@@ -904,8 +1121,12 @@ public function ReverseTransaction($reverseTransactionReq, $apiCredential = NULL
*/
public function ExternalRememberMeOptOut($externalRememberMeOptOutReq, $apiCredential = NULL) {
$this->setStandardParams($externalRememberMeOptOutReq->ExternalRememberMeOptOutRequest);
+ $apiContext = new PPApiContext($this->config);
+ $handlers = array(
+ new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION),
+ );
$ret = new ExternalRememberMeOptOutResponseType();
- $resp = $this->call('PayPalAPIAA', 'ExternalRememberMeOptOut', $externalRememberMeOptOutReq, $apiCredential);
+ $resp = $this->call('PayPalAPIAA', 'ExternalRememberMeOptOut', $externalRememberMeOptOutReq, $apiContext, $handlers);
$ret->init(PPUtils::xmlToArray($resp));
return $ret;
}
diff --git a/samples/AccountAuthentication/GetAuthDetails.html.php b/samples/AccountAuthentication/GetAuthDetails.html.php
index 83c4f3ed..78668f67 100644
--- a/samples/AccountAuthentication/GetAuthDetails.html.php
+++ b/samples/AccountAuthentication/GetAuthDetails.html.php
@@ -8,6 +8,7 @@
?>
+