Module: useCases/fabship/rfidUseCases

Methods

filterSizeAndDescription(productDescription) → {filterSizeAndDescription}

This method filters out the size and the garment description from the product description of a product The possible size strings in the description are (Single Size), (Single Size/Valid Fit type) & (2 sizes separated by /) Examples : 'Blue Shirt, XXS', 'Blue shirt, M/P', 'Blue shirt, 41/42'
Parameters:
Name Type Description
productDescription String The product description which is a combination of (type, color) and (size ,fit type) separated by a comma Eg: Shirt Blue, XS/S
Returns:
The size and garment description returned {@link:module:useCases/fabship/rfidUseCases~filteredSizeAndDesc}
Type
filterSizeAndDescription

filterSizeAndDescription(productDescription) → {filterSizeAndDescription}

This method filters out the size and the garment description from the product description of a product The possible size strings in the description are (Single Size), (Single Size/Valid Fit type) & (2 sizes separated by /) Examples : 'Blue Shirt, XXS', 'Blue shirt, M/P', 'Blue shirt, 41/42'
Parameters:
Name Type Description
productDescription String The product description which is a combination of (type, color) and (size ,fit type) separated by a comma Eg: Shirt Blue, XS/S
Returns:
The size and garment description returned {@link:module:useCases/fabship/rfidUseCases~filteredSizeAndDesc}
Type
filterSizeAndDescription

Type Definitions

filterSizeAndDescription

Type:
  • Object
Properties:
Name Type Description
filterSizeAndDescription.size String The filtered size
filterSizeAndDescription.garmentDescription String The filtered garment description

filterSizeAndDescription

Type:
  • Object
Properties:
Name Type Description
filterSizeAndDescription.size String The filtered size
filterSizeAndDescription.garmentDescription String The filtered garment description

Methods

filterSizeAndDescription(productDescription) → {filterSizeAndDescription}

This method filters out the size and the garment description from the product description of a product The possible size strings in the description are (Single Size), (Single Size/Valid Fit type) & (2 sizes separated by /) Examples : 'Blue Shirt, XXS', 'Blue shirt, M/P', 'Blue shirt, 41/42'
Parameters:
Name Type Description
productDescription String The product description which is a combination of (type, color) and (size ,fit type) separated by a comma Eg: Shirt Blue, XS/S
Returns:
The size and garment description returned {@link:module:useCases/fabship/rfidUseCases~filteredSizeAndDesc}
Type
filterSizeAndDescription

filterSizeAndDescription(productDescription) → {filterSizeAndDescription}

This method filters out the size and the garment description from the product description of a product The possible size strings in the description are (Single Size), (Single Size/Valid Fit type) & (2 sizes separated by /) Examples : 'Blue Shirt, XXS', 'Blue shirt, M/P', 'Blue shirt, 41/42'
Parameters:
Name Type Description
productDescription String The product description which is a combination of (type, color) and (size ,fit type) separated by a comma Eg: Shirt Blue, XS/S
Returns:
The size and garment description returned {@link:module:useCases/fabship/rfidUseCases~filteredSizeAndDesc}
Type
filterSizeAndDescription

Type Definitions

filterSizeAndDescription

Type:
  • Object
Properties:
Name Type Description
filterSizeAndDescription.size String The filtered size
filterSizeAndDescription.garmentDescription String The filtered garment description

filterSizeAndDescription

Type:
  • Object
Properties:
Name Type Description
filterSizeAndDescription.size String The filtered size
filterSizeAndDescription.garmentDescription String The filtered garment description