public class DefaultChineseCustomerAccountService extends DefaultCustomerAccountService implements ChineseCustomerAccountService
ChineseCustomerAccountService. Delivers main functionality for chinese Customer account.| Constructor and Description |
|---|
DefaultChineseCustomerAccountService() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
generateVerificationCode()
Generate a verification code.
|
java.util.Optional<CustomerModel> |
getCustomerForMobileNumber(java.lang.String mobileNumber)
Find a customer by using mobile number.
|
protected UserDao |
getUserDao() |
protected VerificationCodeGenerationStrategy |
getVerificationCodeGenerationStrategy() |
protected VerificationCodeSendingStrategy |
getVerificationCodeSendingStrategy() |
void |
sendVerificationCode(VerificationData data)
Send verification code
|
void |
setUserDao(UserDao userDao) |
void |
setVerificationCodeGenerationStrategy(VerificationCodeGenerationStrategy verificationCodeGenerationStrategy) |
void |
setVerificationCodeSendingStrategy(VerificationCodeSendingStrategy verificationCodeSendingStrategy) |
void |
updateMobileNumber(CustomerModel customerModel)
Update customer's mobile number
|
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, unlinkCCPaymentInfo, updatePassword, updateProfileclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchangePassword, changeUid, clearDefaultAddressEntry, closeAccount, convertGuestToCustomer, createPaymentSubscription, deleteAddressEntry, deleteCCPaymentInfo, forgottenPassword, getAddressBookDeliveryEntries, getAddressBookEntries, getAddressForCode, getAllAddressEntries, getCreditCardPaymentInfoForCode, getCreditCardPaymentInfos, getDefaultAddress, getGuestOrderForGUID, getOrderDetailsForGUID, getOrderForCode, getOrderForCode, getOrderList, getOrderList, getReturnRequestsByCustomerAndStore, getTitles, register, registerGuestForAnonymousCheckout, saveAddressEntry, setDefaultAddressEntry, setDefaultPaymentInfo, unlinkCCPaymentInfo, updatePassword, updateProfilepublic DefaultChineseCustomerAccountService()
public java.lang.String generateVerificationCode()
ChineseCustomerAccountServicegenerateVerificationCode in interface ChineseCustomerAccountServicepublic void sendVerificationCode(VerificationData data)
ChineseCustomerAccountServicesendVerificationCode in interface ChineseCustomerAccountServicedata - the data that contains sending info.public void updateMobileNumber(CustomerModel customerModel)
ChineseCustomerAccountServiceupdateMobileNumber in interface ChineseCustomerAccountServicecustomerModel - customer to be updatedpublic java.util.Optional<CustomerModel> getCustomerForMobileNumber(java.lang.String mobileNumber)
ChineseCustomerAccountServicegetCustomerForMobileNumber in interface ChineseCustomerAccountServicemobileNumber - the number to queryprotected VerificationCodeGenerationStrategy getVerificationCodeGenerationStrategy()
public void setVerificationCodeGenerationStrategy(VerificationCodeGenerationStrategy verificationCodeGenerationStrategy)
protected VerificationCodeSendingStrategy getVerificationCodeSendingStrategy()
public void setVerificationCodeSendingStrategy(VerificationCodeSendingStrategy verificationCodeSendingStrategy)
protected UserDao getUserDao()
public void setUserDao(UserDao userDao)
Copyright © 2018 SAP SE. All Rights Reserved.