Class DefaultSapDigitalPaymentCustomerAccountService

java.lang.Object
de.hybris.platform.commerceservices.customer.impl.DefaultCustomerAccountService
de.hybris.platform.cissapdigitalpayment.service.impl.DefaultSapDigitalPaymentCustomerAccountService
All Implemented Interfaces:
SapDigitalPaymentCustomerAccountService, de.hybris.platform.commerceservices.customer.CustomerAccountService

public class DefaultSapDigitalPaymentCustomerAccountService extends de.hybris.platform.commerceservices.customer.impl.DefaultCustomerAccountService implements SapDigitalPaymentCustomerAccountService
Default implementation for SapDigitalPaymentCustomerAccountService
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Create delete card request list from CreditCardPaymentInfo List
     
     
     
    void
     
    void
    setSapDigiPayDeleteCardTranResult(Map<String,String> sapDigiPayDeleteCardTranResult)
     
    void
     
    void
    unlinkCCPaymentInfo(CustomerModel customerModel, CreditCardPaymentInfoModel creditCardPaymentInfo)
    Unlink the credit card payment info from the customer.

    Methods inherited from class de.hybris.platform.commerceservices.customer.impl.DefaultCustomerAccountService

    addPaymentInfo, adjustPassword, changePassword, changeUid, checkUidUniqueness, clearDefaultAddressEntry, closeAccount, convertGuestToCustomer, createPaymentSubscription, deleteAddressEntry, deleteCCPaymentInfo, fillValuesForCustomerInfo, forgottenPassword, generateCustomerId, getAddressBookDeliveryEntries, getAddressBookEntries, getAddressForCode, getAllAddressEntries, getBaseSiteService, getBaseStoreService, getCommerceCommonI18NService, getCommerceConsentService, getCommonI18NService, getConfigurationService, getCreditCardPaymentInfoForCode, getCreditCardPaymentInfos, getCurrency, getCustomerAccountDao, getCustomerEmailResolutionService, getCustomerNameStrategy, getDefaultAddress, getDelayTime, getEventService, getFlexibleSearchService, getGuestOrderForGUID, getI18nService, getMaskedCardNumber, getModelService, getMonthsForOrderExpiry, getOrderDetailsForGUID, getOrderForCode, getOrderForCode, getOrderList, getOrderList, getPasswordEncoderService, getPasswordEncoding, getPaymentService, getReturnRequestsByCustomerAndStore, getSecureTokenService, getSessionService, getTimeService, getTitles, getTokenValiditySeconds, getTypeService, getUserService, initializeEvent, internalSaveCustomer, populateAndGetSessionConsentsToRegisteredUser, register, registerCustomer, registerGuestForAnonymousCheckout, saveAddressEntry, setBaseSiteService, setBaseStoreService, setCommerceCommonI18NService, setCommerceConsentService, setCommonI18NService, setConfigurationService, setCustomerAccountDao, setCustomerEmailResolutionService, setCustomerNameStrategy, setDefaultAddressEntry, setDefaultPaymentInfo, setEventService, setFlexibleSearchService, setI18nService, setModelService, setMonthsForOrderExpiry, setPasswordEncoderService, setPasswordEncoding, setPaymentService, setPopulatingConsentsInSessionEnabled, setSecureTokenService, setSessionService, setTimeService, setTokenValiditySeconds, setTypeService, setUserService, updatePassword, updateProfile

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DefaultSapDigitalPaymentCustomerAccountService

      public DefaultSapDigitalPaymentCustomerAccountService()
  • Method Details

    • unlinkCCPaymentInfo

      public void unlinkCCPaymentInfo(CustomerModel customerModel, CreditCardPaymentInfoModel creditCardPaymentInfo)
      Unlink the credit card payment info from the customer. Send the request to SAP Digital Payment to remove the payment details. Once successfully removed, unlink it from the customer paymentInfo List
      Specified by:
      unlinkCCPaymentInfo in interface de.hybris.platform.commerceservices.customer.CustomerAccountService
      Overrides:
      unlinkCCPaymentInfo in class de.hybris.platform.commerceservices.customer.impl.DefaultCustomerAccountService
      Parameters:
      customerModel - - Customer for whom the payment details need to be removed
      creditCardPaymentInfo - - Credit card information to be removed.
    • createDeleteCardRequestList

      public CisSapDigitalPaymentCardDeletionRequestList createDeleteCardRequestList(List<CreditCardPaymentInfoModel> creditCardPaymentInfoList)
      Create delete card request list from CreditCardPaymentInfo List
      Specified by:
      createDeleteCardRequestList in interface SapDigitalPaymentCustomerAccountService
      Parameters:
      creditCardPaymentInfoList - - List of CreditCardPaymentInfoModel
      Returns:
      CisSapDigitalPaymentCardDeletionRequestList - List of CisSapDigitalPaymentTokenizedCardResult
    • getCisSapDigitalPaymentService

      public CisSapDigitalPaymentService getCisSapDigitalPaymentService()
      Returns:
      the cisSapDigitalPaymentService
    • setCisSapDigitalPaymentService

      public void setCisSapDigitalPaymentService(CisSapDigitalPaymentService cisSapDigitalPaymentService)
      Parameters:
      cisSapDigitalPaymentService - the cisSapDigitalPaymentService to set
    • getSapDigiPayDeleteCardTranResult

      public Map<String,String> getSapDigiPayDeleteCardTranResult()
      Returns:
      the sapDigiPayDeleteCardTranResult
    • setSapDigiPayDeleteCardTranResult

      public void setSapDigiPayDeleteCardTranResult(Map<String,String> sapDigiPayDeleteCardTranResult)
      Parameters:
      sapDigiPayDeleteCardTranResult - the sapDigiPayDeleteCardTranResult to set
    • getSapDigitalPaymentConfigurationStrategy

      public SapDigitalPaymentConfigurationStrategy getSapDigitalPaymentConfigurationStrategy()
      Returns:
      the sapDigitalPaymentConfigurationStrategy
    • setSapDigitalPaymentConfigurationStrategy

      public void setSapDigitalPaymentConfigurationStrategy(SapDigitalPaymentConfigurationStrategy sapDigitalPaymentConfigurationStrategy)
      Parameters:
      sapDigitalPaymentConfigurationStrategy - the sapDigitalPaymentConfigurationStrategy to set