Class DefaultCommerceCardTypeService
- java.lang.Object
-
- de.hybris.platform.commerceservices.order.impl.DefaultCommerceCardTypeService
-
- All Implemented Interfaces:
CommerceCardTypeService
public class DefaultCommerceCardTypeService extends java.lang.Object implements CommerceCardTypeService
Default implementation of service which returns defined card types
-
-
Constructor Summary
Constructors Constructor Description DefaultCommerceCardTypeService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcreateCardTypeCollection()CardTypegetCardTypeForCode(java.lang.String code)Gets a card type by codejava.util.Collection<CardType>getCardTypes()Get all credit card typesprotected EnumerationServicegetEnumerationService()protected TypeServicegetTypeService()voidsetEnumerationService(EnumerationService enumerationService)voidsetTypeService(TypeService typeService)
-
-
-
Method Detail
-
getEnumerationService
protected EnumerationService getEnumerationService()
-
setEnumerationService
public void setEnumerationService(EnumerationService enumerationService)
-
getTypeService
protected TypeService getTypeService()
-
setTypeService
public void setTypeService(TypeService typeService)
-
createCardTypeCollection
protected void createCardTypeCollection()
-
getCardTypes
public java.util.Collection<CardType> getCardTypes()
Description copied from interface:CommerceCardTypeServiceGet all credit card types- Specified by:
getCardTypesin interfaceCommerceCardTypeService- Returns:
- the
Collectionof card types
-
getCardTypeForCode
public CardType getCardTypeForCode(java.lang.String code)
Description copied from interface:CommerceCardTypeServiceGets a card type by code- Specified by:
getCardTypeForCodein interfaceCommerceCardTypeService- Parameters:
code- the card type code- Returns:
- the card type
-
-