Class DefaultUnifiedUICreateUpdateATPCOBaggageStrategy
java.lang.Object
de.hybris.platform.unifieduibackofficeservices.strategies.impl.AbstractCreateUpdateATPCOServiceStrategy
de.hybris.platform.unifieduibackofficeservices.strategies.impl.DefaultUnifiedUICreateUpdateATPCOBaggageStrategy
- All Implemented Interfaces:
UnifiedUIATPCOBaggageCarryOnServiceStrategy
public class DefaultUnifiedUICreateUpdateATPCOBaggageStrategy
extends AbstractCreateUpdateATPCOServiceStrategy
implements UnifiedUIATPCOBaggageCarryOnServiceStrategy
The Unified UI implementation of
UnifiedUIATPCOBaggageCarryOnServiceStrategy interface, to create/update an ATPCO
baggage product.-
Field Summary
FieldsFields inherited from class de.hybris.platform.unifieduibackofficeservices.strategies.impl.AbstractCreateUpdateATPCOServiceStrategy
DEFAULT_REISSUE_TYPE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcreateATPCOBaggageService(AncillaryProduct ancillaryProduct, CatalogVersionModel catalogVersion, Set<String> productNotCreatedUpdate) Creates an ATPCO baggage service for each ancillary retrieved from the dataService response.voidcreateUpdateATPCOBaggageCarryOnProduct(AncillaryProduct ancillaryProduct, CatalogVersionModel catalogVersion, Set<String> productNotCreated, List<ShoppingBaggageProductModel> shoppingBaggageProducts) This method will either create or update an existing ATPCO baggage/carryOn in the system from the merchandising data service response.Gets pros refund type refund reissue mapping.voidsetProsRefundTypeRefundReissueMapping(Map<String, String> prosRefundTypeRefundReissueMapping) Sets pros refund type refund reissue mapping.protected voidupdateATPCOBaggageService(ShoppingBaggageProductModel atpcoService, CatalogVersionModel catalogVersion, AncillaryProduct ancillaryProduct, Set<String> productNotCreatedUpdate) Updates an ATPCO baggage service.Methods inherited from class de.hybris.platform.unifieduibackofficeservices.strategies.impl.AbstractCreateUpdateATPCOServiceStrategy
getCategoryService, getModelService, getOfferGroupByShoppingCategoryReferenceAndCatalogVersion, getProsOfferGroupService, getServiceKey, setCategoryService, setModelService, setProsOfferGroupService
-
Field Details
-
CODE_CHARACTER_UNDERSCORE
- See Also:
-
-
Constructor Details
-
DefaultUnifiedUICreateUpdateATPCOBaggageStrategy
public DefaultUnifiedUICreateUpdateATPCOBaggageStrategy()
-
-
Method Details
-
createUpdateATPCOBaggageCarryOnProduct
public void createUpdateATPCOBaggageCarryOnProduct(AncillaryProduct ancillaryProduct, CatalogVersionModel catalogVersion, Set<String> productNotCreated, List<ShoppingBaggageProductModel> shoppingBaggageProducts) Description copied from interface:UnifiedUIATPCOBaggageCarryOnServiceStrategyThis method will either create or update an existing ATPCO baggage/carryOn in the system from the merchandising data service response.- Specified by:
createUpdateATPCOBaggageCarryOnProductin interfaceUnifiedUIATPCOBaggageCarryOnServiceStrategy- Parameters:
ancillaryProduct- the services to create/update in the systemcatalogVersion- the catalog versionproductNotCreated- the list of product to be filled with the code of the product that are not created due to some issuesshoppingBaggageProducts- the list of baggages/carry on to be updated
-
createATPCOBaggageService
protected void createATPCOBaggageService(AncillaryProduct ancillaryProduct, CatalogVersionModel catalogVersion, Set<String> productNotCreatedUpdate) throws de.hybris.platform.servicelayer.exceptions.ModelSavingException Creates an ATPCO baggage service for each ancillary retrieved from the dataService response.- Parameters:
ancillaryProduct- the service retrieved from the dataService responsecatalogVersion- the catalog versionproductNotCreatedUpdate- the list of product that has not been created/updated- Throws:
de.hybris.platform.servicelayer.exceptions.ModelSavingException
-
updateATPCOBaggageService
protected void updateATPCOBaggageService(ShoppingBaggageProductModel atpcoService, CatalogVersionModel catalogVersion, AncillaryProduct ancillaryProduct, Set<String> productNotCreatedUpdate) throws de.hybris.platform.servicelayer.exceptions.ModelSavingException Updates an ATPCO baggage service.- Parameters:
atpcoService- the atpco servicecatalogVersion- the catalog versionancillaryProduct- the ancillary productproductNotCreatedUpdate- the list of product that has not been created/updated- Throws:
de.hybris.platform.servicelayer.exceptions.ModelSavingException
-
getProsRefundTypeRefundReissueMapping
Gets pros refund type refund reissue mapping.- Returns:
- the pros refund type refund reissue mapping
-
setProsRefundTypeRefundReissueMapping
public void setProsRefundTypeRefundReissueMapping(Map<String, String> prosRefundTypeRefundReissueMapping) Sets pros refund type refund reissue mapping.- Parameters:
prosRefundTypeRefundReissueMapping- the pros refund type refund reissue mapping
-