-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #191 from LinioIT/gsc-master-dev
feat: change productid and taxclass as optional, delete description validation when is getting products from gsc
- Loading branch information
Showing
10 changed files
with
186 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<SuccessResponse> | ||
<Head> | ||
<RequestId /> | ||
<RequestAction>GetProducts</RequestAction> | ||
<ResponseType>Products</ResponseType> | ||
<Timestamp>2019-02-05T11:39:11-0300</Timestamp> | ||
</Head> | ||
<Body> | ||
<Products> | ||
<Product> | ||
<SellerSku>testsku-01</SellerSku> | ||
<ShopSku /> | ||
<Name>PE grabadora</Name> | ||
<ColorBasico>Amarillo</ColorBasico> | ||
<Color>Amarillo Claro</Color> | ||
<Talla>XS</Talla> | ||
<ParentSku>PE240724</ParentSku> | ||
<ProductId /> | ||
<Url /> | ||
<MainImage /> | ||
<Images /> | ||
<ContentScore>0</ContentScore> | ||
<Description /> | ||
<TaxClass /> | ||
<Brand>2 TOMATOES</Brand> | ||
<PrimaryCategory>Gafas de sol</PrimaryCategory> | ||
<QCStatus>rejected</QCStatus> | ||
<BusinessUnits> | ||
<BusinessUnit> | ||
<BusinessUnit>Falabella</BusinessUnit> | ||
<OperatorCode>facl</OperatorCode> | ||
<Price>23100.00</Price> | ||
<SpecialPrice /> | ||
<SpecialFromDate /> | ||
<SpecialToDate /> | ||
<Stock>3000</Stock> | ||
<Status>active</Status> | ||
<IsPublished>0</IsPublished> | ||
</BusinessUnit> | ||
</BusinessUnits> | ||
<ProductData> | ||
<ConditionType>Nuevo</ConditionType> | ||
<PackageLength>1</PackageLength> | ||
<PackageHeight>1</PackageHeight> | ||
<PackageWidth>1</PackageWidth> | ||
<PackageWeight>1</PackageWeight> | ||
<GeneroDeVestuario>Bebé niño</GeneroDeVestuario> | ||
<Uso>Antiparras Nieve</Uso> | ||
</ProductData> | ||
</Product> | ||
</Products> | ||
</Body> | ||
</SuccessResponse> |
51 changes: 51 additions & 0 deletions
51
tests/_schemas/Product/GlobalProductResponseMissingAttr.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<SuccessResponse> | ||
<Head> | ||
<RequestId /> | ||
<RequestAction>GetProducts</RequestAction> | ||
<ResponseType>Products</ResponseType> | ||
<Timestamp>2019-02-05T11:39:11-0300</Timestamp> | ||
</Head> | ||
<Body> | ||
<Products> | ||
<Product> | ||
<SellerSku>testsku-01</SellerSku> | ||
<ShopSku /> | ||
<Name>PE grabadora</Name> | ||
<ColorBasico>Amarillo</ColorBasico> | ||
<Color>Amarillo Claro</Color> | ||
<Talla>XS</Talla> | ||
<ParentSku>PE240724</ParentSku> | ||
<Url /> | ||
<MainImage /> | ||
<Images /> | ||
<ContentScore>0</ContentScore> | ||
<Brand>2 TOMATOES</Brand> | ||
<PrimaryCategory>Gafas de sol</PrimaryCategory> | ||
<QCStatus>rejected</QCStatus> | ||
<BusinessUnits> | ||
<BusinessUnit> | ||
<BusinessUnit>Falabella</BusinessUnit> | ||
<OperatorCode>facl</OperatorCode> | ||
<Price>23100.00</Price> | ||
<SpecialPrice /> | ||
<SpecialFromDate /> | ||
<SpecialToDate /> | ||
<Stock>3000</Stock> | ||
<Status>active</Status> | ||
<IsPublished>0</IsPublished> | ||
</BusinessUnit> | ||
</BusinessUnits> | ||
<ProductData> | ||
<ConditionType>Nuevo</ConditionType> | ||
<PackageLength>1</PackageLength> | ||
<PackageHeight>1</PackageHeight> | ||
<PackageWidth>1</PackageWidth> | ||
<PackageWeight>1</PackageWeight> | ||
<GeneroDeVestuario>Bebé niño</GeneroDeVestuario> | ||
<Uso>Antiparras Nieve</Uso> | ||
</ProductData> | ||
</Product> | ||
</Products> | ||
</Body> | ||
</SuccessResponse> |