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 -
Method Summary
Modifier and TypeMethodDescriptioncreateDeleteCardRequestList(List<CreditCardPaymentInfoModel> creditCardPaymentInfoList) Create delete card request list from CreditCardPaymentInfo ListvoidsetCisSapDigitalPaymentService(CisSapDigitalPaymentService cisSapDigitalPaymentService) voidsetSapDigiPayDeleteCardTranResult(Map<String, String> sapDigiPayDeleteCardTranResult) voidsetSapDigitalPaymentConfigurationStrategy(SapDigitalPaymentConfigurationStrategy sapDigitalPaymentConfigurationStrategy) voidunlinkCCPaymentInfo(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
-
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:
unlinkCCPaymentInfoin interfacede.hybris.platform.commerceservices.customer.CustomerAccountService- Overrides:
unlinkCCPaymentInfoin classde.hybris.platform.commerceservices.customer.impl.DefaultCustomerAccountService- Parameters:
customerModel- - Customer for whom the payment details need to be removedcreditCardPaymentInfo- - Credit card information to be removed.
-
createDeleteCardRequestList
public CisSapDigitalPaymentCardDeletionRequestList createDeleteCardRequestList(List<CreditCardPaymentInfoModel> creditCardPaymentInfoList) Create delete card request list from CreditCardPaymentInfo List- Specified by:
createDeleteCardRequestListin interfaceSapDigitalPaymentCustomerAccountService- Parameters:
creditCardPaymentInfoList- - List of CreditCardPaymentInfoModel- Returns:
- CisSapDigitalPaymentCardDeletionRequestList - List of CisSapDigitalPaymentTokenizedCardResult
-
getCisSapDigitalPaymentService
- Returns:
- the cisSapDigitalPaymentService
-
setCisSapDigitalPaymentService
- Parameters:
cisSapDigitalPaymentService- the cisSapDigitalPaymentService to set
-
getSapDigiPayDeleteCardTranResult
- Returns:
- the sapDigiPayDeleteCardTranResult
-
setSapDigiPayDeleteCardTranResult
- Parameters:
sapDigiPayDeleteCardTranResult- the sapDigiPayDeleteCardTranResult to set
-
getSapDigitalPaymentConfigurationStrategy
- Returns:
- the sapDigitalPaymentConfigurationStrategy
-
setSapDigitalPaymentConfigurationStrategy
public void setSapDigitalPaymentConfigurationStrategy(SapDigitalPaymentConfigurationStrategy sapDigitalPaymentConfigurationStrategy) - Parameters:
sapDigitalPaymentConfigurationStrategy- the sapDigitalPaymentConfigurationStrategy to set
-