- Sep 19, 2016
-
-
Andy Summers authored
[ECOM-470] Add `SoapOrderLineService` This PR adds `SoapOrderLineService`, the last SOAP service for [ECOM-214] WOOOOOO. Should be pretty straight forward, we've done this a bunch of times now. Please review: @ahoffmann @weizhong-wang @lloyd-carter See merge request !44
-
Andy Summers authored
-
Andy Summers authored
Add `SoapOrderPaymentService` and refactor current classes This PR adds the `SoapOrderPaymentService`, along with a few refactorings: 1. Constants that were defined in `OrderHeader` in !41 are now moved to `edu\wisc\services\cbs\common\MagentoOrder`. They are common across multiple classes (`OrderHeader` and `OrderPayment` for sure) so now they're defined in one place. 2. `OrderPaymentServiceResponse` no longer has a `paymentLineIdRef` field as it isn't returned with the generated `OutputParameters`. 3. Setters in `OrderPayment` return `$this` like the others. `paidToDate` in `OrderPaymentServiceResponse` doesn't have a defined type yet so I've replaced occurrences with `DateTime`, since I'm guessing that's what it should be. Please review: @ahoffmann @weizhong-wang @lloyd-carter See merge request !43
-
- Sep 16, 2016
-
-
Andy Summers authored
-
- Sep 15, 2016
-
-
Andy Summers authored
-
Andy Summers authored
[ECOM-423] Add `SoapOrderHeaderService` This PR adds the `SoapOrderHeaderService` using the new WSDL provided by @lloyd-carter. Please review: @ahoffmann @weizhong-wang @lloyd-carter See merge request !41
-
Andrew Hoffmann authored
ECOM-472: SOAP implementation of OrderInterfacingService. Add SOAP implementation of OrderInterfacingService. I only created unit tests for this service. I want to wait until we have all the order services done and write one big integration test that combines them. @andrew-summers @weizhong-wang @lloyd-carter See merge request !42
-
Andy Summers authored
-
- Sep 14, 2016
-
-
Andrew Hoffmann authored
-
Andrew Hoffmann authored
Remove call to setP_UDDS() Remove call to undefined method `edu\wisc\services\cbs\product\generated\InputParameters#setP_UDDS` This method does not exist because the WSDL does not yet have it defined. @weizhong-wang @andrew-summers See merge request !40
-
Andrew Hoffmann authored
This method does not exist because the WSDL does not yet have it defined.
-
- Sep 13, 2016
-
-
Weizhong Wang authored
Added UDDS attribute to the Product object and it's input param mapper. @ahoffmann @andrew-summers Please review the simple changes and make sure they are done correctly. Thanks. See merge request !39
-
- Sep 12, 2016
-
-
Andy Summers authored
Add basic "order interfacing" service and reorg existing classes This commit adds a very basic service for "interfacing" orders which is the CBS terminology for commiting and finalizing an order. It also reorganizes the namespaces for the existing `Order` classes to support the upcoming API restructure. API breaking change, bumped to new major version (4.0.0). Please review: @ahoffmann @weizhong-wang @lloyd-carter See merge request !38
-
Andy Summers authored
This commit adds a very basic service for "interfacing" orders which is the CBS terminology for commiting and finalizing an order. It also reorganizes the namespaces for the existing `Order` classes to support the upcoming API restructure.
-
Weizhong Wang authored
-
- Aug 31, 2016
-
-
Andy Summers authored
Add integration test for `PriceServiceSoapClient` This PR adds an integration test for the `PriceServiceSoapClient`. I also pulled out the `ProductServiceSoapClientIT::generateSampleProduct()` function into `IntegrationTestCase.php` so it can be reused by other integration tests (like this one). Please review: @ahoffmann @weizhong-wang @lloyd-carter See merge request !36
-
- Aug 30, 2016
-
-
Andy Summers authored
-
- Aug 23, 2016
-
- Aug 12, 2016
-
-
Andy Summers authored
[ECOM-447] Make Order Service classes use consistent method names This PR changes the Order Header and Order Line services to use `createOrder<thing>` as method names for consistency. Please review: @ahoffmann @weizhong-wang @lloyd-carter See merge request !35
-
Andy Summers authored
[ECOM-446] Add custom response for `OrderHeaderService` The Order Header service in CBS, as defined in the Excel spreadsheet, returns three things: a "status", a message, and an order number. This PR adds a custom response object for the `OrderHeaderService` defining those return values. "Status" is defined as a VARCHAR so I'm making the assumption that it is distinct from 'success', which the `AbstractServiceResponse` already provides. If they serve the same purpose, it can easily be removed. Please review: @ahoffmann @weizhong-wang @lloyd-carter See merge request !34
-
- Aug 11, 2016
-
-
Andy Summers authored
-
Andy Summers authored
-
- Aug 10, 2016
-
-
Andy Summers authored
Add `MockOrderPaymentService` Add `OrderPaymentService` and a mock implementation. CBS returns a few values in the order payment API, so the response object captures that as well. Not sure whether Magento will need/want those returned values, but they're there. Please review: @ahoffmann @weizhong-wang @lloyd-carter See merge request !33
-
Andy Summers authored
-
- Aug 09, 2016
-
-
Andy Summers authored
-
- Aug 05, 2016
-
-
Andy Summers authored
-
Andy Summers authored
OrderLineService Created an `OrderLineService` interface and a mock implementation for it.
@andrew-summers @weizhong-wang @lloyd-carter See merge request !32
-
- Aug 04, 2016
-
-
Andrew Hoffmann authored
-
- Aug 03, 2016
-
-
Andy Summers authored
Add `MockOrderHeaderService` for submitting order headers to CBS Part 1 of the sales order API for ECOM-422, the `MockOrderHeaderService`. Please review: @ahoffmann @lloyd-carter @weizhong-wang See merge request !31
-
- Aug 02, 2016
-
-
Andy Summers authored
-
Andy Summers authored
-
- Jul 29, 2016
-
-
Andrew Hoffmann authored
Service and MockService interfaces Introduced Service and MockService interfaces, moved cross-service interfaces to an api package, and assigned them to appropriate classes. These interfaces will facilitate creating a "super factory" in Magento for any CBS service, instead of needing a factory for each service individually. @andrew-summers @weizhong-wang See merge request !30
- Jul 27, 2016
-
-
Andrew Hoffmann authored
Introduced Service and MockService interfaces, moved cross-service interfaces to an api package, and assigned them to appropriate classes. These interfaces will facilitate creating a "super factory" in Magento for any CBS service, instead of needing a factory for each service individually.
-
Andrew Hoffmann authored
SoapService interface Created a SoapService interface to ensure that all SOAP services are instantiated consistently. This will allow for consumers to create factories that are less repetitive. In Magento, I want to condense the CBS client factories into a single class. This interface will help ensure a common constructor contract. @andrew-summers @weizhong-wang See merge request !29
-
Andrew Hoffmann authored
Created a SoapService interface to ensure that all SOAP services are instantiated consistently. This will allow for consumers to create factories that are less repetitive.
-
- Jul 26, 2016
-
-
Andrew Hoffmann authored
ECOM-326: SOAP Price Service I created a SOAP implementation of `PriceService` and an integration test for it. There are also some changes to the project: * Namespace bug fixes * Created a `MoneyConversion` class to encapsulate converting Money instances * Renamed `ProductPriceService` to `PriceService` for simplicity **NOTE:** Source code in the *generated* directory is auto-generated. My policy is NOT to modify this code regardless of code quality, since it can so easily be overwritten. @andrew-summers @weizhong-wang @alundholm See merge request !28
- Jul 21, 2016
-
-
Andrew Hoffmann authored
WS-Security Header Builder Encapsulated WS-Security SOAP header support into its own class. No unit test provided as it is impossible to inspect the `SOAPHeader`object, and there is an integration test which covers this. Implemented @paul.erickson's suggestion to move `Product` into the *product* namespace to reduce cross-namespace dependencies. Fixed incorrect namespace references in the WSDL-generated service class. @alundholm @andrew-summers @weizhong-wang See merge request !27
-