Initial commit

This commit is contained in:
2019-11-20 07:44:43 +01:00
commit 5bf49c4a81
41188 changed files with 5459177 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
<?php
/**
* Include this file in your application. This file sets up the required classloader based on
* whether you used composer or the custom installer.
*/
//
/*
* @constant PP_CONFIG_PATH required if credentoal and configuration is to be used from a file
* Let the SDK know where the sdk_config.ini file resides.
*/
//define('PP_CONFIG_PATH', dirname(__FILE__));
/*
* use autoloader
*/
if(file_exists( dirname(__FILE__). '/vendor/autoload.php')) {
require dirname(__FILE__).'/vendor/autoload.php';
} else {
require 'PPAutoloader.php';
PPAutoloader::register();
}

View File

@@ -0,0 +1,35 @@
<?php
/**
* 2007-2018 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2018 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
header("Location: ../");
exit;

View File

@@ -0,0 +1,7 @@
<?php
// autoload.php @generated by Composer
require_once __DIR__ . '/composer/autoload_real.php';
return ComposerAutoloaderInitccb655e97acdb013988dae92e0041320::getLoader();

View File

@@ -0,0 +1,445 @@
<?php
/*
* This file is part of Composer.
*
* (c) Nils Adermann <naderman@naderman.de>
* Jordi Boggiano <j.boggiano@seld.be>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Composer\Autoload;
/**
* ClassLoader implements a PSR-0, PSR-4 and classmap class loader.
*
* $loader = new \Composer\Autoload\ClassLoader();
*
* // register classes with namespaces
* $loader->add('Symfony\Component', __DIR__.'/component');
* $loader->add('Symfony', __DIR__.'/framework');
*
* // activate the autoloader
* $loader->register();
*
* // to enable searching the include path (eg. for PEAR packages)
* $loader->setUseIncludePath(true);
*
* In this example, if you try to use a class in the Symfony\Component
* namespace or one of its children (Symfony\Component\Console for instance),
* the autoloader will first look for the class under the component/
* directory, and it will then fallback to the framework/ directory if not
* found before giving up.
*
* This class is loosely based on the Symfony UniversalClassLoader.
*
* @author Fabien Potencier <fabien@symfony.com>
* @author Jordi Boggiano <j.boggiano@seld.be>
* @see http://www.php-fig.org/psr/psr-0/
* @see http://www.php-fig.org/psr/psr-4/
*/
class ClassLoader
{
// PSR-4
private $prefixLengthsPsr4 = array();
private $prefixDirsPsr4 = array();
private $fallbackDirsPsr4 = array();
// PSR-0
private $prefixesPsr0 = array();
private $fallbackDirsPsr0 = array();
private $useIncludePath = false;
private $classMap = array();
private $classMapAuthoritative = false;
private $missingClasses = array();
private $apcuPrefix;
public function getPrefixes()
{
if (!empty($this->prefixesPsr0)) {
return call_user_func_array('array_merge', $this->prefixesPsr0);
}
return array();
}
public function getPrefixesPsr4()
{
return $this->prefixDirsPsr4;
}
public function getFallbackDirs()
{
return $this->fallbackDirsPsr0;
}
public function getFallbackDirsPsr4()
{
return $this->fallbackDirsPsr4;
}
public function getClassMap()
{
return $this->classMap;
}
/**
* @param array $classMap Class to filename map
*/
public function addClassMap(array $classMap)
{
if ($this->classMap) {
$this->classMap = array_merge($this->classMap, $classMap);
} else {
$this->classMap = $classMap;
}
}
/**
* Registers a set of PSR-0 directories for a given prefix, either
* appending or prepending to the ones previously set for this prefix.
*
* @param string $prefix The prefix
* @param array|string $paths The PSR-0 root directories
* @param bool $prepend Whether to prepend the directories
*/
public function add($prefix, $paths, $prepend = false)
{
if (!$prefix) {
if ($prepend) {
$this->fallbackDirsPsr0 = array_merge(
(array) $paths,
$this->fallbackDirsPsr0
);
} else {
$this->fallbackDirsPsr0 = array_merge(
$this->fallbackDirsPsr0,
(array) $paths
);
}
return;
}
$first = $prefix[0];
if (!isset($this->prefixesPsr0[$first][$prefix])) {
$this->prefixesPsr0[$first][$prefix] = (array) $paths;
return;
}
if ($prepend) {
$this->prefixesPsr0[$first][$prefix] = array_merge(
(array) $paths,
$this->prefixesPsr0[$first][$prefix]
);
} else {
$this->prefixesPsr0[$first][$prefix] = array_merge(
$this->prefixesPsr0[$first][$prefix],
(array) $paths
);
}
}
/**
* Registers a set of PSR-4 directories for a given namespace, either
* appending or prepending to the ones previously set for this namespace.
*
* @param string $prefix The prefix/namespace, with trailing '\\'
* @param array|string $paths The PSR-4 base directories
* @param bool $prepend Whether to prepend the directories
*
* @throws \InvalidArgumentException
*/
public function addPsr4($prefix, $paths, $prepend = false)
{
if (!$prefix) {
// Register directories for the root namespace.
if ($prepend) {
$this->fallbackDirsPsr4 = array_merge(
(array) $paths,
$this->fallbackDirsPsr4
);
} else {
$this->fallbackDirsPsr4 = array_merge(
$this->fallbackDirsPsr4,
(array) $paths
);
}
} elseif (!isset($this->prefixDirsPsr4[$prefix])) {
// Register directories for a new namespace.
$length = strlen($prefix);
if ('\\' !== $prefix[$length - 1]) {
throw new \InvalidArgumentException("A non-empty PSR-4 prefix must end with a namespace separator.");
}
$this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length;
$this->prefixDirsPsr4[$prefix] = (array) $paths;
} elseif ($prepend) {
// Prepend directories for an already registered namespace.
$this->prefixDirsPsr4[$prefix] = array_merge(
(array) $paths,
$this->prefixDirsPsr4[$prefix]
);
} else {
// Append directories for an already registered namespace.
$this->prefixDirsPsr4[$prefix] = array_merge(
$this->prefixDirsPsr4[$prefix],
(array) $paths
);
}
}
/**
* Registers a set of PSR-0 directories for a given prefix,
* replacing any others previously set for this prefix.
*
* @param string $prefix The prefix
* @param array|string $paths The PSR-0 base directories
*/
public function set($prefix, $paths)
{
if (!$prefix) {
$this->fallbackDirsPsr0 = (array) $paths;
} else {
$this->prefixesPsr0[$prefix[0]][$prefix] = (array) $paths;
}
}
/**
* Registers a set of PSR-4 directories for a given namespace,
* replacing any others previously set for this namespace.
*
* @param string $prefix The prefix/namespace, with trailing '\\'
* @param array|string $paths The PSR-4 base directories
*
* @throws \InvalidArgumentException
*/
public function setPsr4($prefix, $paths)
{
if (!$prefix) {
$this->fallbackDirsPsr4 = (array) $paths;
} else {
$length = strlen($prefix);
if ('\\' !== $prefix[$length - 1]) {
throw new \InvalidArgumentException("A non-empty PSR-4 prefix must end with a namespace separator.");
}
$this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length;
$this->prefixDirsPsr4[$prefix] = (array) $paths;
}
}
/**
* Turns on searching the include path for class files.
*
* @param bool $useIncludePath
*/
public function setUseIncludePath($useIncludePath)
{
$this->useIncludePath = $useIncludePath;
}
/**
* Can be used to check if the autoloader uses the include path to check
* for classes.
*
* @return bool
*/
public function getUseIncludePath()
{
return $this->useIncludePath;
}
/**
* Turns off searching the prefix and fallback directories for classes
* that have not been registered with the class map.
*
* @param bool $classMapAuthoritative
*/
public function setClassMapAuthoritative($classMapAuthoritative)
{
$this->classMapAuthoritative = $classMapAuthoritative;
}
/**
* Should class lookup fail if not found in the current class map?
*
* @return bool
*/
public function isClassMapAuthoritative()
{
return $this->classMapAuthoritative;
}
/**
* APCu prefix to use to cache found/not-found classes, if the extension is enabled.
*
* @param string|null $apcuPrefix
*/
public function setApcuPrefix($apcuPrefix)
{
$this->apcuPrefix = function_exists('apcu_fetch') && ini_get('apc.enabled') ? $apcuPrefix : null;
}
/**
* The APCu prefix in use, or null if APCu caching is not enabled.
*
* @return string|null
*/
public function getApcuPrefix()
{
return $this->apcuPrefix;
}
/**
* Registers this instance as an autoloader.
*
* @param bool $prepend Whether to prepend the autoloader or not
*/
public function register($prepend = false)
{
spl_autoload_register(array($this, 'loadClass'), true, $prepend);
}
/**
* Unregisters this instance as an autoloader.
*/
public function unregister()
{
spl_autoload_unregister(array($this, 'loadClass'));
}
/**
* Loads the given class or interface.
*
* @param string $class The name of the class
* @return bool|null True if loaded, null otherwise
*/
public function loadClass($class)
{
if ($file = $this->findFile($class)) {
includeFile($file);
return true;
}
}
/**
* Finds the path to the file where the class is defined.
*
* @param string $class The name of the class
*
* @return string|false The path if found, false otherwise
*/
public function findFile($class)
{
// class map lookup
if (isset($this->classMap[$class])) {
return $this->classMap[$class];
}
if ($this->classMapAuthoritative || isset($this->missingClasses[$class])) {
return false;
}
if (null !== $this->apcuPrefix) {
$file = apcu_fetch($this->apcuPrefix.$class, $hit);
if ($hit) {
return $file;
}
}
$file = $this->findFileWithExtension($class, '.php');
// Search for Hack files if we are running on HHVM
if (false === $file && defined('HHVM_VERSION')) {
$file = $this->findFileWithExtension($class, '.hh');
}
if (null !== $this->apcuPrefix) {
apcu_add($this->apcuPrefix.$class, $file);
}
if (false === $file) {
// Remember that this class does not exist.
$this->missingClasses[$class] = true;
}
return $file;
}
private function findFileWithExtension($class, $ext)
{
// PSR-4 lookup
$logicalPathPsr4 = strtr($class, '\\', DIRECTORY_SEPARATOR) . $ext;
$first = $class[0];
if (isset($this->prefixLengthsPsr4[$first])) {
$subPath = $class;
while (false !== $lastPos = strrpos($subPath, '\\')) {
$subPath = substr($subPath, 0, $lastPos);
$search = $subPath.'\\';
if (isset($this->prefixDirsPsr4[$search])) {
foreach ($this->prefixDirsPsr4[$search] as $dir) {
$length = $this->prefixLengthsPsr4[$first][$search];
if (file_exists($file = $dir . DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $length))) {
return $file;
}
}
}
}
}
// PSR-4 fallback dirs
foreach ($this->fallbackDirsPsr4 as $dir) {
if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr4)) {
return $file;
}
}
// PSR-0 lookup
if (false !== $pos = strrpos($class, '\\')) {
// namespaced class name
$logicalPathPsr0 = substr($logicalPathPsr4, 0, $pos + 1)
. strtr(substr($logicalPathPsr4, $pos + 1), '_', DIRECTORY_SEPARATOR);
} else {
// PEAR-like class name
$logicalPathPsr0 = strtr($class, '_', DIRECTORY_SEPARATOR) . $ext;
}
if (isset($this->prefixesPsr0[$first])) {
foreach ($this->prefixesPsr0[$first] as $prefix => $dirs) {
if (0 === strpos($class, $prefix)) {
foreach ($dirs as $dir) {
if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) {
return $file;
}
}
}
}
}
// PSR-0 fallback dirs
foreach ($this->fallbackDirsPsr0 as $dir) {
if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) {
return $file;
}
}
// PSR-0 include paths.
if ($this->useIncludePath && $file = stream_resolve_include_path($logicalPathPsr0)) {
return $file;
}
return false;
}
}
/**
* Scope isolated include.
*
* Prevents access to $this/self from included files.
*/
function includeFile($file)
{
include $file;
}

View File

@@ -0,0 +1,21 @@
Copyright (c) Nils Adermann, Jordi Boggiano
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is furnished
to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

View File

@@ -0,0 +1,9 @@
<?php
// autoload_classmap.php @generated by Composer
$vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(
);

View File

@@ -0,0 +1,16 @@
<?php
// autoload_namespaces.php @generated by Composer
$vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(
'PayPal\\Types' => array($vendorDir . '/paypal/permissions-sdk-php/lib'),
'PayPal\\Service' => array($vendorDir . '/paypal/merchant-sdk-php/lib', $vendorDir . '/paypal/permissions-sdk-php/lib'),
'PayPal\\PayPalAPI' => array($vendorDir . '/paypal/merchant-sdk-php/lib'),
'PayPal\\EnhancedDataTypes' => array($vendorDir . '/paypal/merchant-sdk-php/lib'),
'PayPal\\EBLBaseComponents' => array($vendorDir . '/paypal/merchant-sdk-php/lib'),
'PayPal\\CoreComponentTypes' => array($vendorDir . '/paypal/merchant-sdk-php/lib'),
'PayPal' => array($vendorDir . '/paypal/sdk-core-php/lib'),
);

View File

@@ -0,0 +1,9 @@
<?php
// autoload_psr4.php @generated by Composer
$vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(
);

View File

