Class DefaultSapDigitalPaymentCustomerAccountService
- java.lang.Object
-
- de.hybris.platform.commerceservices.customer.impl.DefaultCustomerAccountService
-
- de.hybris.platform.cissapdigitalpayment.service.impl.DefaultSapDigitalPaymentCustomerAccountService
-
- All Implemented Interfaces:
SapDigitalPaymentCustomerAccountService,CustomerAccountService
public class DefaultSapDigitalPaymentCustomerAccountService extends DefaultCustomerAccountService implements SapDigitalPaymentCustomerAccountService
Default implementation forSapDigitalPaymentCustomerAccountService
-
-
Constructor Summary
Constructors Constructor Description DefaultSapDigitalPaymentCustomerAccountService()
-
Method Summary
-
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, getCommonI18NService, getConfigurationService, getCreditCardPaymentInfoForCode, getCreditCardPaymentInfos, getCurrency, getCustomerAccountDao, getCustomerEmailResolutionService, getCustomerNameStrategy, getDefaultAddress, getEventService, getFlexibleSearchService, getGuestOrderForGUID, getI18nService, getMaskedCardNumber, getModelService, getMonthsForOrderExpiry, getOrderDetailsForGUID, getOrderForCode, getOrderForCode, getOrderList, getOrderList, getPasswordEncoderService, getPasswordEncoding, getPaymentService, getReturnRequestsByCustomerAndStore, getSecureTokenService, getTimeService, getTitles, getTokenValiditySeconds, getTypeService, getUserService, initializeEvent, internalSaveCustomer, register, registerCustomer, registerGuestForAnonymousCheckout, saveAddressEntry, setBaseSiteService, setBaseStoreService, setCommerceCommonI18NService, setCommonI18NService, setConfigurationService, setCustomerAccountDao, setCustomerEmailResolutionService, setCustomerNameStrategy, setDefaultAddressEntry, setDefaultPaymentInfo, setEventService, setFlexibleSearchService, setI18nService, setModelService, setMonthsForOrderExpiry, setPasswordEncoderService, setPasswordEncoding, setPaymentService, setSecureTokenService, setTimeService, setTokenValiditySeconds, setTypeService, setUserService, updatePassword, updateProfile
-
-
-
-
Method Detail
-
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 interfaceCustomerAccountService- Overrides:
unlinkCCPaymentInfoin classDefaultCustomerAccountService- Parameters:
customerModel- - Customer for whom the payment details need to be removedcreditCardPaymentInfo- - Credit card information to be removed.
-
createDeleteCardRequestList
public CisSapDigitalPaymentCardDeletionRequestList createDeleteCardRequestList(java.util.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
public CisSapDigitalPaymentService getCisSapDigitalPaymentService()
- Returns:
- the cisSapDigitalPaymentService
-
setCisSapDigitalPaymentService
public void setCisSapDigitalPaymentService(CisSapDigitalPaymentService cisSapDigitalPaymentService)
- Parameters:
cisSapDigitalPaymentService- the cisSapDigitalPaymentService to set
-
getSapDigiPayDeleteCardTranResult
public java.util.Map<java.lang.String,java.lang.String> getSapDigiPayDeleteCardTranResult()
- Returns:
- the sapDigiPayDeleteCardTranResult
-
setSapDigiPayDeleteCardTranResult
public void setSapDigiPayDeleteCardTranResult(java.util.Map<java.lang.String,java.lang.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
-
-