public class DefaultAddressVerificationService extends java.lang.Object implements AddressVerificationService<AddressVerificationDecision,AddressFieldErrorData<AddressFieldType,AddressErrorCode>>
AddressVerificationService.| Constructor and Description |
|---|
DefaultAddressVerificationService() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isCustomerAllowedToIgnoreSuggestions()
Used to determine if the customer is allowed to ignore the address suggestions of this AddressVerificationService
and proceed with checkout.
|
AddressVerificationResultData<AddressVerificationDecision,AddressFieldErrorData<AddressFieldType,AddressErrorCode>> |
verifyAddress(AddressModel addressModel)
This method takes in an AddressModel, verifies it using the chosen implementation and returns an
AddressVerificationResultData.
|
public AddressVerificationResultData<AddressVerificationDecision,AddressFieldErrorData<AddressFieldType,AddressErrorCode>> verifyAddress(AddressModel addressModel)
AddressVerificationServiceverifyAddress in interface AddressVerificationService<AddressVerificationDecision,AddressFieldErrorData<AddressFieldType,AddressErrorCode>>addressModel - the address to be verified.public boolean isCustomerAllowedToIgnoreSuggestions()
AddressVerificationServiceisCustomerAllowedToIgnoreSuggestions in interface AddressVerificationService<AddressVerificationDecision,AddressFieldErrorData<AddressFieldType,AddressErrorCode>>Copyright © 2018 SAP SE. All Rights Reserved.