@@ -0,0 +1,52 @@
<?php
// autoload_real.php @generated by Composer
class ComposerAutoloaderInitccb655e97acdb013988dae92e0041320
{
private static $loader;
public static function loadClassLoader($class)
{
if ('Composer\Autoload\ClassLoader' === $class) {
require __DIR__ . '/ClassLoader.php';
}
}
public static function getLoader()
{
if (null !== self::$loader) {
return self::$loader;
}
spl_autoload_register(array('ComposerAutoloaderInitccb655e97acdb013988dae92e0041320', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
spl_autoload_unregister(array('ComposerAutoloaderInitccb655e97acdb013988dae92e0041320', 'loadClassLoader'));
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
if ($useStaticLoader) {
require_once __DIR__ . '/autoload_static.php';
call_user_func(\Composer\Autoload\ComposerStaticInitccb655e97acdb013988dae92e0041320::getInitializer($loader));
} else {
$map = require __DIR__ . '/autoload_namespaces.php';
foreach ($map as $namespace => $path) {
$loader->set($namespace, $path);
}
$map = require __DIR__ . '/autoload_psr4.php';
foreach ($map as $namespace => $path) {
$loader->setPsr4($namespace, $path);
}
$classMap = require __DIR__ . '/autoload_classmap.php';
if ($classMap) {
$loader->addClassMap($classMap);
}
}
$loader->register(true);
return $loader;
}
}

View File

@@ -0,0 +1,51 @@
<?php
// autoload_static.php @generated by Composer
namespace Composer\Autoload;
class ComposerStaticInitccb655e97acdb013988dae92e0041320
{
public static $prefixesPsr0 = array (
'P' =>
array (
'PayPal\\Types' =>
array (
0 => __DIR__ . '/..' . '/paypal/permissions-sdk-php/lib',
),
'PayPal\\Service' =>
array (
0 => __DIR__ . '/..' . '/paypal/merchant-sdk-php/lib',
1 => __DIR__ . '/..' . '/paypal/permissions-sdk-php/lib',
),
'PayPal\\PayPalAPI' =>
array (
0 => __DIR__ . '/..' . '/paypal/merchant-sdk-php/lib',
),
'PayPal\\EnhancedDataTypes' =>
array (
0 => __DIR__ . '/..' . '/paypal/merchant-sdk-php/lib',
),
'PayPal\\EBLBaseComponents' =>
array (
0 => __DIR__ . '/..' . '/paypal/merchant-sdk-php/lib',
),
'PayPal\\CoreComponentTypes' =>
array (
0 => __DIR__ . '/..' . '/paypal/merchant-sdk-php/lib',
),
'PayPal' =>
array (
0 => __DIR__ . '/..' . '/paypal/sdk-core-php/lib',
),
),
);
public static function getInitializer(ClassLoader $loader)
{
return \Closure::bind(function () use ($loader) {
$loader->prefixesPsr0 = ComposerStaticInitccb655e97acdb013988dae92e0041320::$prefixesPsr0;
}, null, ClassLoader::class);
}
}

View File

@@ -0,0 +1,35 @@
<?php
/**
* 2007-2018 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2018 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
header("Location: ../");
exit;

View File

@@ -0,0 +1,147 @@
[
{
"name": "paypal/sdk-core-php",
"version": "3.3.2",
"version_normalized": "3.3.2.0",
"source": {
"type": "git",
"url": "https://github.com/paypal/sdk-core-php.git",
"reference": "6e4ebde3bc2978f80ddf96441194577f59fe5045"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/paypal/sdk-core-php/zipball/6e4ebde3bc2978f80ddf96441194577f59fe5045",
"reference": "6e4ebde3bc2978f80ddf96441194577f59fe5045",
"shasum": ""
},
"require": {
"ext-curl": "*",
"php": ">=5.3.0"
},
"require-dev": {
"phpunit/phpunit": "3.7.*"
},
"time": "2016-10-25T17:18:46+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {
"psr-0": {
"PayPal": "lib/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"Apache-2.0"
],
"authors": [
{
"name": "PayPal",
"homepage": "https://github.com/paypal/sdk-core-php/contributors"
}
],
"description": "PayPal Core SDK for PHP",
"homepage": "https://github.com/paypal/sdk-core-php",
"keywords": [
"paypal",
"php",
"sdk"
]
},
{
"name": "paypal/merchant-sdk-php",
"version": "v3.12.0",
"version_normalized": "3.12.0.0",
"source": {
"type": "git",
"url": "https://github.com/paypal/merchant-sdk-php.git",
"reference": "f21fe42ad787f98ea5d7186b19e8bec97f1852ed"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/paypal/merchant-sdk-php/zipball/f21fe42ad787f98ea5d7186b19e8bec97f1852ed",
"reference": "f21fe42ad787f98ea5d7186b19e8bec97f1852ed",
"shasum": ""
},
"require": {
"ext-curl": "*",
"paypal/sdk-core-php": "3.*",
"php": ">=5.3.0"
},
"time": "2017-10-10T19:03:05+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {
"psr-0": {
"PayPal\\Service": "lib/",
"PayPal\\CoreComponentTypes": "lib/",
"PayPal\\EBLBaseComponents": "lib/",
"PayPal\\EnhancedDataTypes": "lib/",
"PayPal\\PayPalAPI": "lib/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"Apache-2.0"
],
"authors": [
{
"name": "PayPal",
"homepage": "https://github.com/paypal/merchant-sdk-php/contributors"
}
],
"description": "PayPal Merchant SDK for PHP",
"homepage": "https://developer.paypal.com",
"keywords": [
"paypal",
"php",
"sdk"
]
},
{
"name": "paypal/permissions-sdk-php",
"version": "v3.9.1",
"version_normalized": "3.9.1.0",
"source": {
"type": "git",
"url": "https://github.com/paypal/permissions-sdk-php.git",
"reference": "9f5ac1d6024207ec9ddf3de4abc3b0de2b54ef8b"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/paypal/permissions-sdk-php/zipball/9f5ac1d6024207ec9ddf3de4abc3b0de2b54ef8b",
"reference": "9f5ac1d6024207ec9ddf3de4abc3b0de2b54ef8b",
"shasum": ""
},
"require": {
"ext-curl": "*",
"paypal/sdk-core-php": "3.*",
"php": ">=5.3.0"
},
"time": "2015-12-09T18:01:09+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {
"psr-0": {
"PayPal\\Service": "lib/",
"PayPal\\Types": "lib/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"Apache2"
],
"authors": [
{
"name": "PayPal",
"homepage": "https://github.com/paypal/permissions-sdk-php/contributors"
}
],
"description": "PayPal permission SDK for PHP",
"homepage": "https://developer.paypal.com",
"keywords": [
"paypal",
"php",
"sdk"
]
}
]

View File

@@ -0,0 +1,35 @@
<?php
/**
* 2007-2018 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2018 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
header("Location: ../");
exit;

View File

@@ -0,0 +1,35 @@
<?php
/**
* 2007-2018 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2018 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
header("Location: ../");
exit;

View File

@@ -0,0 +1,45 @@
### CHANGELOG
####Version 3.12.0 - Oct 10, 2017
- Fixes name attribute in EBLBaseComponents. Fixes #136.
- Minor bug fixes.
####Version 3.11.0 - Mar 7, 2017
- Updated stubs for 204 release.
####Version 3.10.0 - Mar 6, 2017
- Add RiskSesionCorrelationId to `DoReferenceTransactionRequestDetailsType`.
####Version 3.9.1 - Dec 9, 2015
- Added TLSv1.2 Endpoint support
####Version 3.9.0 - Sep 22, 2015
- Updated IPN Endpoint
####Version 3.6.106 - August 22, 2013
- Updated stubs.
- Updated samples to showcase dynamic configuration.
You can see source code of this release in github under https://github.com/paypal/merchant-sdk-php/tree/v3.6.106
--------------------------------------------------------------------------------------------------
####Version 3.5.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/v3.5.103
--------------------------------------------------------------------------------------------------
#### Version 3.4.102 - May 20, 2013
- Updating SDK to use NameSpaces, Supported from PHP 5.3 and above
You can see source code of this release in github under https://github.com/paypal/merchant-sdk-php/tree/v3.4.102

View File

@@ -0,0 +1,86 @@
The PayPal SDK is released under the following license:
Copyright (c) 2013-2016 PAYPAL, INC.
SDK LICENSE
NOTICE TO USER: PayPal, Inc. is providing the Software and Documentation for use under the terms of
this Agreement. Any use, reproduction, modification or distribution of the Software or Documentation,
or any derivatives or portions hereof, constitutes your acceptance of this Agreement.
As used in this Agreement, "PayPal" means PayPal, Inc. "Software" means the software code accompanying
this agreement. "Documentation" means the documents, specifications and all other items accompanying
this Agreement other than the Software.
1. LICENSE GRANT Subject to the terms of this Agreement, PayPal hereby grants you a non-exclusive,
worldwide, royalty free license to use, reproduce, prepare derivative works from, publicly display,
publicly perform, distribute and sublicense the Software for any purpose, provided the copyright notice
below appears in a conspicuous location within the source code of the distributed Software and this
license is distributed in the supporting documentation of the Software you distribute. Furthermore,
you must comply with all third party licenses in order to use the third party software contained in the
Software.
Subject to the terms of this Agreement, PayPal hereby grants you a non-exclusive, worldwide, royalty free
license to use, reproduce, publicly display, publicly perform, distribute and sublicense the Documentation
for any purpose. You may not modify the Documentation.
No title to the intellectual property in the Software or Documentation is transferred to you under the
terms of this Agreement. You do not acquire any rights to the Software or the Documentation except as
expressly set forth in this Agreement.
If you choose to distribute the Software in a commercial product, you do so with the understanding that
you agree to defend, indemnify and hold harmless PayPal and its suppliers against any losses, damages and
costs arising from the claims, lawsuits or other legal actions arising out of such distribution. You may
distribute the Software in object code form under your own license, provided that your license agreement:
(a) complies with the terms and conditions of this license agreement;
(b) effectively disclaims all warranties and conditions, express or implied, on behalf of PayPal;
(c) effectively excludes all liability for damages on behalf of PayPal;
(d) states that any provisions that differ from this Agreement are offered by you alone and not PayPal; and
(e) states that the Software is available from you or PayPal and informs licensees how to obtain it in a
reasonable manner on or through a medium customarily used for software exchange.
2. DISCLAIMER OF WARRANTY
PAYPAL LICENSES THE SOFTWARE AND DOCUMENTATION TO YOU ONLY ON AN "AS IS" BASIS WITHOUT WARRANTIES OR CONDITIONS
OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY WARRANTIES OR CONDITIONS OF TITLE,
NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. PAYPAL MAKES NO WARRANTY THAT THE
SOFTWARE OR DOCUMENTATION WILL BE ERROR-FREE. Each user of the Software or Documentation is solely responsible
for determining the appropriateness of using and distributing the Software and Documentation and assumes all
risks associated with its exercise of rights under this Agreement, including but not limited to the risks and
costs of program errors, compliance with applicable laws, damage to or loss of data, programs, or equipment,
and unavailability or interruption of operations. Use of the Software and Documentation is made with the
understanding that PayPal will not provide you with any technical or customer support or maintenance. Some
states or jurisdictions do not allow the exclusion of implied warranties or limitations on how long an implied
warranty may last, so the above limitations may not apply to you. To the extent permissible, any implied
warranties are limited to ninety (90) days.
3. LIMITATION OF LIABILITY
PAYPAL AND ITS SUPPLIERS SHALL NOT BE LIABLE FOR LOSS OR DAMAGE ARISING OUT OF THIS AGREEMENT OR FROM THE USE
OF THE SOFTWARE OR DOCUMENTATION. IN NO EVENT WILL PAYPAL OR ITS SUPPLIERS BE LIABLE TO YOU OR ANY THIRD PARTY
FOR ANY DIRECT, INDIRECT, CONSEQUENTIAL, INCIDENTAL, OR SPECIAL DAMAGES INCLUDING LOST PROFITS, LOST SAVINGS,
COSTS, FEES, OR EXPENSES OF ANY KIND ARISING OUT OF ANY PROVISION OF THIS AGREEMENT OR THE USE OR THE INABILITY
TO USE THE SOFTWARE OR DOCUMENTATION, HOWEVER CAUSED AND UNDER ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
STRICT LIABILITY OR TORT INCLUDING NEGLIGENCE OR OTHERWISE), EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
PAYPAL'S AGGREGATE LIABILITY AND THAT OF ITS SUPPLIERS UNDER OR IN CONNECTION WITH THIS AGREEMENT SHALL BE
LIMITED TO THE AMOUNT PAID BY YOU FOR THE SOFTWARE AND DOCUMENTATION.
4. TRADEMARK USAGE
PayPal is a trademark PayPal, Inc. in the United States and other countries. Such trademarks may not be used
to endorse or promote any product unless expressly permitted under separate agreement with PayPal.
5. TERM
Your rights under this Agreement shall terminate if you fail to comply with any of the material terms or
conditions of this Agreement and do not cure such failure in a reasonable period of time after becoming
aware of such noncompliance. If all your rights under this Agreement terminate, you agree to cease use
and distribution of the Software and Documentation as soon as reasonably practicable.
6. GOVERNING LAW AND JURISDICTION. This Agreement is governed by the statutes and laws of the State of
California, without regard to the conflicts of law principles thereof. If any part of this Agreement is
found void and unenforceable, it will not affect the validity of the balance of the Agreement, which shall
remain valid and enforceable according to its terms. Any dispute arising out of or related to this Agreement
shall be brought in the courts of Santa Clara County, California, USA.

View File

@@ -0,0 +1,159 @@
# PayPal PHP Merchant SDK
The merchant SDK can be used for integrating with the Express Checkout, Mass Pay, Web Payments Pro APIs.
## TLSv1.2 Update
> **The Payment Card Industry (PCI) Council has [mandated](http://blog.pcisecuritystandards.org/migrating-from-ssl-and-early-tls) that early versions of TLS be retired from service. All organizations that handle credit card information are required to comply with this standard. As part of this obligation, PayPal is updating its services to require TLS 1.2 for all HTTPS connections. At this time, PayPal will also require HTTP/1.1 for all connections. [Click here](https://github.com/paypal/tls-update) for more information**
> A new `mode` has been created to test if your server/machine handles TLSv1.2 connections. Please use `tls` mode instead of `sandbox` to verify. You can return back to `sandbox` mode once you have verified. Please have a look at this [Sample Configuration](https://github.com/paypal/merchant-sdk-php/blob/master/samples/Configuration.php#L10-15).
## POODLE Update
- Because of the Poodle vulnerability, PayPal has disabled SSLv3.
- To enable TLS encryption, the changes were made to [PPHttpConfig.php](https://github.com/paypal/sdk-core-php/blob/master/lib/PayPal/Core/PPHttpConfig.php#L11) in [SDK Core](https://github.com/paypal/sdk-core-php/tree/master) to use a cipher list specific to TLS encryption.
``` php
/**
* Some default options for curl
* These are typically overridden by PPConnectionManager
*/
public static $DEFAULT_CURL_OPTS = array(
CURLOPT_SSLVERSION => 1,
CURLOPT_CONNECTTIMEOUT => 10,
CURLOPT_RETURNTRANSFER => TRUE,
CURLOPT_TIMEOUT => 60, // maximum number of seconds to allow cURL functions to execute
CURLOPT_USERAGENT => 'PayPal-PHP-SDK',
CURLOPT_HTTPHEADER => array(),
CURLOPT_SSL_VERIFYHOST => 2,
CURLOPT_SSL_VERIFYPEER => 1,
CURLOPT_SSL_CIPHER_LIST => 'TLSv1',
);
```
- There are two primary changes done to curl options:
- CURLOPT_SSLVERSION is set to 1 . See [here](http://curl.haxx.se/libcurl/c/CURLOPT_SSLVERSION.html) for more information
- CURLOPT_SSL_CIPHER_LIST was set to TLSv1, See [here](http://curl.haxx.se/libcurl/c/CURLOPT_SSL_CIPHER_LIST.html) for more information
All these changes are included in the recent release, along with many other bug fixes.
## Prerequisites
PayPal's PHP Merchant SDK requires
* PHP 5.3 and above
* curl/openssl PHP extensions
## Running the sample
To run the bundled sample, first copy the samples folder to your web server root. You will then need to install the SDK as a dependency using composer (PHP V5.3+ only).
## Using the SDK
To use the SDK,
* Create a `composer.json` file with the following contents.
```json
{
"name": "me/shopping-cart-app",
"require": {
"paypal/merchant-sdk-php":"3.8.*"
}
}
```
* Install the SDK as a dependency using `composer`. To download `composer`, follow [installation instructions](https://getcomposer.org/download/) provided in Composer documentation.
* Require `PPBootStrap.php` in your application.
* Choose how you would like to configure the SDK - You can either
* 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(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);
$setECReqType = new SetExpressCheckoutRequestType();
$setECReqType->SetExpressCheckoutRequestDetails = $setECReqDetails;
// Create request
$setECReq = new SetExpressCheckoutReq();
$setECReq->SetExpressCheckoutRequest = $setECReqType;
......
// Perform request
$paypalService = new PayPalAPIInterfaceServiceService($config);
$setECResponse = $paypalService->SetExpressCheckout($setECReq);
// Check results
if(strtoupper($setECResponse->Ack) == 'SUCCESS') {
// Success
}
```
## Authentication
The SDK provides multiple ways to authenticate your API call.
```php
$paypalService = new PayPalAPIInterfaceServiceService($config);
// Use the default account (the first account) configured in sdk_config.ini
$response = $paypalService->SetExpressCheckout($setECReq);
// Use a specific account configured in sdk_config.ini
$response = $paypalService->SetExpressCheckout($setECReq, 'jb-us-seller_api1.paypal.com');
// Pass in a dynamically created API credential object
$cred = new PPCertificateCredential("username", "password", "path-to-pem-file");
$cred->setThirdPartyAuthorization(new PPTokenAuthorization("accessToken", "tokenSecret"));
$response = $paypalService->SetExpressCheckout($setECReq, $cred);
```
## SDK Configuration
The SDK allows you to configure the following parameters-
* Integration mode (sandbox / live)
* (Multiple) API account credentials.
* HTTP connection parameters
* Logging
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',
'acct1.UserName' => 'jb-us-seller_api1.paypal.com',
'acct1.Password' => 'WX4WTU3S8MY44S7F'
.....
);
$service = new PayPalAPIInterfaceServiceService($config);
```
Alternatively, you can configure the SDK via the sdk_config.ini 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.
## Instant Payment Notification (IPN)
Please refer to the IPN-README in 'samples/IPN' directory.
## 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

View File

@@ -0,0 +1,35 @@
<?php
/**
* 2007-2018 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2018 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
header("Location: ../");
exit;

View File

@@ -0,0 +1,46 @@
<?php
namespace PayPal\CoreComponentTypes;
use PayPal\Core\PPXmlMessage;
/**
* @hasAttribute
* On requests, you must set the currencyID attribute to one of
* the three-character currency codes for any of the supported
* PayPal currencies. 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
* (,).
*/
class BasicAmountType
extends PPXmlMessage
{
/**
*
* @access public
* @namespace cc
* @attribute
* @var string
*/
public $currencyID;
/**
*
* @access public
* @namespace cc
* @value
* @var string
*/
public $value;
/**
* Constructor with arguments
*/
public function __construct($currencyID = null, $value = null)
{
$this->currencyID = $currencyID;
$this->value = $value;
}
}

View File

@@ -0,0 +1,41 @@
<?php
namespace PayPal\CoreComponentTypes;
use PayPal\Core\PPXmlMessage;
/**
* @hasAttribute
*
*/
class MeasureType
extends PPXmlMessage
{
/**
*
* @access public
* @namespace cc
* @attribute
* @var string
*/
public $unit;
/**
*
* @access public
* @namespace cc
* @value
* @var double
*/
public $value;
/**
* Constructor with arguments
*/
public function __construct($unit = null, $value = null)
{
$this->unit = $unit;
$this->value = $value;
}
}

View File

@@ -0,0 +1,35 @@
<?php
/**
* 2007-2018 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2018 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
header("Location: ../");
exit;

View File

@@ -0,0 +1,63 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
* APICredentialsType
*/
class APICredentialsType
extends PPXmlMessage
{
/**
* Merchantâs PayPal API usernameCharacter length and
* limitations: 128 alphanumeric characters
* @access public
* @namespace ebl
* @var string
*/
public $Username;
/**
* Merchantâs PayPal API passwordCharacter length and
* limitations: 40 alphanumeric characters
* @access public
* @namespace ebl
* @var string
*/
public $Password;
/**
* Merchantâs PayPal API signature, if one exists. Character
* length and limitations: 256 alphanumeric characters
* @access public
* @namespace ebl
* @var string
*/
public $Signature;
/**
* Merchantâs PayPal API certificate in PEM format, if one
* exists The certificate consists of two parts: the private
* key (2,048 bytes) and the certificate proper (4,000 bytes).
* Character length and limitations: 6,048 alphanumeric
* characters
* @access public
* @namespace ebl
* @var string
*/
public $Certificate;
/**
* Merchantâs PayPal API authentication mechanism. Auth-None:
* no authentication mechanism on file Cert: API certificate
* Sign: API signature Character length and limitations: 9
* alphanumeric characters
* @access public
* @namespace ebl
* @var string
*/
public $Type;
}

View File

@@ -0,0 +1,45 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
* Base type definition of request payload that can carry any
* type of payload content with optional versioning information
* and detail level requirements.
*/
class AbstractRequestType
extends PPXmlMessage
{
/**
* This specifies the required detail level that is needed by a
* client application pertaining to a particular data component
* (e.g., Item, Transaction, etc.). The detail level is
* specified in the DetailLevelCodeType which has all the
* enumerated values of the detail level for each component.
* @array
* @access public
* @namespace ebl
* @var string
*/
public $DetailLevel;
/**
* This should be the standard RFC 3066 language identification
* tag, e.g., en_US.
* @access public
* @namespace ebl
* @var string
*/
public $ErrorLanguage;
/**
* This refers to the version of the request payload schema.
* @access public
* @namespace ebl
* @var string
*/
public $Version;
}

View File

@@ -0,0 +1,71 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
* Base type definition of a response payload that can carry
* any type of payload content with following optional
* elements: - timestamp of response message, - application
* level acknowledgement, and - application-level errors and
* warnings.
*/
class AbstractResponseType
extends PPXmlMessage
{
/**
* This value represents the date and time (GMT) when the
* response was generated by a service provider (as a result of
* processing of a request).
* @access public
* @namespace ebl
* @var string DateTime in ISO8601
*/
public $Timestamp;
/**
* Application level acknowledgement code.
* @access public
* @namespace ebl
* @var string
*/
public $Ack;
/**
* CorrelationID may be used optionally with an application
* level acknowledgement.
* @access public
* @namespace ebl
* @var string
*/
public $CorrelationID;
/**
*
* @array
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\ErrorType
*/
public $Errors;
/**
* This refers to the version of the response payload schema.
* @access public
* @namespace ebl
* @var string
*/
public $Version;
/**
* This refers to the specific software build that was used in
* the deployment for processing the request and generating the
* response.
* @access public
* @namespace ebl
* @var string
*/
public $Build;
}

View File

@@ -0,0 +1,37 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
*
*/
class ActivationDetailsType
extends PPXmlMessage
{
/**
*
* @access public
* @namespace ebl
* @var \PayPal\CoreComponentTypes\BasicAmountType
*/
public $InitialAmount;
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $FailedInitialAmountAction;
/**
* Constructor with arguments
*/
public function __construct($InitialAmount = null)
{
$this->InitialAmount = $InitialAmount;
}
}

View File

@@ -0,0 +1,29 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
*
*/
class AdditionalFeeType
extends PPXmlMessage
{
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $Type;
/**
*
* @access public
* @namespace ebl
* @var \PayPal\CoreComponentTypes\BasicAmountType
*/
public $Amount;
}

View File

@@ -0,0 +1,213 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
* Person's name associated with this address. Character length
* and limitations: 32 single-byte alphanumeric characters
*/
class AddressType
extends PPXmlMessage
{
/**
* Person's name associated with this address. Character length
* and limitations: 32 single-byte alphanumeric characters
* @access public
* @namespace ebl
* @var string
*/
public $Name;
/**
* First street address. Character length and limitations: 300
* single-byte alphanumeric characters
* @access public
* @namespace ebl
* @var string
*/
public $Street1;
/**
* Second street address. Character length and limitations: 300
* single-byte alphanumeric characters
* @access public
* @namespace ebl
* @var string
*/
public $Street2;
/**
* Name of city. Character length and limitations: 120
* single-byte alphanumeric characters
* @access public
* @namespace ebl
* @var string
*/
public $CityName;
/**
* State or province. Character length and limitations: 120
* single-byte alphanumeric characters For Canada and the USA,
* StateOrProvince must be the standard 2-character
* abbreviation of a state or province. Canadian Provinces
* Alberta AB British_Columbia BC Manitoba MB New_Brunswick NB
* Newfoundland NF Northwest_Territories NT Nova_Scotia NS
* Nunavut NU Ontario ON Prince_Edward_Island PE Quebec QC
* Saskatchewan SK Yukon YK United States Alabama AL Alaska AK
* American_Samoa AS Arizona AZ Arkansas AR California CA
* Colorado CO Connecticut CT Delaware DE District_Of_Columbia
* DC Federated_States_Of_Micronesia FM Florida FL Georgia GA
* Guam GU Hawaii HI Idaho ID Illinois IL Indiana IN Iowa IA
* Kansas KS Kentucky KY Louisiana LA Maine ME Marshall_Islands
* MH Maryland MD Massachusetts MA Michigan MI Minnesota MN
* Mississippi MS Missouri MO Montana MT Nebraska NE Nevada NV
* New_Hampshire NH New_Jersey NJ New_Mexico NM New_York NY
* North_Carolina NC North_Dakota ND Northern_Mariana_Islands
* MP Ohio OH Oklahoma OK Oregon OR Palau PW Pennsylvania PA
* Puerto_Rico PR Rhode_Island RI South_Carolina SC
* South_Dakota SD Tennessee TN Texas TX Utah UT Vermont VT
* Virgin_Islands VI Virginia VA Washington WA West_Virginia WV
* Wisconsin WI Wyoming WY Armed_Forces_Americas AA
* Armed_Forces AE Armed_Forces_Pacific AP
* @access public
* @namespace ebl
* @var string
*/
public $StateOrProvince;
/**
* ISO 3166 standard country code Character limit: Two
* single-byte characters.
* @access public
* @namespace ebl
* @var string
*/
public $Country;
/**
* IMPORTANT: Do not set this element for SetExpressCheckout,
* DoExpressCheckoutPayment, DoDirectPayment,
* CreateRecurringPaymentsProfile or
* UpdateRecurringPaymentsProfile. This element should only be
* used in response elements and typically should not be used
* in creating request messages which specify the name of a
* country using the Country element (which refers to a
* 2-letter country code).
* @access public
* @namespace ebl
* @var string
*/
public $CountryName;
/**
* Telephone number associated with this address
* @access public
* @namespace ebl
* @var string
*/
public $Phone;
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $PostalCode;
/**
* IMPORTANT: Do not set this element for SetExpressCheckout,
* DoExpressCheckoutPayment, DoDirectPayment,
* CreateRecurringPaymentsProfile, or
* UpdateRecurringPaymentsProfile.
* @access public
* @namespace ebl
* @var string
*/
public $AddressID;
/**
* IMPORTANT: Do not set this element for SetExpressCheckout,
* DoExpressCheckoutPayment, DoDirectPayment,
* CreateRecurringPaymentsProfile or
* UpdateRecurringPaymentsProfile.
* @access public
* @namespace ebl
* @var string
*/
public $AddressOwner;
/**
* IMPORTANT: Do not set this element for SetExpressCheckout,
* DoExpressCheckoutPayment, DoDirectPayment,
* CreateRecurringPaymentsProfile or
* UpdateRecurringPaymentsProfile.
* @access public
* @namespace ebl
* @var string
*/
public $ExternalAddressID;
/**
* IMPORTANT: Do not set this element for SetExpressCheckout,
* DoExpressCheckoutPayment, DoDirectPayment,
* CreateRecurringPaymentsProfile or
* UpdateRecurringPaymentsProfile. Only applicable to
* SellerPaymentAddress today. Seller's international name that
* is associated with the payment address.
* @access public
* @namespace ebl
* @var string
*/
public $InternationalName;
/**
* IMPORTANT: Do not set this element for SetExpressCheckout,
* DoExpressCheckoutPayment, DoDirectPayment,
* CreateRecurringPaymentsProfile or
* UpdateRecurringPaymentsProfile. Only applicable to
* SellerPaymentAddress today. International state and city for
* the seller's payment address.
* @access public
* @namespace ebl
* @var string
*/
public $InternationalStateAndCity;
/**
* IMPORTANT: Do not set this element for SetExpressCheckout,
* DoExpressCheckoutPayment, DoDirectPayment,
* CreateRecurringPaymentsProfile or
* UpdateRecurringPaymentsProfile. Only applicable to
* SellerPaymentAddress today. Seller's international street
* address that is associated with the payment address.
* @access public
* @namespace ebl
* @var string
*/
public $InternationalStreet;
/**
* Status of the address on file with PayPal. IMPORTANT: Do not
* set this element for SetExpressCheckout,
* DoExpressCheckoutPayment, DoDirectPayment,
* CreateRecurringPaymentsProfile or
* UpdateRecurringPaymentsProfile.
* @access public
* @namespace ebl
* @var string
*/
public $AddressStatus;
/**
* Returns Normalization Status of the Address. Possible values
* are Normalized, Unnormalized, and None.
* @access public
* @namespace ebl
* @var string
*/
public $AddressNormalizationStatus;
}

View File

@@ -0,0 +1,126 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
* AID for Airlines
*/
class AirlineItineraryType
extends PPXmlMessage
{
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $PassengerName;
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $IssueDate;
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $TravelAgencyName;
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $TravelAgencyCode;
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $TicketNumber;
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $IssuingCarrierCode;
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $CustomerCode;
/**
*
* @access public
* @namespace ebl
* @var \PayPal\CoreComponentTypes\BasicAmountType
*/
public $TotalFare;
/**
*
* @access public
* @namespace ebl
* @var \PayPal\CoreComponentTypes\BasicAmountType
*/
public $TotalTaxes;
/**
*
* @access public
* @namespace ebl
* @var \PayPal\CoreComponentTypes\BasicAmountType
*/
public $TotalFee;
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $RestrictedTicket;
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $ClearingSequence;
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $ClearingCount;
/**
*
* @array
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\FlightDetailsType
*/
public $FlightDetails;
}

View File

@@ -0,0 +1,39 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
* @hasAttribute
* AuctionInfoType Basic information about an auction.
*/
class AuctionInfoType
extends PPXmlMessage
{
/**
* Customer's auction ID
* @access public
* @namespace ebl
* @var string
*/
public $BuyerID;
/**
* Auction's close date
* @access public
* @namespace ebl
* @var string DateTime in ISO8601
*/
public $ClosingDate;
/**
*
* @access public
* @namespace ebl
* @attribute
* @var string
*/
public $multiItem;
}

View File

@@ -0,0 +1,75 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
* Authorization details
*/
class AuthorizationInfoType
extends PPXmlMessage
{
/**
* The status of the payment: Pending: The payment is pending.
* See "PendingReason" for more information.
* @access public
* @namespace ebl
* @var string
*/
public $PaymentStatus;
/**
* The reason the payment is pending:none: No pending reason
* address: The payment is pending because your customer did
* not include a confirmed shipping address and your Payment
* Receiving Preferences is set such that you want to manually
* accept or deny each of these payments. To change your
* preference, go to the Preferences section of your Profile.
* authorization: The authorization is pending at time of
* creation if payment is not under review echeck: The payment
* is pending because it was made by an eCheck that has not yet
* cleared. intl: The payment is pending because you hold a
* non-U.S. account and do not have a withdrawal mechanism. You
* must manually accept or deny this payment from your Account
* Overview. multi-currency: You do not have a balance in the
* currency sent, and you do not have your Payment Receiving
* Preferences set to automatically convert and accept this
* payment. You must manually accept or deny this payment.
* unilateral: The payment is pending because it was made to an
* email address that is not yet registered or confirmed.
* upgrade: The payment is pending because it was made via
* credit card and you must upgrade your account to Business or
* Premier status in order to receive the funds. upgrade can
* also mean that you have reached the monthly limit for
* transactions on your account. verify: The payment is pending
* because you are not yet verified. You must verify your
* account before you can accept this payment. payment_review:
* The payment is pending because it is under payment review.
* other: The payment is pending for a reason other than those
* listed above. For more information, contact PayPal Customer
* Service.
* @access public
* @namespace ebl
* @var string
*/
public $PendingReason;
/**
* Protection Eligibility for this Transaction - None, SPP or
* ESPP
* @access public
* @namespace ebl
* @var string
*/
public $ProtectionEligibility;
/**
* Protection Eligibility Type for this Transaction
* @access public
* @namespace ebl
* @var string
*/
public $ProtectionEligibilityType;
}

View File

@@ -0,0 +1,29 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
*
*/
class AuthorizationRequestType
extends PPXmlMessage
{
/**
*
* @access public
* @namespace ebl
* @var boolean
*/
public $IsRequested;
/**
* Constructor with arguments
*/
public function __construct($IsRequested = null)
{
$this->IsRequested = $IsRequested;
}
}

View File

@@ -0,0 +1,32 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
* Status will denote whether Auto authorization was successful
* or not.
*/
class AuthorizationResponseType
extends PPXmlMessage
{
/**
* Status will denote whether Auto authorization was successful
* or not.
* @access public
* @namespace ebl
* @var string
*/
public $Status;
/**
*
* @array
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\ErrorType
*/
public $AuthorizationError;
}

View File

@@ -0,0 +1,80 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
*
*/
class BAUpdateResponseDetailsType
extends PPXmlMessage
{
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $BillingAgreementID;
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $BillingAgreementDescription;
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $BillingAgreementStatus;
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $BillingAgreementCustom;
/**
*
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\PayerInfoType
*/
public $PayerInfo;
/**
*
* @access public
* @namespace ebl
* @var \PayPal\CoreComponentTypes\BasicAmountType
*/
public $BillingAgreementMax;
/**
* Customer's billing address. Optional If you have credit card
* mapped in your account then billing address of the credit
* card is returned otherwise your primary address is returned
* , PayPal returns this address in BAUpdateResponseDetails.
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\AddressType
*/
public $BillingAddress;
/**
* Information about the Merchant/Agreement Owner
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\PayeeInfoType
*/
public $PayeeInfo;
}

View File

@@ -0,0 +1,21 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
* BMLOfferInfoType Specific information for BML.
*/
class BMLOfferInfoType
extends PPXmlMessage
{
/**
* Unique identification for merchant/buyer/offer combo.
* @access public
* @namespace ebl
* @var string
*/
public $OfferTrackingID;
}

View File

@@ -0,0 +1,48 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
* BankAccountDetailsType
*/
class BankAccountDetailsType
extends PPXmlMessage
{
/**
* Name of bank Character length and limitations: 192
* alphanumeric characters
* @access public
* @namespace ebl
* @var string
*/
public $Name;
/**
* Type of bank account: Checking or Savings
* @access public
* @namespace ebl
* @var string
*/
public $Type;
/**
* Merchantâs bank routing number Character length and
* limitations: 23 alphanumeric characters
* @access public
* @namespace ebl
* @var string
*/
public $RoutingNumber;
/**
* Merchantâs bank account number Character length and
* limitations: 256 alphanumeric characters
* @access public
* @namespace ebl
* @var string
*/
public $AccountNumber;
}

View File

@@ -0,0 +1,45 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
*
*/
class BillOutstandingAmountRequestDetailsType
extends PPXmlMessage
{
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $ProfileID;
/**
*
* @access public
* @namespace ebl
* @var \PayPal\CoreComponentTypes\BasicAmountType
*/
public $Amount;
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $Note;
/**
* Constructor with arguments
*/
public function __construct($ProfileID = null)
{
$this->ProfileID = $ProfileID;
}
}

View File

@@ -0,0 +1,21 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
*
*/
class BillOutstandingAmountResponseDetailsType
extends PPXmlMessage
{
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $ProfileID;
}

View File

@@ -0,0 +1,53 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
*
*/
class BillingAgreementDetailsType
extends PPXmlMessage
{
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $BillingType;
/**
* Only needed for AutoBill billinng type.
* @access public
* @namespace ebl
* @var string
*/
public $BillingAgreementDescription;
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $PaymentType;
/**
* Custom annotation field for your exclusive use.
* @access public
* @namespace ebl
* @var string
*/
public $BillingAgreementCustom;
/**
* Constructor with arguments
*/
public function __construct($BillingType = null)
{
$this->BillingType = $BillingType;
}
}

View File

@@ -0,0 +1,65 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
* The Type of Approval requested - Billing Agreement or
* Profile
*/
class BillingApprovalDetailsType
extends PPXmlMessage
{
/**
* The Type of Approval requested - Billing Agreement or
* Profile
* @access public
* @namespace ebl
* @var string
*/
public $ApprovalType;
/**
* The Approval subtype - Must be MerchantInitiatedBilling for
* BillingAgreement ApprovalType
* @access public
* @namespace ebl
* @var string
*/
public $ApprovalSubType;
/**
* Description about the Order
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\OrderDetailsType
*/
public $OrderDetails;
/**
* Directives about the type of payment
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\PaymentDirectivesType
*/
public $PaymentDirectives;
/**
* Client may pass in its identification of this Billing
* Agreement. It used for the client's tracking purposes.
* @access public
* @namespace ebl
* @var string
*/
public $Custom;
/**
* Constructor with arguments
*/
public function __construct($ApprovalType = null)
{
$this->ApprovalType = $ApprovalType;
}
}

View File

@@ -0,0 +1,71 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
* Unit of meausre for billing cycle
*/
class BillingPeriodDetailsType
extends PPXmlMessage
{
/**
* Unit of meausre for billing cycle
* @access public
* @namespace ebl
* @var string
*/
public $BillingPeriod;
/**
* Number of BillingPeriod that make up one billing cycle
* @access public
* @namespace ebl
* @var integer
*/
public $BillingFrequency;
/**
* Total billing cycles in this portion of the schedule
* @access public
* @namespace ebl
* @var integer
*/
public $TotalBillingCycles;
/**
* Amount to charge
* @access public
* @namespace ebl
* @var \PayPal\CoreComponentTypes\BasicAmountType
*/
public $Amount;
/**
* Additional shipping amount to charge
* @access public
* @namespace ebl
* @var \PayPal\CoreComponentTypes\BasicAmountType
*/
public $ShippingAmount;
/**
* Additional tax amount to charge
* @access public
* @namespace ebl
* @var \PayPal\CoreComponentTypes\BasicAmountType
*/
public $TaxAmount;
/**
* Constructor with arguments
*/
public function __construct($BillingPeriod = null, $BillingFrequency = null, $Amount = null)
{
$this->BillingPeriod = $BillingPeriod;
$this->BillingFrequency = $BillingFrequency;
$this->Amount = $Amount;
}
}

View File

@@ -0,0 +1,61 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
* Unit of meausre for billing cycle
*/
class BillingPeriodDetailsType_Update
extends PPXmlMessage
{
/**
* Unit of meausre for billing cycle
* @access public
* @namespace ebl
* @var string
*/
public $BillingPeriod;
/**
* Number of BillingPeriod that make up one billing cycle
* @access public
* @namespace ebl
* @var integer
*/
public $BillingFrequency;
/**
* Total billing cycles in this portion of the schedule
* @access public
* @namespace ebl
* @var integer
*/
public $TotalBillingCycles;
/**
* Amount to charge
* @access public
* @namespace ebl
* @var \PayPal\CoreComponentTypes\BasicAmountType
*/
public $Amount;
/**
* Additional shipping amount to charge
* @access public
* @namespace ebl
* @var \PayPal\CoreComponentTypes\BasicAmountType
*/
public $ShippingAmount;
/**
* Additional tax amount to charge
* @access public
* @namespace ebl
* @var \PayPal\CoreComponentTypes\BasicAmountType
*/
public $TaxAmount;
}

View File

@@ -0,0 +1,156 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
* BusinessInfoType
*/
class BusinessInfoType
extends PPXmlMessage
{
/**
* Type of business, such as corporation or sole proprietorship
* @access public
* @namespace ebl
* @var string
*/
public $Type;
/**
* Official name of business Character length and limitations:
* 75 alphanumeric characters
* @access public
* @namespace ebl
* @var string
*/
public $Name;
/**
* Merchantâs business postal address
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\AddressType
*/
public $Address;
/**
* Businessâs primary telephone number Character length and
* limitations: 20 alphanumeric characters
* @access public
* @namespace ebl
* @var string
*/
public $WorkPhone;
/**
* Line of business, as defined in the enumerations
* @access public
* @namespace ebl
* @var string
*/
public $Category;
/**
* Business sub-category, as defined in the enumerations
* @access public
* @namespace ebl
* @var string
*/
public $SubCategory;
/**
* Average transaction price, as defined by the enumerations.
* Enumeration Meaning AverageTransactionPrice-Not-Applicable
* AverageTransactionPrice-Range1 Less than $25 USD
* AverageTransactionPrice-Range2 $25 USD to $50 USD
* AverageTransactionPrice-Range3 $50 USD to $100 USD
* AverageTransactionPrice-Range4 $100 USD to $250 USD
* AverageTransactionPrice-Range5 $250 USD to $500 USD
* AverageTransactionPrice-Range6 $500 USD to $1,000 USD
* AverageTransactionPrice-Range7 $1,000 USD to $2,000 USD
* AverageTransactionPrice-Range8 $2,000 USD to $5,000 USD
* AverageTransactionPrice-Range9 $5,000 USD to $10,000 USD
* AverageTransactionPrice-Range10 More than $10,000 USD
* @access public
* @namespace ebl
* @var string
*/
public $AveragePrice;
/**
* Average monthly sales volume, as defined by the
* enumerations. Enumeration Meaning
* AverageMonthlyVolume-Not-Applicable
* AverageMonthlyVolume-Range1 Less than $1,000 USD
* AverageMonthlyVolume-Range2 $1,000 USD to $5,000 USD
* AverageMonthlyVolume-Range3 $5,000 USD to $25,000 USD
* AverageMonthlyVolume-Range4 $25,000 USD to $100,000 USD
* AverageMonthlyVolume-Range5 $100,000 USD to $1,000,000 USD
* AverageMonthlyVolume-Range6 More than $1,000,000 USD
* @access public
* @namespace ebl
* @var string
*/
public $AverageMonthlyVolume;
/**
* Main sales venue, such as eBay
* @access public
* @namespace ebl
* @var string
*/
public $SalesVenue;
/**
* Primary URL of business Character length and limitations:
* 2,048 alphanumeric characters
* @access public
* @namespace ebl
* @var string
*/
public $Website;
/**
* Percentage of revenue attributable to online sales, as
* defined by the enumerations Enumeration Meaning
* PercentageRevenueFromOnlineSales-Not-Applicable
* PercentageRevenueFromOnlineSales-Range1 Less than 25%
* PercentageRevenueFromOnlineSales-Range2 25% to 50%
* PercentageRevenueFromOnlineSales-Range3 50% to 75%
* PercentageRevenueFromOnlineSales-Range4 75% to 100%
* @access public
* @namespace ebl
* @var string
*/
public $RevenueFromOnlineSales;
/**
* Date the merchantâs business was established
* @access public
* @namespace ebl
* @var string DateTime in ISO8601
*/
public $BusinessEstablished;
/**
* Email address to contact businessâs customer service
* Character length and limitations: 127 alphanumeric
* characters
* @access public
* @namespace ebl
* @var string
*/
public $CustomerServiceEmail;
/**
* Telephone number to contact businessâs customer service
* Character length and limitations: 32 alphanumeric characters
* @access public
* @namespace ebl
* @var string
*/
public $CustomerServicePhone;
}

View File

@@ -0,0 +1,48 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
* BusinessOwnerInfoType
*/
class BusinessOwnerInfoType
extends PPXmlMessage
{
/**
* Details about the business owner
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\PayerInfoType
*/
public $Owner;
/**
* Business ownerâs home telephone number Character length and
* limitations: 32 alphanumeric characters
* @access public
* @namespace ebl
* @var string
*/
public $HomePhone;
/**
* Business ownerâs mobile telephone number Character length
* and limitations: 32 alphanumeric characters
* @access public
* @namespace ebl
* @var string
*/
public $MobilePhone;
/**
* Business ownerâs social security number Character length
* and limitations: 9 alphanumeric characters
* @access public
* @namespace ebl
* @var string
*/
public $SSN;
}

View File

@@ -0,0 +1,45 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
*
*/
class ButtonSearchResultType
extends PPXmlMessage
{
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $HostedButtonID;
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $ButtonType;
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $ItemName;
/**
*
* @access public
* @namespace ebl
* @var string DateTime in ISO8601
*/
public $ModifyDate;
}

View File

@@ -0,0 +1,42 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
* Information that is used to indentify the Buyer. This is
* used for auto authorization. Mandatory if Authorization is
* requested.
*/
class BuyerDetailType
extends PPXmlMessage
{
/**
* Information that is used to indentify the Buyer. This is
* used for auto authorization. Mandatory if Authorization is
* requested.
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\IdentificationInfoType
*/
public $IdentificationInfo;
/**
* Correlation id related to risk process done for the device.
* Max length is 36 Chars.
* @access public
* @namespace ebl
* @var string
*/
public $RiskSessionCorrelationID;
/**
* Buyer's IP Address
* @access public
* @namespace ebl
* @var string
*/
public $BuyerIPAddress;
}

View File

@@ -0,0 +1,56 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
* Details about the buyer's account passed in by the merchant
* or partner. Optional.
*/
class BuyerDetailsType
extends PPXmlMessage
{
/**
* The client's unique ID for this user.
* @access public
* @namespace ebl
* @var string
*/
public $BuyerId;
/**
* The user name of the user at the marketplaces site.
* @access public
* @namespace ebl
* @var string
*/
public $BuyerUserName;
/**
* Date when the user registered with the marketplace.
* @access public
* @namespace ebl
* @var string DateTime in ISO8601
*/
public $BuyerRegistrationDate;
/**
* Details about payer's tax info. Refer to the
* TaxIdDetailsType for more details.
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\TaxIdDetailsType
*/
public $TaxIdDetails;
/**
* Contains information that identifies the buyer. e.g. email
* address or the external remember me id.
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\IdentificationInfoType
*/
public $IdentificationInfo;
}

View File

@@ -0,0 +1,46 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
* Defines relationship between buckets
*/
class CoupledBucketsType
extends PPXmlMessage
{
/**
* Relationship Type - LifeTime (default)
* @access public
* @namespace ebl
* @var string
*/
public $CoupleType;
/**
* Identifier for this relation
* @access public
* @namespace ebl
* @var string
*/
public $CoupledPaymentRequestID;
/**
*
* @array
* @access public
* @namespace ebl
* @var string
*/
public $PaymentRequestID;
/**
* Constructor with arguments
*/
public function __construct($PaymentRequestID = null)
{
$this->PaymentRequestID = $PaymentRequestID;
}
}

View File

@@ -0,0 +1,30 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
* Information about Coupled Payment transactions.
*/
class CoupledPaymentInfoType
extends PPXmlMessage
{
/**
* ID received in the Coupled Payment Request
* @access public
* @namespace ebl
* @var string
*/
public $CoupledPaymentRequestID;
/**
* ID that uniquely identifies this CoupledPayment. Generated
* by PP in Response
* @access public
* @namespace ebl
* @var string
*/
public $CoupledPaymentID;
}

View File

@@ -0,0 +1,146 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
* Type of the payment Required
*/
class CreateMobilePaymentRequestDetailsType
extends PPXmlMessage
{
/**
* Type of the payment Required
* @access public
* @namespace ebl
* @var string
*/
public $PaymentType;
/**
* How you want to obtain payment. Defaults to Sale. Optional
* Authorization indicates that this payment is a basic
* authorization subject to settlement with PayPal
* Authorization and Capture. Sale indicates that this is a
* final sale for which you are requesting payment.
* @access public
* @namespace ebl
* @var string
*/
public $PaymentAction;
/**
* Phone number of the user making the payment. Required
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\PhoneNumberType
*/
public $SenderPhone;
/**
* Type of recipient specified, i.e., phone number or email
* address Required
* @access public
* @namespace ebl
* @var string
*/
public $RecipientType;
/**
* Email address of the recipient
* @access public
* @namespace ebl
* @var string
*/
public $RecipientEmail;
/**
* Phone number of the recipipent Required
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\PhoneNumberType
*/
public $RecipientPhone;
/**
* Amount of item before tax and shipping
* @access public
* @namespace ebl
* @var \PayPal\CoreComponentTypes\BasicAmountType
*/
public $ItemAmount;
/**
* The tax charged on the transactionTax Optional
* @access public
* @namespace ebl
* @var \PayPal\CoreComponentTypes\BasicAmountType
*/
public $Tax;
/**
* Per-transaction shipping charge Optional
* @access public
* @namespace ebl
* @var \PayPal\CoreComponentTypes\BasicAmountType
*/
public $Shipping;
/**
* Name of the item being ordered Optional Character length and
* limitations: 255 single-byte alphanumeric characters
* @access public
* @namespace ebl
* @var string
*/
public $ItemName;
/**
* SKU of the item being ordered Optional Character length and
* limitations: 255 single-byte alphanumeric characters
* @access public
* @namespace ebl
* @var string
*/
public $ItemNumber;
/**
* Memo entered by sender in PayPal Website Payments note
* field. Optional Character length and limitations: 255
* single-byte alphanumeric characters
* @access public
* @namespace ebl
* @var string
*/
public $Note;
/**
* Unique ID for the order. Required for non-P2P transactions
* Optional Character length and limitations: 255 single-byte
* alphanumeric characters
* @access public
* @namespace ebl
* @var string
*/
public $CustomID;
/**
* Indicates whether the sender's phone number will be shared
* with recipient Optional
* @access public
* @namespace ebl
* @var integer
*/
public $SharePhoneNumber;
/**
* Indicates whether the sender's home address will be shared
* with recipient Optional
* @access public
* @namespace ebl
* @var integer
*/
public $ShareHomeAddress;
}

View File

@@ -0,0 +1,94 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
* Billing Agreement token (required if Express Checkout)
*/
class CreateRecurringPaymentsProfileRequestDetailsType
extends PPXmlMessage
{
/**
* Billing Agreement token (required if Express Checkout)
* @access public
* @namespace ebl
* @var string
*/
public $Token;
/**
* Information about the credit card to be charged (required if
* Direct Payment)
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\CreditCardDetailsType
*/
public $CreditCard;
/**
* Customer Information for this Recurring Payments
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\RecurringPaymentsProfileDetailsType
*/
public $RecurringPaymentsProfileDetails;
/**
* Schedule Information for this Recurring Payments
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\ScheduleDetailsType
*/
public $ScheduleDetails;
/**
* Information about the Item Details.
* @array
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\PaymentDetailsItemType
*/
public $PaymentDetailsItem;
/**
* Use this optional parameter to pass in your business name
* and other data describing the transaction. Optional This
* information is usually displayed in the CC account holder's
* statement. Example: RedCross Haiti, RedCross Uganda,
* Realtor.com dues, Realtor.com list fee Length 25 characters.
* Alphanumeric characters and dash(-), dot(.), asterisk(*),
* space( ) On the customer's statement, an asterisk is used to
* separate the DBA name and product name. The asterisk
* delimiter can appear in position 4, 8, or 13.
* @access public
* @namespace ebl
* @var string
*/
public $SoftDescriptor;
/**
* Use this optional parameter to pass information about how
* consumer should contact the merchant. Optional This
* information is usually displayed in the CC account holder's
* statement. For Ecom trx: phone, email or URL is allowed For
* Retail trx: only the actual city is allowed For details on
* allowed characters in Soft Descriptor City refer to the API
* documentation.
* @access public
* @namespace ebl
* @var string
*/
public $SoftDescriptorCity;
/**
* Constructor with arguments
*/
public function __construct($RecurringPaymentsProfileDetails = null, $ScheduleDetails = null)
{
$this->RecurringPaymentsProfileDetails = $RecurringPaymentsProfileDetails;
$this->ScheduleDetails = $ScheduleDetails;
}
}

View File

@@ -0,0 +1,61 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
* Recurring Billing Profile ID
*/
class CreateRecurringPaymentsProfileResponseDetailsType
extends PPXmlMessage
{
/**
* Recurring Billing Profile ID
* @access public
* @namespace ebl
* @var string
*/
public $ProfileID;
/**
* Recurring Billing Profile Status
* @access public
* @namespace ebl
* @var string
*/
public $ProfileStatus;
/**
* Transaction id from DCC initial payment
* @access public
* @namespace ebl
* @var string
*/
public $TransactionID;
/**
* Response from DCC initial payment
* @access public
* @namespace ebl
* @var string
*/
public $DCCProcessorResponse;
/**
* Return code if DCC initial payment fails
* @access public
* @namespace ebl
* @var string
*/
public $DCCReturnCode;
/**
* Interchange Plus Pricing pending reason
* @access public
* @namespace ebl
* @var string
*/
public $PendingReason;
}

View File

@@ -0,0 +1,93 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
* CreditCardDetailsType Information about a Credit Card.
*/
class CreditCardDetailsType
extends PPXmlMessage
{
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $CreditCardType;
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $CreditCardNumber;
/**
*
* @access public
* @namespace ebl
* @var integer
*/
public $ExpMonth;
/**
*
* @access public
* @namespace ebl
* @var integer
*/
public $ExpYear;
/**
*
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\PayerInfoType
*/
public $CardOwner;
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $CVV2;
/**
*
* @access public
* @namespace ebl
* @var integer
*/
public $StartMonth;
/**
*
* @access public
* @namespace ebl
* @var integer
*/
public $StartYear;
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $IssueNumber;
/**
*
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\ThreeDSecureRequestType
*/
public $ThreeDSecureRequest;
}

View File

@@ -0,0 +1,29 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
*
*/
class CreditCardNumberTypeType
extends PPXmlMessage
{
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $CreditCardType;
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $CreditCardNumber;
}

View File

@@ -0,0 +1,25 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
* Device ID Optional Character length and limits: 256
* single-byte characters DeviceID length morethan 256 is
* truncated
*/
class DeviceDetailsType
extends PPXmlMessage
{
/**
* Device ID Optional Character length and limits: 256
* single-byte characters DeviceID length morethan 256 is
* truncated
* @access public
* @namespace ebl
* @var string
*/
public $DeviceID;
}

View File

@@ -0,0 +1,65 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
* 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 \PayPal\CoreComponentTypes\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
* @var string
*/
public $RedeemedOfferId;
/**
* (Optional)Loyalty points accrued.
* @access public
* @namespace ebl
* @var double
*/
public $PointsAccrued;
}

View File

@@ -0,0 +1,64 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
* Describes discount information
*/
class DiscountType
extends PPXmlMessage
{
/**
* Item nameOptional Character length and limits: 127
* single-byte characters
* @access public
* @namespace ebl
* @var string
*/
public $Name;
/**
* description of the discountOptional Character length and
* limits: 127 single-byte characters
* @access public
* @namespace ebl
* @var string
*/
public $Description;
/**
* amount discountedOptional
* @access public
* @namespace ebl
* @var \PayPal\CoreComponentTypes\BasicAmountType
*/
public $Amount;
/**
* offer typeOptional
* @access public
* @namespace ebl
* @var string
*/
public $RedeemedOfferType;
/**
* offer IDOptional Character length and limits: 64 single-byte
* characters
* @access public
* @namespace ebl
* @var string
*/
public $RedeemedOfferID;
/**
* Constructor with arguments
*/
public function __construct($Amount = null)
{
$this->Amount = $Amount;
}
}

View File

@@ -0,0 +1,24 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
* Contains elements that allows customization of display (user
* interface) elements.
*/
class DisplayControlDetailsType
extends PPXmlMessage
{
/**
* Optional URL to pay button image for the inline checkout
* flow. Currently applicable only to the inline checkout flow
* when the FlowControlDetails/InlineReturnURL is present.
* @access public
* @namespace ebl
* @var string
*/
public $InContextPaymentButtonImage;
}

View File

@@ -0,0 +1,50 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
* The authorization identification number you specified in the
* request. Character length and limits: 19 single-byte
* characters maximum
*/
class DoCaptureResponseDetailsType
extends PPXmlMessage
{
/**
* The authorization identification number you specified in the
* request. Character length and limits: 19 single-byte
* characters maximum
* @access public
* @namespace ebl
* @var string
*/
public $AuthorizationID;
/**
* Information about the transaction
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\PaymentInfoType
*/
public $PaymentInfo;
/**
* Return msgsubid back to merchant
* @access public
* @namespace ebl
* @var string
*/
public $MsgSubID;
/**
* Partner funding source id corresponding to the FS used in
* authorization.
* @access public
* @namespace ebl
* @var string
*/
public $PartnerFundingSourceID;
}

View File

@@ -0,0 +1,110 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
* How you want to obtain payment. Required Authorization
* indicates that this payment is a basic authorization subject
* to settlement with PayPal Authorization and Capture. Sale
* indicates that this is a final sale for which you are
* requesting payment. NOTE: Order is not allowed for Direct
* Payment. Character length and limit: Up to 13 single-byte
* alphabetic characters
*/
class DoDirectPaymentRequestDetailsType
extends PPXmlMessage
{
/**
* How you want to obtain payment. Required Authorization
* indicates that this payment is a basic authorization subject
* to settlement with PayPal Authorization and Capture. Sale
* indicates that this is a final sale for which you are
* requesting payment. NOTE: Order is not allowed for Direct
* Payment. Character length and limit: Up to 13 single-byte
* alphabetic characters
* @access public
* @namespace ebl
* @var string
*/
public $PaymentAction;
/**
* Information about the payment Required
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\PaymentDetailsType
*/
public $PaymentDetails;
/**
* Information about the credit card to be charged. Required
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\CreditCardDetailsType
*/
public $CreditCard;
/**
* IP address of the payer's browser as recorded in its HTTP
* request to your website. PayPal records this IP addresses as
* a means to detect possible fraud. Required Character length
* and limitations: 15 single-byte characters, including
* periods, in dotted-quad format: ???.???.???.???
* @access public
* @namespace ebl
* @var string
*/
public $IPAddress;
/**
* Your customer session identification token. PayPal records
* this optional session identification token as an additional
* means to detect possible fraud. Optional Character length
* and limitations: 64 single-byte numeric characters
* @access public
* @namespace ebl
* @var string
*/
public $MerchantSessionId;
/**
*
* @access public
* @namespace ebl
* @var boolean
*/
public $ReturnFMFDetails;
/**
* Use this optional parameter to pass in your business name
* and other data describing the transaction. Optional This
* information is usually displayed in the account holder's
* statement. Example: RedCross Haiti, RedCross Uganda,
* Realtor.com dues, Realtor.com list fee Length 25 characters.
* Alphanumeric characters and dash(-), dot(.), asterisk(*),
* space( ) On the customer's statement, an asterisk is used to
* separate the DBA name and product name. The asterisk
* delimiter can appear in position 4, 8, or 13.
* @access public
* @namespace ebl
* @var string
*/
public $SoftDescriptor;
/**
* Use this optional parameter to pass information about how
* consumer should contact the merchant. Optional This
* information is usually displayed in the account holder's
* statement. For Ecom trx: phone, email or URL is allowed For
* Retail trx: only the actual city is allowed For details on
* allowed characters in Soft Descriptor City refer to the API
* documentation.
* @access public
* @namespace ebl
* @var string
*/
public $SoftDescriptorCity;
}

View File

@@ -0,0 +1,246 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
* How you want to obtain payment. Required Authorization
* indicates that this payment is a basic authorization subject
* to settlement with PayPal Authorization and Capture. Order
* indicates that this payment is is an order authorization
* subject to settlement with PayPal Authorization and Capture.
* Sale indicates that this is a final sale for which you are
* requesting payment. IMPORTANT: You cannot set PaymentAction
* to Sale on SetExpressCheckoutRequest and then change
* PaymentAction to Authorization on the final Express Checkout
* API, DoExpressCheckoutPaymentRequest. Character length and
* limit: Up to 13 single-byte alphabetic characters
*/
class DoExpressCheckoutPaymentRequestDetailsType
extends PPXmlMessage
{
/**
* How you want to obtain payment. Required Authorization
* indicates that this payment is a basic authorization subject
* to settlement with PayPal Authorization and Capture. Order
* indicates that this payment is is an order authorization
* subject to settlement with PayPal Authorization and Capture.
* Sale indicates that this is a final sale for which you are
* requesting payment. IMPORTANT: You cannot set PaymentAction
* to Sale on SetExpressCheckoutRequest and then change
* PaymentAction to Authorization on the final Express Checkout
* API, DoExpressCheckoutPaymentRequest. Character length and
* limit: Up to 13 single-byte alphabetic characters
* @access public
* @namespace ebl
* @var string
*/
public $PaymentAction;
/**
* The timestamped token value that was returned by
* SetExpressCheckoutResponse and passed on
* GetExpressCheckoutDetailsRequest. Required Character length
* and limitations: 20 single-byte characters
* @access public
* @namespace ebl
* @var string
*/
public $Token;
/**
* Encrypted PayPal customer account identification number as
* returned by GetExpressCheckoutDetailsResponse. Required
* Character length and limitations: 127 single-byte
* characters.
* @access public
* @namespace ebl
* @var string
*/
public $PayerID;
/**
* URL on Merchant site pertaining to this invoice. Optional
* @access public
* @namespace ebl
* @var string
*/
public $OrderURL;
/**
* Unique id for each API request to prevent duplicate payments
* on merchant side. Passed directly back to merchant in
* response. Optional Character length and limits: 38
* single-byte characters maximum.
* @access public
* @namespace ebl
* @var string
*/
public $MsgSubID;
/**
* Information about the payment Required
* @array
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\PaymentDetailsType
*/
public $PaymentDetails;
/**
* Flag to indicate if previously set promoCode shall be
* overriden. Value 1 indicates overriding.
* @access public
* @namespace ebl
* @var string
*/
public $PromoOverrideFlag;
/**
* Promotional financing code for item. Overrides any previous
* PromoCode setting.
* @access public
* @namespace ebl
* @var string
*/
public $PromoCode;
/**
* Contains data for enhanced data like Airline Itinerary Data.
* This tag became Obsolete on or after 62 version, use
* EnhancedPaymentData instead.
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\EnhancedDataType
*/
public $EnhancedData;
/**
* Soft Descriptor supported for Sale and Auth in DEC only. For
* Order this will be ignored.
* @access public
* @namespace ebl
* @var string
*/
public $SoftDescriptor;
/**
* Information about the user selected options.
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\UserSelectedOptionType
*/
public $UserSelectedOptions;
/**
* Information about the Gift message.
* @access public
* @namespace ebl
* @var string
*/
public $GiftMessage;
/**
* Information about the Gift receipt enable.
* @access public
* @namespace ebl
* @var string
*/
public $GiftReceiptEnable;
/**
* Information about the Gift Wrap name.
* @access public
* @namespace ebl
* @var string
*/
public $GiftWrapName;
/**
* Information about the Gift Wrap amount.
* @access public
* @namespace ebl
* @var \PayPal\CoreComponentTypes\BasicAmountType
*/
public $GiftWrapAmount;
/**
* Information about the Buyer marketing email.
* @access public
* @namespace ebl
* @var string
*/
public $BuyerMarketingEmail;
/**
* Information about the survey question.
* @access public
* @namespace ebl
* @var string
*/
public $SurveyQuestion;
/**
* Information about the survey choice selected by the user.
* @array
* @access public
* @namespace ebl
* @var string
*/
public $SurveyChoiceSelected;
/**
* An identification code for use by third-party applications
* to identify transactions. Optional Character length and
* limitations: 32 single-byte alphanumeric characters
* @access public
* @namespace ebl
* @var string
*/
public $ButtonSource = "PayPal_SDK";
/**
* Merchant specified flag which indicates whether to create
* billing agreement as part of DoEC or not. Optional
* @access public
* @namespace ebl
* @var boolean
*/
public $SkipBACreation;
/**
* Merchant specified flag which indicates to use payment
* details from session if available. Optional
* @access public
* @namespace ebl
* @var string
*/
public $UseSessionPaymentDetails;
/**
* Optional element that defines relationship between buckets
* @array
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\CoupledBucketsType
*/
public $CoupledBuckets;
/**
* Optional element for the passing client id
* @access public
* @namespace ebl
* @var string
*/
public $ClientID;
/**
* Optional element for the passing product lines
* @access public
* @namespace ebl
* @var string
*/
public $ProductLine;
}

View File

@@ -0,0 +1,95 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
* The timestamped token value that was returned by
* SetExpressCheckoutResponse and passed on
* GetExpressCheckoutDetailsRequest. Character length and
* limitations:20 single-byte characters
*/
class DoExpressCheckoutPaymentResponseDetailsType
extends PPXmlMessage
{
/**
* The timestamped token value that was returned by
* SetExpressCheckoutResponse and passed on
* GetExpressCheckoutDetailsRequest. Character length and
* limitations:20 single-byte characters
* @access public
* @namespace ebl
* @var string
*/
public $Token;
/**
* Information about the transaction
* @array
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\PaymentInfoType
*/
public $PaymentInfo;
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $BillingAgreementID;
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $RedirectRequired;
/**
* Memo entered by sender in PayPal Review Page note field.
* Optional Character length and limitations: 255 single-byte
* alphanumeric characters
* @access public
* @namespace ebl
* @var string
*/
public $Note;
/**
* Unique id passed in the DoEC call.
* @access public
* @namespace ebl
* @var string
*/
public $MsgSubID;
/**
* Redirect back to PayPal, PayPal can host the success page.
* @access public
* @namespace ebl
* @var string
*/
public $SuccessPageRedirectRequested;
/**
* Information about the user selected options.
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\UserSelectedOptionType
*/
public $UserSelectedOptions;
/**
* Information about Coupled Payment transactions.
* @array
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\CoupledPaymentInfoType
*/
public $CoupledPaymentInfo;
}

View File

@@ -0,0 +1,53 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
* A free-form field for your own use, such as a tracking
* number or other value you want returned to you in IPN.
* Optional Character length and limitations: 256 single-byte
* alphanumeric characters
*/
class DoMobileCheckoutPaymentResponseDetailsType
extends PPXmlMessage
{
/**
* A free-form field for your own use, such as a tracking
* number or other value you want returned to you in IPN.
* Optional Character length and limitations: 256 single-byte
* alphanumeric characters
* @access public
* @namespace ebl
* @var string
*/
public $Custom;
/**
* Your own unique invoice or tracking number. Optional
* Character length and limitations: 127 single-byte
* alphanumeric characters
* @access public
* @namespace ebl
* @var string
*/
public $InvoiceID;
/**
* Information about the payer
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\PayerInfoType
*/
public $PayerInfo;
/**
* Information about the transaction
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\PaymentInfoType
*/
public $PaymentInfo;
}

View File

@@ -0,0 +1,69 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
*
*/
class DoNonReferencedCreditRequestDetailsType
extends PPXmlMessage
{
/**
*
* @access public
* @namespace ebl
* @var \PayPal\CoreComponentTypes\BasicAmountType
*/
public $Amount;
/**
*
* @access public
* @namespace ebl
* @var \PayPal\CoreComponentTypes\BasicAmountType
*/
public $NetAmount;
/**
*
* @access public
* @namespace ebl
* @var \PayPal\CoreComponentTypes\BasicAmountType
*/
public $TaxAmount;
/**
*
* @access public
* @namespace ebl
* @var \PayPal\CoreComponentTypes\BasicAmountType
*/
public $ShippingAmount;
/**
*
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\CreditCardDetailsType
*/
public $CreditCard;
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $ReceiverEmail;
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $Comment;
}

View File

@@ -0,0 +1,29 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
*
*/
class DoNonReferencedCreditResponseDetailsType
extends PPXmlMessage
{
/**
*
* @access public
* @namespace ebl
* @var \PayPal\CoreComponentTypes\BasicAmountType
*/
public $Amount;
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $TransactionID;
}

View File

@@ -0,0 +1,130 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
*
*/
class DoReferenceTransactionRequestDetailsType
extends PPXmlMessage
{
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $ReferenceID;
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $PaymentAction;
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $PaymentType;
/**
*
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\PaymentDetailsType
*/
public $PaymentDetails;
/**
*
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\ReferenceCreditCardDetailsType
*/
public $CreditCard;
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $IPAddress;
/**
* Correlation id related to risk process done for the device.
* Max length is 36 Chars.
* @access public
* @namespace ebl
* @var string
*/
public $RiskSessionCorrelationID;
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $MerchantSessionId;
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $ReqConfirmShipping;
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $SoftDescriptor;
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $SoftDescriptorCity;
/**
*
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\SenderDetailsType
*/
public $SenderDetails;
/**
* Unique id for each API request to prevent duplicate
* payments. Optional Character length and limits: 38
* single-byte characters maximum.
* @access public
* @namespace ebl
* @var string
*/
public $MsgSubID;
/**
* Constructor with arguments
*/
public function __construct($ReferenceID = null, $PaymentAction = null, $PaymentDetails = null)
{
$this->ReferenceID = $ReferenceID;
$this->PaymentAction = $PaymentAction;
$this->PaymentDetails = $PaymentDetails;
}
}

View File

@@ -0,0 +1,86 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
*
*/
class DoReferenceTransactionResponseDetailsType
extends PPXmlMessage
{
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $BillingAgreementID;
/**
*
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\PaymentInfoType
*/
public $PaymentInfo;
/**
*
* @access public
* @namespace ebl
* @var \PayPal\CoreComponentTypes\BasicAmountType
*/
public $Amount;
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $AVSCode;
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $CVV2Code;
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $TransactionID;
/**
* Response code from the processor when a recurring
* transaction is declined
* @access public
* @namespace ebl
* @var string
*/
public $PaymentAdviceCode;
/**
* Return msgsubid back to merchant
* @access public
* @namespace ebl
* @var string
*/
public $MsgSubID;
/**
* pending reason for IC+ interchange plus
* @access public
* @namespace ebl
* @var string
*/
public $PendingReason;
}

View File

@@ -0,0 +1,50 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
* EbayItemPaymentDetailsItemType - Type declaration to be used
* by other schemas. Information about an Ebay Payment Item.
*/
class EbayItemPaymentDetailsItemType
extends PPXmlMessage
{
/**
* Auction ItemNumber. Optional Character length and
* limitations: 765 single-byte characters
* @access public
* @namespace ebl
* @var string
*/
public $ItemNumber;
/**
* Auction Transaction ID. Optional Character length and
* limitations: 255 single-byte characters
* @access public
* @namespace ebl
* @var string
*/
public $AuctionTransactionId;
/**
* Ebay Order ID. Optional Character length and limitations: 64
* single-byte characters
* @access public
* @namespace ebl
* @var string
*/
public $OrderId;
/**
* Ebay Cart ID. Optional Character length and limitations: 64
* single-byte characters
* @access public
* @namespace ebl
* @var string
*/
public $CartID;
}

View File

@@ -0,0 +1,21 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
* Enhanced Data Information. Example: AID for Airlines
*/
class EnhancedDataType
extends PPXmlMessage
{
/**
*
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\AirlineItineraryType
*/
public $AirlineItinerary;
}

View File

@@ -0,0 +1,96 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
* Onboarding program code given to you by PayPal. Required
* Character length and limitations: 64 alphanumeric characters
*
*/
class EnterBoardingRequestDetailsType
extends PPXmlMessage
{
/**
* Onboarding program code given to you by PayPal. Required
* Character length and limitations: 64 alphanumeric characters
* @access public
* @namespace ebl
* @var string
*/
public $ProgramCode;
/**
* A list of comma-separated values that indicate the PayPal
* products you are implementing for this merchant: Direct
* Payment (dp) allows payments by credit card without
* requiring the customer to have a PayPal account. Express
* Checkout (ec) allows customers to fund transactions with
* their PayPal account. Authorization and Capture
* (auth_settle) allows merchants to verify availability of
* funds in a PayPal account, but capture them at a later time.
* Administrative APIs (admin_api) is a collection of the
* PayPal APIs for transaction searching, getting transaction
* details, refunding, and mass payments. Required Character
* length and limitations: 64 alphanumeric characters
* @access public
* @namespace ebl
* @var string
*/
public $ProductList;
/**
* Any custom information you want to store for this partner
* Optional Character length and limitations: 256 alphanumeric
* characters
* @access public
* @namespace ebl
* @var string
*/
public $PartnerCustom;
/**
* The URL for the logo displayed on the PayPal Partner Welcome
* Page. Optional Character length and limitations: 2,048
* alphanumeric characters
* @access public
* @namespace ebl
* @var string
*/
public $ImageUrl;
/**
* Marketing category tha configures the graphic displayed n
* the PayPal Partner Welcome page.
* @access public
* @namespace ebl
* @var string
*/
public $MarketingCategory;
/**
* Information about the merchantâs business
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\BusinessInfoType
*/
public $BusinessInfo;
/**
* Information about the merchant (the business owner)
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\BusinessOwnerInfoType
*/
public $OwnerInfo;
/**
* Information about the merchant's bank account
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\BankAccountDetailsType
*/
public $BankAccount;
}

View File

@@ -0,0 +1,31 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
* @hasAttribute
* Value of the application-specific error parameter.
*/
class ErrorParameterType
extends PPXmlMessage
{
/**
* Value of the application-specific error parameter.
* @access public
* @namespace ebl
* @var string
*/
public $Value;
/**
*
* @access public
* @namespace ebl
* @attribute
* @var string
*/
public $ParamID;
}

View File

@@ -0,0 +1,64 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
* Error code can be used by a receiving application to
* debugging a response message. These codes will need to be
* uniquely defined for each application.
*/
class ErrorType
extends PPXmlMessage
{
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $ShortMessage;
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $LongMessage;
/**
* Error code can be used by a receiving application to
* debugging a response message. These codes will need to be
* uniquely defined for each application.
* @access public
* @namespace ebl
* @var string
*/
public $ErrorCode;
/**
* SeverityCode indicates whether the error is an application
* level error or if it is informational error, i.e., warning.
*
* @access public
* @namespace ebl
* @var string
*/
public $SeverityCode;
/**
* This optional element may carry additional
* application-specific error variables that indicate specific
* information about the error condition particularly in the
* cases where there are multiple instances of the ErrorType
* which require additional context.
* @array
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\ErrorParameterType
*/
public $ErrorParameters;
}

View File

@@ -0,0 +1,61 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
* On your first invocation of
* ExecuteCheckoutOperationsRequest, the value of this token is
* returned by ExecuteCheckoutOperationsResponse. Optional
* Include this element and its value only if you want to
* modify an existing checkout session with another invocation
* of ExecuteCheckoutOperationsRequest; for example, if you
* want the customer to edit his shipping address on PayPal.
* Character length and limitations: 20 single-byte characters
*/
class ExecuteCheckoutOperationsRequestDetailsType
extends PPXmlMessage
{
/**
* On your first invocation of
* ExecuteCheckoutOperationsRequest, the value of this token is
* returned by ExecuteCheckoutOperationsResponse. Optional
* Include this element and its value only if you want to
* modify an existing checkout session with another invocation
* of ExecuteCheckoutOperationsRequest; for example, if you
* want the customer to edit his shipping address on PayPal.
* Character length and limitations: 20 single-byte characters
* @access public
* @namespace ebl
* @var string
*/
public $Token;
/**
* All the Data required to initiate the checkout session is
* passed in this element.
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\SetDataRequestType
*/
public $SetDataRequest;
/**
* If auto authorization is required, this should be passed in
* with IsRequested set to yes.
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\AuthorizationRequestType
*/
public $AuthorizationRequest;
/**
* Constructor with arguments
*/
public function __construct($SetDataRequest = null)
{
$this->SetDataRequest = $SetDataRequest;
}
}

View File

@@ -0,0 +1,29 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
*
*/
class ExecuteCheckoutOperationsResponseDetailsType
extends PPXmlMessage
{
/**
*
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\SetDataResponseType
*/
public $SetDataResponse;
/**
*
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\AuthorizationResponseType
*/
public $AuthorizationResponse;
}

View File

@@ -0,0 +1,31 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
* Contains elements that allow tracking for an external
* partner.
*/
class ExternalPartnerTrackingDetailsType
extends PPXmlMessage
{
/**
* PayPal will just log this string. There will NOT be any
* business logic around it, nor any decisions made based on
* the value of the string that is passed in. From a
* tracking/analytical perspective, PayPal would not infer any
* meaning to any specific value. We would just segment the
* traffic based on the value passed (Cart and None as an
* example) and track different metrics like risk/conversion
* etc based on these segments. The external partner would
* control the value of what gets passed and we take that value
* as is and generate data based on it. Optional
* @access public
* @namespace ebl
* @var string
*/
public $ExternalPartnerSegmentID;
}

View File

@@ -0,0 +1,37 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
* This element contains information that allows the merchant
* to request to opt into external remember me on behalf of the
* buyer or to request login bypass using external remember me.
*
*/
class ExternalRememberMeOptInDetailsType
extends PPXmlMessage
{
/**
* 1 = opt in to external remember me. 0 or omitted = no opt-in
* Other values are invalid
* @access public
* @namespace ebl
* @var string
*/
public $ExternalRememberMeOptIn;
/**
* E-mail address or secure merchant account ID of merchant to
* associate with new external remember-me. Currently, the
* owner must be either the API actor or omitted/none. In the
* future, we may allow the owner to be a 3rd party merchant
* account.
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\ExternalRememberMeOwnerDetailsType
*/
public $ExternalRememberMeOwnerDetails;
}

View File

@@ -0,0 +1,43 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
* E-mail address or secure merchant account ID of merchant to
* associate with new external remember-me.
*/
class ExternalRememberMeOwnerDetailsType
extends PPXmlMessage
{
/**
* A discriminant that tells SetEC what kind of data the
* ExternalRememberMeOwnerID parameter contains. Currently, the
* owner must be either the API actor or omitted/none. In the
* future, we may allow the owner to be a 3rd party merchant
* account. Possible values are: None, ignore the
* ExternalRememberMeOwnerID. An empty value for this field
* also signifies None. Email, the owner ID is an email address
* SecureMerchantAccountID, the owner id is a string
* representing the secure merchant account ID
* @access public
* @namespace ebl
* @var string
*/
public $ExternalRememberMeOwnerIDType;
/**
* When opting in to bypass login via remember me, this
* parameter specifies the merchant account associated with the
* remembered login. Currentl, the owner must be either the API
* actor or omitted/none. In the future, we may allow the owner
* to be a 3rd party merchant account. If the Owner ID Type
* field is not present or "None", this parameter is ignored.
* @access public
* @namespace ebl
* @var string
*/
public $ExternalRememberMeOwnerID;
}

View File

@@ -0,0 +1,44 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
* Response information resulting from opt-in operation or
* current login bypass status.
*/
class ExternalRememberMeStatusDetailsType
extends PPXmlMessage
{
/**
* Required field that reports status of opt-in or login bypass
* attempt. 0 = Success - successful opt-in or
* ExternalRememberMeID specified in SetExpressCheckout is
* valid. 1 = Invalid ID - ExternalRememberMeID specified in
* SetExpressCheckout is invalid. 2 = Internal Error - System
* error or outage during opt-in or login bypass. Can retry
* opt-in or login bypass next time. Flow will force full
* authentication and allow buyer to complete transaction. -1 =
* None - the return value does not signify any valid remember
* me status.
* @access public
* @namespace ebl
* @var integer
*/
public $ExternalRememberMeStatus;
/**
* Identifier returned on external-remember-me-opt-in to allow
* the merchant to request bypass of PayPal login through
* external remember me on behalf of the buyer in future
* transactions. The ExternalRememberMeID is a 17-character
* alphanumeric (encrypted) string. This field has meaning only
* to the merchant.
* @access public
* @namespace ebl
* @var string
*/
public $ExternalRememberMeID;
}

View File

@@ -0,0 +1,46 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
* Thes are filters that could result in accept/deny/pending
* action.
*/
class FMFDetailsType
extends PPXmlMessage
{
/**
*
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\RiskFilterListType
*/
public $AcceptFilters;
/**
*
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\RiskFilterListType
*/
public $PendingFilters;
/**
*
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\RiskFilterListType
*/
public $DenyFilters;
/**
*
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\RiskFilterListType
*/
public $ReportFilters;
}

View File

@@ -0,0 +1,149 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
* Details of leg information
*/
class FlightDetailsType
extends PPXmlMessage
{
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $ConjuctionTicket;
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $ExchangeTicket;
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $CouponNumber;
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $ServiceClass;
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $TravelDate;
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $CarrierCode;
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $StopOverPermitted;
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $DepartureAirport;
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $ArrivalAirport;
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $FlightNumber;
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $DepartureTime;
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $ArrivalTime;
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $FareBasisCode;
/**
*
* @access public
* @namespace ebl
* @var \PayPal\CoreComponentTypes\BasicAmountType
*/
public $Fare;
/**
*
* @access public
* @namespace ebl
* @var \PayPal\CoreComponentTypes\BasicAmountType
*/
public $Taxes;
/**
*
* @access public
* @namespace ebl
* @var \PayPal\CoreComponentTypes\BasicAmountType
*/
public $Fee;
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $EndorsementOrRestrictions;
}

View File

@@ -0,0 +1,32 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
* An optional set of values related to flow-specific details.
*/
class FlowControlDetailsType
extends PPXmlMessage
{
/**
* The URL to redirect to for an unpayable transaction. This
* field is currently used only for the inline checkout flow.
* @access public
* @namespace ebl
* @var string
*/
public $ErrorURL;
/**
* The URL to redirect to after a user clicks the "Pay" or
* "Continue" button on the merchant's site. This field is
* currently used only for the inline checkout flow.
* @access public
* @namespace ebl
* @var string
*/
public $InContextReturnURL;
}

View File

@@ -0,0 +1,39 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
* Allowable values: 0,1 The value 1 indicates that the
* customer can accept push funding, and 0 means they cannot.
* Optional Character length and limitations: One single-byte
* numeric character.
*/
class FundingSourceDetailsType
extends PPXmlMessage
{
/**
* Allowable values: 0,1 The value 1 indicates that the
* customer can accept push funding, and 0 means they cannot.
* Optional Character length and limitations: One single-byte
* numeric character.
* @access public
* @namespace ebl
* @var string
*/
public $AllowPushFunding;
/**
* Allowable values: ELV, CreditCard, ChinaUnionPay, BML,
* Finance, Qiwi This element could be used to specify the
* perered funding option for a guest users. It has effect only
* if LandingPage element is set to Billing. Otherwise it will
* be ignored.
* @access public
* @namespace ebl
* @var string
*/
public $UserSelectedFundingSource;
}

View File

@@ -0,0 +1,69 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
* The first name of the User. Character length and
* limitations: 127 single-byte alphanumeric characters
*/
class GetAccessPermissionDetailsResponseDetailsType
extends PPXmlMessage
{
/**
* The first name of the User. Character length and
* limitations: 127 single-byte alphanumeric characters
* @access public
* @namespace ebl
* @var string
*/
public $FirstName;
/**
* The Last name of the user. Character length and limitations:
* 127 single-byte alphanumeric characters
* @access public
* @namespace ebl
* @var string
*/
public $LastName;
/**
* The email address of the user. Character length and
* limitations: 256 single-byte alphanumeric characters.
* @access public
* @namespace ebl
* @var string
*/
public $Email;
/**
* contains information about API Services
* @array
* @access public
* @namespace ebl
* @var string
*/
public $AccessPermissionName;
/**
* contains information about API Services
* @array
* @access public
* @namespace ebl
* @var string
*/
public $AccessPermissionStatus;
/**
* Encrypted PayPal customer account identification number.
* Required Character length and limitations: 127 single-byte
* characters.
* @access public
* @namespace ebl
* @var string
*/
public $PayerID;
}

View File

@@ -0,0 +1,51 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
* The first name of the User. Character length and
* limitations: 127 single-byte alphanumeric characters
*/
class GetAuthDetailsResponseDetailsType
extends PPXmlMessage
{
/**
* The first name of the User. Character length and
* limitations: 127 single-byte alphanumeric characters
* @access public
* @namespace ebl
* @var string
*/
public $FirstName;
/**
* The Last name of the user. Character length and limitations:
* 127 single-byte alphanumeric characters
* @access public
* @namespace ebl
* @var string
*/
public $LastName;
/**
* The email address of the user. Character length and
* limitations: 256 single-byte alphanumeric characters.
* @access public
* @namespace ebl
* @var string
*/
public $Email;
/**
* Encrypted PayPal customer account identification number.
* Required Character length and limitations: 127 single-byte
* characters.
* @access public
* @namespace ebl
* @var string
*/
public $PayerID;
}

View File

@@ -0,0 +1,33 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
*
*/
class GetBillingAgreementCustomerDetailsResponseDetailsType
extends PPXmlMessage
{
/**
*
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\PayerInfoType
*/
public $PayerInfo;
/**
* Customer's billing address. Optional If you have a credit
* card mapped in your PayPal account, PayPal returns the
* billing address of the credit billing address otherwise your
* primary address as billing address in
* GetBillingAgreementCustomerDetails.
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\AddressType
*/
public $BillingAddress;
}

View File

@@ -0,0 +1,147 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
* Status of merchant's onboarding process:
* CompletedCancelledPending Character length and limitations:
* Eight alphabetic characters
*/
class GetBoardingDetailsResponseDetailsType
extends PPXmlMessage
{
/**
* Status of merchant's onboarding process:
* CompletedCancelledPending Character length and limitations:
* Eight alphabetic characters
* @access public
* @namespace ebl
* @var string
*/
public $Status;
/**
* Date the boarding process started
* @access public
* @namespace ebl
* @var string DateTime in ISO8601
*/
public $StartDate;
/**
* Date the merchantâs status or progress was last updated
* @access public
* @namespace ebl
* @var string DateTime in ISO8601
*/
public $LastUpdated;
/**
* Reason for merchantâs cancellation of sign-up. Character
* length and limitations: 1,024 alphanumeric characters
* @access public
* @namespace ebl
* @var string
*/
public $Reason;
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $ProgramName;
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $ProgramCode;
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $CampaignID;
/**
* Indicates if there is a limitation on the amount of money
* the business can withdraw from PayPal
* @access public
* @namespace ebl
* @var string
*/
public $UserWithdrawalLimit;
/**
* Custom information you set on the EnterBoarding API call
* Character length and limitations: 256 alphanumeric
* characters
* @access public
* @namespace ebl
* @var string
*/
public $PartnerCustom;
/**
* Details about the owner of the account
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\PayerInfoType
*/
public $AccountOwner;
/**
* Merchantâs PayPal API credentials
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\APICredentialsType
*/
public $Credentials;
/**
* The APIs that this merchant has granted the business partner
* permission to call on his behalf. For example:
* SetExpressCheckout,GetExpressCheckoutDetails,DoExpressCheckoutPayment
* @access public
* @namespace ebl
* @var string
*/
public $ConfigureAPIs;
/**
* Primary email verification status. Confirmed, Unconfirmed
* @access public
* @namespace ebl
* @var string
*/
public $EmailVerificationStatus;
/**
* Gives VettingStatus - Pending, Cancelled, Approved,
* UnderReview Character length and limitations: 256
* alphanumeric characters
* @access public
* @namespace ebl
* @var string
*/
public $VettingStatus;
/**
* Gives BankAccountVerificationStatus - Added, Confirmed
* Character length and limitations: 256 alphanumeric
* characters
* @access public
* @namespace ebl
* @var string
*/
public $BankAccountVerificationStatus;
}

View File

@@ -0,0 +1,266 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
* The timestamped token value that was returned by
* SetExpressCheckoutResponse and passed on
* GetExpressCheckoutDetailsRequest. Character length and
* limitations: 20 single-byte characters
*/
class GetExpressCheckoutDetailsResponseDetailsType
extends PPXmlMessage
{
/**
* The timestamped token value that was returned by
* SetExpressCheckoutResponse and passed on
* GetExpressCheckoutDetailsRequest. Character length and
* limitations: 20 single-byte characters
* @access public
* @namespace ebl
* @var string
*/
public $Token;
/**
* Information about the payer
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\PayerInfoType
*/
public $PayerInfo;
/**
* A free-form field for your own use, as set by you in the
* Custom element of SetExpressCheckoutRequest. Character
* length and limitations: 256 single-byte alphanumeric
* characters
* @access public
* @namespace ebl
* @var string
*/
public $Custom;
/**
* Your own invoice or tracking number, as set by you in the
* InvoiceID element of SetExpressCheckoutRequest. Character
* length and limitations: 127 single-byte alphanumeric
* characters
* @access public
* @namespace ebl
* @var string
*/
public $InvoiceID;
/**
* Payer's contact telephone number. PayPal returns a contact
* telephone number only if your Merchant account profile
* settings require that the buyer enter one.
* @access public
* @namespace ebl
* @var string
*/
public $ContactPhone;
/**
*
* @access public
* @namespace ebl
* @var boolean
*/
public $BillingAgreementAcceptedStatus;
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $RedirectRequired;
/**
* Customer's billing address. Optional If you have credit card
* mapped in your account then billing address of the credit
* card is returned otherwise your primary address is returned
* , PayPal returns this address in
* GetExpressCheckoutDetailsResponse.
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\AddressType
*/
public $BillingAddress;
/**
* Text note entered by the buyer in PayPal flow.
* @access public
* @namespace ebl
* @var string
*/
public $Note;
/**
* Returns the status of the EC checkout session. Values
* include 'PaymentActionNotInitiated', 'PaymentActionFailed',
* 'PaymentActionInProgress', 'PaymentCompleted'.
* @access public
* @namespace ebl
* @var string
*/
public $CheckoutStatus;
/**
* PayPal may offer a discount or gift certificate to the
* buyer, which will be represented by a negativeamount. If the
* buyer has a negative balance, PayPal will add that amount to
* the current charges, which will be represented as a positive
* amount.
* @access public
* @namespace ebl
* @var \PayPal\CoreComponentTypes\BasicAmountType
*/
public $PayPalAdjustment;
/**
* Information about the individual purchased items.
* @array
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\PaymentDetailsType
*/
public $PaymentDetails;
/**
* Information about the user selected options.
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\UserSelectedOptionType
*/
public $UserSelectedOptions;
/**
* Information about the incentives that were applied from Ebay
* RYP page and PayPal RYP page.
* @array
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\IncentiveDetailsType
*/
public $IncentiveDetails;
/**
* Information about the Gift message.
* @access public
* @namespace ebl
* @var string
*/
public $GiftMessage;
/**
* Information about the Gift receipt enable.
* @access public
* @namespace ebl
* @var string
*/
public $GiftReceiptEnable;
/**
* Information about the Gift Wrap name.
* @access public
* @namespace ebl
* @var string
*/
public $GiftWrapName;
/**
* Information about the Gift Wrap amount.
* @access public
* @namespace ebl
* @var \PayPal\CoreComponentTypes\BasicAmountType
*/
public $GiftWrapAmount;
/**
* Information about the Buyer marketing email.
* @access public
* @namespace ebl
* @var string
*/
public $BuyerMarketingEmail;
/**
* Information about the survey question.
* @access public
* @namespace ebl
* @var string
*/
public $SurveyQuestion;
/**
* Information about the survey choice selected by the user.
* @array
* @access public
* @namespace ebl
* @var string
*/
public $SurveyChoiceSelected;
/**
* Contains payment request information about each bucket in
* the cart.
* @array
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\PaymentRequestInfoType
*/
public $PaymentRequestInfo;
/**
* Response information resulting from opt-in operation or
* current login bypass status.
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\ExternalRememberMeStatusDetailsType
*/
public $ExternalRememberMeStatusDetails;
/**
* Response information resulting from opt-in operation or
* current login bypass status.
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\RefreshTokenStatusDetailsType
*/
public $RefreshTokenStatusDetails;
/**
* Information about the transaction
* @array
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\PaymentInfoType
*/
public $PaymentInfo;
/**
* Indicate the tolerance a cart can be changed. Possible
* values are NONE = cart cannot be changed (since financing
* was used and country is DE). FLEXIBLE = cart can be changed
* If this parameter does not exist, then assume cart can be
* modified.
* @access public
* @namespace ebl
* @var string
*/
public $CartChangeTolerance;
/**
* Type of the payment instrument.
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\InstrumentDetailsType
*/
public $InstrumentDetails;
}

View File

@@ -0,0 +1,64 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
*
*/
class GetIncentiveEvaluationRequestDetailsType
extends PPXmlMessage
{
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $ExternalBuyerId;
/**
*
* @array
* @access public
* @namespace ebl
* @var string
*/
public $IncentiveCodes;
/**
*
* @array
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\IncentiveApplyIndicationType
*/
public $ApplyIndication;
/**
*
* @array
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\IncentiveBucketType
*/
public $Buckets;
/**
*
* @access public
* @namespace ebl
* @var \PayPal\CoreComponentTypes\BasicAmountType
*/
public $CartTotalAmt;
/**
*
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\IncentiveRequestDetailsType
*/
public $RequestDetails;
}

View File

@@ -0,0 +1,30 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
*
*/
class GetIncentiveEvaluationResponseDetailsType
extends PPXmlMessage
{
/**
*
* @array
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\IncentiveDetailType
*/
public $IncentiveDetails;
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $RequestId;
}

View File

@@ -0,0 +1,21 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
* Phone number for status inquiry
*/
class GetMobileStatusRequestDetailsType
extends PPXmlMessage
{
/**
* Phone number for status inquiry
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\PhoneNumberType
*/
public $Phone;
}

View File

@@ -0,0 +1,171 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
* Recurring Billing Profile ID
*/
class GetRecurringPaymentsProfileDetailsResponseDetailsType
extends PPXmlMessage
{
/**
* Recurring Billing Profile ID
* @access public
* @namespace ebl
* @var string
*/
public $ProfileID;
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $ProfileStatus;
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $Description;
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $AutoBillOutstandingAmount;
/**
*
* @access public
* @namespace ebl
* @var integer
*/
public $MaxFailedPayments;
/**
*
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\RecurringPaymentsProfileDetailsType
*/
public $RecurringPaymentsProfileDetails;
/**
*
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\BillingPeriodDetailsType
*/
public $CurrentRecurringPaymentsPeriod;
/**
*
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\RecurringPaymentsSummaryType
*/
public $RecurringPaymentsSummary;
/**
*
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\CreditCardDetailsType
*/
public $CreditCard;
/**
*
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\BillingPeriodDetailsType
*/
public $TrialRecurringPaymentsPeriod;
/**
*
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\BillingPeriodDetailsType
*/
public $RegularRecurringPaymentsPeriod;
/**
*
* @access public
* @namespace ebl
* @var \PayPal\CoreComponentTypes\BasicAmountType
*/
public $TrialAmountPaid;
/**
*
* @access public
* @namespace ebl
* @var \PayPal\CoreComponentTypes\BasicAmountType
*/
public $RegularAmountPaid;
/**
*
* @access public
* @namespace ebl
* @var \PayPal\CoreComponentTypes\BasicAmountType
*/
public $AggregateAmount;
/**
*
* @access public
* @namespace ebl
* @var \PayPal\CoreComponentTypes\BasicAmountType
*/
public $AggregateOptionalAmount;
/**
*
* @access public
* @namespace ebl
* @var string DateTime in ISO8601
*/
public $FinalPaymentDueDate;
/**
* Use this optional parameter to pass in your business name
* and other data describing the transaction. Optional This
* information is usually displayed in the account holder's
* statement. Example: RedCross Haiti, RedCross Uganda,
* Realtor.com dues, Realtor.com list fee Length 25 characters.
* Alphanumeric characters and dash(-), dot(.), asterisk(*),
* space( ) On the customer's statement, an asterisk is used to
* separate the DBA name and product name. The asterisk
* delimiter can appear in position 4, 8, or 13.
* @access public
* @namespace ebl
* @var string
*/
public $SoftDescriptor;
/**
* Use this optional parameter to pass information about how
* consumer should contact the merchant. Optional This
* information is usually displayed in the account holder's
* statement. For Ecom trx: phone, email or URL is allowed For
* Retail trx: only the actual city is allowed For details on
* allowed characters in Soft Descriptor City refer to the API
* documentation.
* @access public
* @namespace ebl
* @var string
*/
public $SoftDescriptorCity;
}

View File

@@ -0,0 +1,37 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
* Mobile specific buyer identification.
*/
class IdentificationInfoType
extends PPXmlMessage
{
/**
* Mobile specific buyer identification.
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\MobileIDInfoType
*/
public $MobileIDInfo;
/**
* Contains login bypass information.
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\RememberMeIDInfoType
*/
public $RememberMeIDInfo;
/**
* Identity Access Token.
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\IdentityTokenInfoType
*/
public $IdentityTokenInfo;
}

View File

@@ -0,0 +1,29 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
* Identity Access token from merchant
*/
class IdentityTokenInfoType
extends PPXmlMessage
{
/**
* Identity Access token from merchant
* @access public
* @namespace ebl
* @var string
*/
public $AccessToken;
/**
* Constructor with arguments
*/
public function __construct($AccessToken = null)
{
$this->AccessToken = $AccessToken;
}
}

View File

@@ -0,0 +1,54 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
* Details of incentive application on individual bucket/item.
*/
class IncentiveAppliedDetailsType
extends PPXmlMessage
{
/**
* PaymentRequestID uniquely identifies a bucket. It is the
* "bucket id" in the world of EC API.
* @access public
* @namespace ebl
* @var string
*/
public $PaymentRequestID;
/**
* The item id passed through by the merchant.
* @access public
* @namespace ebl
* @var string
*/
public $ItemId;
/**
* The item transaction id passed through by the merchant.
* @access public
* @namespace ebl
* @var string
*/
public $ExternalTxnId;
/**
* Discount offerred for this bucket or item.
* @access public
* @namespace ebl
* @var \PayPal\CoreComponentTypes\BasicAmountType
*/
public $DiscountAmount;
/**
* SubType for coupon.
* @access public
* @namespace ebl
* @var string
*/
public $SubType;
}

View File

@@ -0,0 +1,45 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
*
*/
class IncentiveAppliedToType
extends PPXmlMessage
{
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $BucketId;
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $ItemId;
/**
*
* @access public
* @namespace ebl
* @var \PayPal\CoreComponentTypes\BasicAmountType
*/
public $IncentiveAmount;
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $SubType;
}

View File

@@ -0,0 +1,30 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
* Defines which bucket or item that the incentive should be
* applied to.
*/
class IncentiveApplyIndicationType
extends PPXmlMessage
{
/**
* The Bucket ID that the incentive is applied to.
* @access public
* @namespace ebl
* @var string
*/
public $PaymentRequestID;
/**
* The item that the incentive is applied to.
* @access public
* @namespace ebl
* @var string
*/
public $ItemId;
}

View File

@@ -0,0 +1,86 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
*
*/
class IncentiveBucketType
extends PPXmlMessage
{
/**
*
* @array
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\IncentiveItemType
*/
public $Items;
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $BucketId;
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $SellerId;
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $ExternalSellerId;
/**
*
* @access public
* @namespace ebl
* @var \PayPal\CoreComponentTypes\BasicAmountType
*/
public $BucketSubtotalAmt;
/**
*
* @access public
* @namespace ebl
* @var \PayPal\CoreComponentTypes\BasicAmountType
*/
public $BucketShippingAmt;
/**
*
* @access public
* @namespace ebl
* @var \PayPal\CoreComponentTypes\BasicAmountType
*/
public $BucketInsuranceAmt;
/**
*
* @access public
* @namespace ebl
* @var \PayPal\CoreComponentTypes\BasicAmountType
*/
public $BucketSalesTaxAmt;
/**
*
* @access public
* @namespace ebl
* @var \PayPal\CoreComponentTypes\BasicAmountType
*/
public $BucketTotalAmt;
}

View File

@@ -0,0 +1,78 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
*
*/
class IncentiveDetailType
extends PPXmlMessage
{
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $RedemptionCode;
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $DisplayCode;
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $ProgramId;
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $IncentiveType;
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $IncentiveDescription;
/**
*
* @array
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\IncentiveAppliedToType
*/
public $AppliedTo;
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $Status;
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $ErrorCode;
}

View File

@@ -0,0 +1,67 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
* Information about the incentives that were applied from Ebay
* RYP page and PayPal RYP page.
*/
class IncentiveDetailsType
extends PPXmlMessage
{
/**
* Unique Identifier consisting of redemption code, user
* friendly descripotion, incentive type, campaign code,
* incenitve application order and site redeemed on.
* @access public
* @namespace ebl
* @var string
*/
public $UniqueIdentifier;
/**
* Defines if the incentive has been applied on Ebay or PayPal.
*
* @access public
* @namespace ebl
* @var string
*/
public $SiteAppliedOn;
/**
* The total discount amount for the incentive, summation of
* discounts up across all the buckets/items.
* @access public
* @namespace ebl
* @var \PayPal\CoreComponentTypes\BasicAmountType
*/
public $TotalDiscountAmount;
/**
* Status of incentive processing. Sussess or Error.
* @access public
* @namespace ebl
* @var string
*/
public $Status;
/**
* Error code if there are any errors. Zero otherwise.
* @access public
* @namespace ebl
* @var integer
*/
public $ErrorCode;
/**
* Details of incentive application on individual bucket/item.
* @array
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\IncentiveAppliedDetailsType
*/
public $IncentiveAppliedDetails;
}

View File

@@ -0,0 +1,31 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
* Details of incentive application on individual bucket.
*/
class IncentiveInfoType
extends PPXmlMessage
{
/**
* Incentive redemption code.
* @access public
* @namespace ebl
* @var string
*/
public $IncentiveCode;
/**
* Defines which bucket or item that the incentive should be
* applied to.
* @array
* @access public
* @namespace ebl
* @var \PayPal\EBLBaseComponents\IncentiveApplyIndicationType
*/
public $ApplyIndication;
}

View File

@@ -0,0 +1,53 @@
<?php
namespace PayPal\EBLBaseComponents;
use PayPal\Core\PPXmlMessage;
/**
*
*/
class IncentiveItemType
extends PPXmlMessage
{
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $ItemId;
/**
*
* @access public
* @namespace ebl
* @var string DateTime in ISO8601
*/
public $PurchaseTime;
/**
*
* @access public
* @namespace ebl
* @var string
*/
public $ItemCategoryList;
/**
*
* @access public
* @namespace ebl
* @var \PayPal\CoreComponentTypes\BasicAmountType
*/
public $ItemPrice;
/**
*
* @access public
* @namespace ebl
* @var integer
*/
public $ItemQuantity;
}

Some files were not shown because too many files have changed in this diff Show More