public interface PunchOutCredentialService
PunchOutCredentialModel.| Modifier and Type | Method and Description |
|---|---|
B2BCustomerModel |
getCustomerForCredential(Credential credential)
Get the first valid
B2BCustomerModel that is mapped for one of the pair domain and identity contained in
the credential and validate the shared secret. |
B2BCustomerModel |
getCustomerForCredentialNoAuth(Credential credential)
Get the first valid
B2BCustomerModel that is mapped for one of the pair domain and identity contained in
the credential without validating the shared secret. |
PunchOutCredentialModel |
getPunchOutCredential(java.lang.String domain,
java.lang.String identity)
Get an
PunchOutCredentialModel based on the domain and identity. |
PunchOutCredentialModel getPunchOutCredential(java.lang.String domain, java.lang.String identity)
PunchOutCredentialModel based on the domain and identity.domain - The domain of this identity (e.g.: DUNS).identity - The value of the identity.PunchOutCredentialModel or null, if it cannot be found.B2BCustomerModel getCustomerForCredential(Credential credential)
B2BCustomerModel that is mapped for one of the pair domain and identity contained in
the credential and validate the shared secret.credential - The credential that contains domain and identity.B2BCustomerModel or null, if the credential is not mapped for any customer.B2BCustomerModel getCustomerForCredentialNoAuth(Credential credential)
B2BCustomerModel that is mapped for one of the pair domain and identity contained in
the credential without validating the shared secret.credential - The credential that contains domain and identity.B2BCustomerModel or null, if the credential is not mapped for any customer.Copyright © 2018 SAP SE. All Rights Reserved.