Interface CreditCardMappingService

All Known Implementing Classes:
DefaultCreditCardMappingService

public interface CreditCardMappingService
This service should be implemented, if there is a difference between the credit card codes defined in hybris in comparison to those of a billing provider.
  • Method Details

    • convertCCToProviderSpecificName

      boolean convertCCToProviderSpecificName(@Nonnull Collection<CardTypeData> creditCards, String billingProvider)
      Converts the code of a credit card to the appropriate code of the provider
      Parameters:
      creditCards - the credit cards
      billingProvider - the name of the billing provider
      Returns:
      true if conversion is done