Tags give the ability to mark specific points in history as being important
  • 0.1
    aa2b2539 · Remove suggest ·
  • 0.1.6   Assigning values when instatiating an object has been improved. It is now possible to simply pass an associative array of property names and values. When a property expects an object as its value you can just pass another associative array instead. For example, ``` $variation = new Types\VariationType(array( 'SKU' => 'TS-W-S', 'Quantity' => 5, 'StartPrice' => ['value' => 10.99], 'VariationSpecifics' => [[ 'NameValueList' => [ ['Name' => 'Color', 'Value' => ['White']], ['Name' => "Size (Men's)", 'Value' => ['S']] ] ]] )); ``` This feature is compatiable with the existing method and so you can mix and match as in the example below. ``` $variation = new Types\VariationType(array( 'SKU' => 'TS-W-S', 'Quantity' => 5, 'StartPrice' => new Types\AmountType(['value' => 10.99]), 'VariationSpecifics' => [[ 'NameValueList' => [ new Types\NameValueListType(['Name' => 'Color', 'Value' => ['White']]), ['Name' => "Size (Men's)", 'Value' => ['S']] ] ]] )); ```
    7a215999 · 0.1.6 release ·
  • 0.1.5   This repository is now deprecated and will reach its end of life on the 6th December 2015. It is only maintained for bug fixes. A new version of the SDK has been released and is available at [https://github.com/davidtsadler/ebay-sdk-php](https://github.com/davidtsadler/ebay-sdk-php). A guide can be found at [http://devbay.net/sdk/guides/migration/](http://devbay.net/sdk/guides/migration/) to help migrate existing projects to the new repository.
    227092c3 · 0.1.5 release ·
  • 0.1.4   * Allow client code to access the HttpClient object used to send requests. You can now call the `httpClient` method on a service object. This will return an object that implments the \DTS\eBaySDK\Interfaces\HttpClientInterface. This object is responsible for the HTTP request to the API. By default the SDK will use a \DTS\eBaySDK\HttpClient\HttpClient object. ```php $service = new Services\TradingService(array( 'apiVersion' => 925, 'siteId' => Constants\SiteIds::US )); $httpClient = $service->httpClient(); ``` If you provide your own HTTP client then calling `httpClient` will return the same instance. ```php class MockClient implements \DTS\eBaySDK\Interfaces\HttpClientInterface { public function post($url, $headers, $body) { print_r($headers); print($body); } } $mock = new MockClient(); $service = new Services\TradingService(array( 'apiVersion' => 925, 'siteId' => Constants\SiteIds::US ), $mock); assert('$mock === $service->httpClient()'); ``` * Allow access to the `Guzzle` object used by the default HTTP client instance. You can now call the `guzzle` method on any instances of \DTS\eBaySDK\HttpClient\HttpClient This will return a Guzzle 3 \Guzzle\Http\Client instance. ```php $service = new Services\TradingService(array( 'apiVersion' => 925, 'siteId' => Constants\SiteIds::US )); $guzzle = $service->httpClient()->guzzle(); $guzzle->getConfig()->setPath('curl.options', array( 'CURLOPT_VERBOSE' => 1 )); ```
    88ae55a5 · 0.1.4 release ·
  • 0.1.3   * Add Makefile to help with various tasks. * Allow object properties to be returned as an associative array. ```php use \DTS\eBaySDK\Trading\Types; use \DTS\eBaySDK\Trading\Enums; $item = new Types\ItemType(); $item->Title = 'An Example'; $item->Quantity = 99; $item->StartPrice = new Types\AmountType(array('value' => 19.99)); $item->PaymentMethods = array( 'VisaMC', 'PayPal' ); $item->ShippingDetails = new Types\ShippingDetailsType(); $item->ShippingDetails->ShippingType = Enums\ShippingTypeCodeType::C_FLAT; $item->ShippingDetails->ShippingServiceOptions[] = new Types\ShippingServiceOptionsType(array( 'ShippingServicePriority' => 1, 'ShippingService' => 'Other', 'ShippingServiceCost' => new Types\AmountType(array('value' => 2.00)), 'ShippingServiceAdditionalCost' => new Types\AmountType(array('value' => 1.00)) )); $item->ShippingDetails->ShippingServiceOptions[] = new Types\ShippingServiceOptionsType(array( 'ShippingServicePriority' => 1, 'ShippingService' => 'USPSParcel', 'ShippingServiceCost' => new Types\AmountType(array('value' => 3.00)), 'ShippingServiceAdditionalCost' => new Types\AmountType(array('value' => 2.00)) )); print_r($item->toArray()); /** Array ( [PaymentMethods] => Array ( [0] => VisaMC [1] => PayPal ) [Quantity] => 99 [ShippingDetails] => Array ( [ShippingServiceOptions] => Array ( [0] => Array ( [ShippingService] => Other [ShippingServiceAdditionalCost] => Array ( [value] => 1 ) [ShippingServiceCost] => Array ( [value] => 2 ) [ShippingServicePriority] => 1 ) [1] => Array ( [ShippingService] => USPSParcel [ShippingServiceAdditionalCost] => Array ( [value] => 2 ) [ShippingServiceCost] => Array ( [value] => 3 ) [ShippingServicePriority] => 1 ) ) [ShippingType] => Flat ) [StartPrice] => Array ( [value] => 19.99 ) [Title] => An Example ) */ ``` * Add PHP 5.6 and HHVM to travis settings.
    25c9f2fb · 0.1.3 release ·
  • 0.1.2   0.1.2
    4e16d7d1 · doc: update CHANGELOG ·
  • 0.1.1   0.1.1
    a94c1a9d · doc: update CHANGELOG ·
  • 0.1.0   0.1.0
    793de7b1 · Merge branch 'release' ·
  • 0.0.7   0.0.7
  • 0.0.6   0.0.6
  • 0.0.5   0.0.5
  • 0.0.4   0.0.4 release. Closes #1
  • 0.0.3   0.0.3 release.
  • 0.0.2   0.0.2 release.
  • 0.0.1   0.0.1 release.
  • 0.0.0   0.0.0 release.