August 2016
Change log
This release adds support for the changes and new APIs added from February 2015 to March 2016. See the newly-added CHANGELOG for a more detailed list of changes.
Improvements
- Added Travis support
- Updated the Composer file to allow for newer PHP versions
- Changed all private methods and properties in all classes to protected
- Added PHPUnit XML configuration file
- Added change log, contribution guidelines, and credits files
- Added support for MWS Auth Token
- Added methods for getting the last response code, error message, and error response
- Added support for the Merchant Fulfillment API
- Added support for the Recommendations API
- Added support for the Subscriptions API
- Added support for the Finance API
- Added four new Inbound classes
- The marketplace can now be specified in the Order List class, Fulfillment Order class, and all Product classes
- Added new response fields in the Feed class for processing dates
- Added new response fields in the Order classes, such as
IsPrime
- Added a method for getting the order ID from the Order Item List class
- Added a new parameter in the Order List class,
TFMShipmentStatus
- Added a method for getting the raw report data from the Report class
- Added a new response field in the Report List class,
AcknowledgedDate
- Added new parameters and response fields in the Fulfillment Order classes, such as
CODSettings
- Added a new method in the Fulfillment Order Creator class for updating orders
- Added new parameters and response fields in the Fulfillment Preview class, such as
ScheduledDeliveryInfo
- Added a new method in the Product Info class for getting lowest-priced offers
- The Product class now keeps the identifier used to search for an item under the key
Request
- Added new methods in the Shipment class for setting parameters previously restricted to use of
usePlan
- Added a new parameters and response fields in the Inbound Shipment classes, such as
ShipmentName
andPrepDetailsList
- Added support for new styles of token responses used by some classes
- The Service URL setting in config now works with or without a slash at the end
- The
genTime
method now supports Unix timestamps, though some methods that usegenTime
still do not - Updated the name of the
CompletedProcessingDate
field in the Report Request List class toCompletedDate
- Updated the name of the
ShipServiceLevelCategory
field in the Order class toShipmentServiceLevelCategory
- Deprecated
getDateProcessingCompleted
in favor ofgetDateCompleted
- Deprecated
getShipServiceLevelCategory
in favor ofgetShipmentServiceLevelCategory
- Deprecated
setFulfillmentMethod
in the Fulfillment Order Creator class - Deprecated
setMethodFilter
in the Fulfillment Order List class
Bug Fixes
- Some tests that tried to load the normal configuration file now properly load test configuration
- Corrected many small mistakes in documentation
- The
setShowSalesChannel
method in the Report class now properly sets the parameter - Fixed the spelling of
StateOrProvinceCode
throughout the Outbound and Inbound classes - The Product Info class now properly gets all relationships
- The Shipment class no longer sets the address when using
usePlan
and correctly sets other parameters - Fixed a loop caused by an empty response to actions that use tokens
Removals
- Removed all of the old leftover test XML files from the mock folder
- Removed old environment config lines from the test config file