Skip to content

Fixed incorrect attribute mapping and removed item "long" description

The CBS endpoint does not have anywhere to "put" an item "long description" at this point. @alundholm had used P_MANUFACTURER_NAME for the item's name, and P_ITEM_DESCRIPTION for the item's description. Instead, the item's name should be in P_ITEM_DESCRIPTION. I created ECOM-253 to reflect the lack of support for long item description.

The integration test still fails because the SOAP endpoint is auto-generating an item number instead of using the one provided. Created bug ECOM-254 to capture that bug.

Introduced a ProductInputParametersMapper class which maps a Product to an InputParameters instance. Used empty strings for unsupported fields instead of null, which the endpoint expects.

Applied general code quality improvements and PSR-2 formatting updates.

@paul.erickson @alundholm @weizhong-wang @lloyd-carter

Merge request reports

Loading