All Methods Instance Methods Concrete Methods
| Modifier and Type |
Method |
Description |
protected boolean |
areAddressesEqual(CisAddress veryfiedAddress,
CisAddress suggestedAddress) |
|
protected AddressVerificationResultData<AddressVerificationDecision,AddressFieldErrorData<AddressFieldType,AddressErrorCode>> |
createVerificationResult() |
|
protected boolean |
equalsIgnoreNullAndEmpty(java.lang.String str1,
java.lang.String str2) |
|
protected CheckVerificationRequiredStrategy |
getApplyVerificationStrategy() |
|
protected BaseStoreService |
getBaseStoreService() |
|
protected CartService |
getCartService() |
|
protected Converter<AddressModel,CisAddress> |
getCisAvsAddressConverter() |
|
protected Populator<AddressModel,AddressVerificationResultData<AddressVerificationDecision,AddressFieldErrorData<AddressFieldType,AddressErrorCode>>> |
getCisAvsAddressMatchingPopulator() |
|
protected Converter<AvsResult,AddressVerificationResultData> |
getCisAvsResultAddressVerificationResultDataConverter() |
|
protected CisClientAvsService |
getCisClientAvsService() |
|
protected java.lang.String |
getClientRef() |
|
protected CommonI18NService |
getCommonI18NService() |
|
protected java.lang.String |
getDefaultClientRef() |
|
protected RegionModel |
getRegionForCountryIsoCode(CisAddress address) |
|
protected java.lang.String |
getTenantId() |
|
boolean |
isCustomerAllowedToIgnoreSuggestions() |
Used to determine if the customer is allowed to ignore the address suggestions of this AddressVerificationService
and proceed with checkout.
|
protected void |
removeVerifiedAddressFromSuggestedAddresses(CisAddress veryfiedAddress,
java.util.List<CisAddress> suggestedAddressesList) |
This method will remove suggested address from list when it is identical with address we sent for verification but
only when it is the only address on the list
|
void |
setApplyVerificationStrategy(CheckVerificationRequiredStrategy applyVerificationStrategy) |
|
void |
setBaseStoreService(BaseStoreService baseStoreService) |
|
void |
setCartService(CartService cartService) |
|
void |
setCisAvsAddressConverter(Converter<AddressModel,CisAddress> cisAvsAddressConverter) |
|
void |
setCisAvsAddressMatchingPopulator(Populator<AddressModel,AddressVerificationResultData<AddressVerificationDecision,AddressFieldErrorData<AddressFieldType,AddressErrorCode>>> cisAvsAddressMatchingPopulator) |
|
void |
setCisAvsResultAddressVerificationResultDataConverter(Converter<AvsResult,AddressVerificationResultData> cisAvsResultAddressVerificationResultDataConverter) |
|
void |
setCisClientAvsService(CisClientAvsService cisClientAvsService) |
|
void |
setCommonI18NService(CommonI18NService commonI18NService) |
|
void |
setDefaultClientRef(java.lang.String defaultClientRef) |
|
void |
setTenantId(java.lang.String tenantId) |
|
AddressVerificationResultData<AddressVerificationDecision,AddressFieldErrorData<AddressFieldType,AddressErrorCode>> |
verifyAddress(AddressModel addressModel) |
This method takes in an AddressModel, verifies it using the chosen implementation and returns an
AddressVerificationResultData.
|