Renaming Namespaces and Organizing Classes

- Updated OpenId classes to be in API namespace
- Updated PP Naming Convention to PayPal Naming Convention
- FormatConverter Class got its own namespace
- Handlers are grouped in Handler namespace
- Samples and Tests Updated Accordingly
This commit is contained in:
japatel
2014-12-17 17:15:01 -06:00
parent 20038e7525
commit 29a8d8f50d
246 changed files with 1068 additions and 1057 deletions

View File

@@ -2,9 +2,9 @@
namespace PayPal\Api;
use PayPal\Common\PPModel;
use PayPal\Common\PayPalModel;
use PayPal\Rest\ApiContext;
use PayPal\Transport\PPRestCall;
use PayPal\Transport\PayPalRestCall;
/**
* Class FuturePayment
@@ -33,9 +33,9 @@ class FuturePayment extends Payment
);
}
$payLoad = $this->toJSON();
$call = new PPRestCall($apiContext);
$call = new PayPalRestCall($apiContext);
$json = $call->execute(
array('PayPal\Rest\RestHandler'),
array('PayPal\Handler\RestHandler'),
"/v1/payments/payment",
"POST",
$payLoad,