public class SellerProductCategoryValidator extends Object
Constructor and Description |
---|
SellerProductCategoryValidator() |
Modifier and Type | Method and Description |
---|---|
static boolean |
validateSellerProduct(String vendorId,
Long displayCategoryId,
String secretKey,
String accessKey,
OSellerProduct oSellerProduct,
ResourceBundle resourceBundle)
validateSellerProduct will check the correctness of the product based on the specified display category code
|
public static boolean validateSellerProduct(String vendorId, Long displayCategoryId, String secretKey, String accessKey, OSellerProduct oSellerProduct, ResourceBundle resourceBundle)
vendorId
- vendor IDdisplayCategoryId
- display category IDsecretKey
- secret key for generating HMAC token to access the APIaccessKey
- access key for generating HMAC token to access the APIoSellerProduct
- the seller product to be registeredresourceBundle
- the resource bundle for validation message localizationCopyright © 2022. All rights reserved.