Commit Graph

33 Commits

Author SHA1 Message Date
Jay Patel
1401d5563d [PSR] Fixed library source
- Using `php-cs-fixer` tool.
2016-07-14 13:10:21 -05:00
Jay Patel
56f1be3c73 Enabled Third Party Invoicing 2016-05-31 12:45:52 -05:00
Jay Patel
3bf4bbe8b6 Updating User Agent for Internal Purposes 2015-10-28 14:19:02 -05:00
Jay Patel
97493db230 Using Setter Methods instead of Magic if possible. 2015-10-06 19:08:30 -05:00
Jay Patel
e1e70c0ebd Removed ModelAccessValidator in favor of Forward Compatilibity Issues
- Model Access Validator causes unnecessary issues in existing integrations.
- Causes merchant to break integration if configured incorrectly.
2015-10-06 18:54:40 -05:00
İrfan Evrens
d35e5523a2 tiny changes 2015-06-30 22:36:23 +03:00
İrfan Evrens
cefecede81 Tiny improvements. 2015-06-25 23:08:11 +03:00
Jay Patel
9e3ee52f50 GetList refactored for all use cases
- Fixes #290
2015-05-03 22:54:00 -05:00
Jay Patel
ec58775bca PayPalModel Set Conditions updated
- passing null to setter would unset the value
- passing empty string would set the value as empty string
- passing 0 would set the value as 0
- Fixes #285
2015-04-15 12:00:15 -05:00
Jay Patel
fd6a38d0ef PayPalModel to differentiate between empty objects and array
- Fixes to PayPalModel Conversion
- Fixes #262
2015-03-03 16:55:18 -06:00
Jay Patel
bedb6aa047 Ability to handle missing accesors for unknown objects in json
-  JSON body that has objects who do not have Model Getter Setters are handled properly
2015-02-23 21:18:45 -06:00
japatel
192f16b542 Fixes to Json conversion logic for empty objects
- If the object is empty, an empty json object is generated on conversion
- Fixes #223
2015-01-27 12:35:57 -06:00
japatel
12421e09ea PayPal Model toJSON to determine encoding based on PHP Version
- Allows Preetifying JSON output
- toString prints a nice looking JSON now
2015-01-10 17:21:21 -06:00
japatel
88aac05f04 Documentation Updates and Minor Refactoring
- Updated README and Release Notes
- Updated PayPal Constant to reflect latest release
2015-01-08 22:26:26 -06:00
japatel
0b43d599c4 Proper Error Message for Missing Type in Getter for PayPalModel
- If missing annotation of return type in Getters, it throws a proper exception
- Improves #201
2015-01-08 22:25:40 -06:00
japatel
f090642fae Helper Function to Retrieve Specific Link from Model Object
- Helper Methods in Payment and Agreement to get ApprovalLink
- Fixes #195
2014-12-18 15:41:11 -06:00
japatel
9c0827643b 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
2014-12-18 14:16:41 -06:00
japatel
fb9584ba66 More Webhook API Changes
- Updated API Models with Fixes
- Updated Samples
- Additional Functional Tests
2014-12-12 17:00:33 -06:00
japatel
7c4a16ca3d Updated FormatConverter to Format Price based on Currency (if provided)
- Fixes #176 Issue
- Renamed formatToTwoDecimalPlaces to formatToNumber
2014-12-08 17:11:33 -06:00
japatel
24e0609e5b Fixing Invoice Phone Attribute
- Also updated the Update Invoice Sample
2014-11-20 17:07:12 -06:00
japatel
383d12622b More Invoice API Updates 2014-11-18 16:50:57 -06:00
japatel
d5f9b1d43c Fixed Bug in PPModel when empty json string is returned 2014-11-06 00:10:09 -06:00
japatel
d11533110b Sanitize Input for Price Variables
- Updated the model to automatically format the price
- Updated the samples to reflect the new changes
- More Unit Tests
2014-11-03 16:31:03 -06:00
japatel
4d481ad104 Enabled Billing Plans and Agreements APIs
- Added API Classes, Samples, and Tests
- Updated Functional Tests
- Updated Documentation with new SDK Name
- Updated Few Samples to use newer nicer result page
2014-10-31 13:53:42 -05:00
japatel
f55fd3d984 Fixed Double JSON Encoding
- Updated PPModel to not double encode urls in Json String.
2014-10-24 14:59:00 -05:00
japatel
89855f4624 Fixing Breaking Changes in ItemList 2014-10-14 16:54:43 -05:00
japatel
dc2ac0fd63 Updated Identity Support from SDK Core
- Moved PPModels required for Identity Support
2014-10-14 14:15:41 -05:00
japatel
0cb302326a Enabled Payment Experience
- Updated Api to enabled Payment Experience
- Updated Tests and Samples
- Added Json Validator
- Ability for PPModel to return array of self objects
2014-10-13 12:00:31 -05:00
japatel
61a52e4623 Enabled EC Parameters support
- Updated Api to enabled EC Parameters
- Updated Tests
- Updated Logging Manager
- Added a feature to do validation on accessors.
2014-10-10 10:50:49 -05:00
japatel
49b80f76af Removing Dependency from SDK Core Project
- Copied files required for Rest API SDK
- Removed PPApiContext and directly connected APIContext with PPConfigManager
- Removed duplicate data storage of configuration and credentials.
- Code Style Fixes
- Remove build.xml file as it is not required anymore
- Updated the samples
- Updated the documentations
2014-10-06 11:16:47 -05:00
aydiv
e8e7ad807e Updating model classes to use dynamic config - Moving common classes to sdk-core-php 2013-04-24 17:13:47 +05:30
aydiv
3e56fe5143 Fixing useragent string to use lowercase keys 2013-03-13 14:31:12 +05:30
aydiv
69cb3c4dcb Initial commit 2013-03-06 18:42:06 +05:30