public class DefaultSAPPartnerService extends java.lang.Object implements SapPartnerService
SapPartnerService| Constructor and Description |
|---|
DefaultSAPPartnerService() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<AddressModel> |
getAllowedDeliveryAddresses()
Retrieving delivery addresses belonging to the current session customer.
|
B2BCustomerModel |
getB2BCustomerForSapContactId(java.lang.String sapContactId)
Retrieving the hybris representation of a customer.
|
java.lang.String |
getCurrentSapContactId()
Retrieving contact person
|
java.lang.String |
getCurrentSapCustomerId()
Retrieving sold-to
|
AddressModel |
getHybrisAddressForSAPCustomerId(java.lang.String sapCustomerId)
Retrieving hybris address for an SAP customer (who can act as sold-to or ship-to party in the system)
|
void |
setB2bCustomerService(B2BCustomerService b2bCustomerService) |
void |
setB2bUnitService(B2BUnitService b2bUnitService) |
public java.lang.String getCurrentSapCustomerId()
SapPartnerServicegetCurrentSapCustomerId in interface SapPartnerServicepublic java.lang.String getCurrentSapContactId()
SapPartnerServicegetCurrentSapContactId in interface SapPartnerServicepublic AddressModel getHybrisAddressForSAPCustomerId(java.lang.String sapCustomerId)
SapPartnerServicegetHybrisAddressForSAPCustomerId in interface SapPartnerServicesapCustomerId - Technical key of SAP customerpublic java.util.Collection<AddressModel> getAllowedDeliveryAddresses()
SapPartnerServicegetAllowedDeliveryAddresses in interface SapPartnerServicepublic B2BCustomerModel getB2BCustomerForSapContactId(java.lang.String sapContactId)
SapPartnerServicegetB2BCustomerForSapContactId in interface SapPartnerServicesapContactId - Technical key of an SAP contact personpublic void setB2bCustomerService(B2BCustomerService b2bCustomerService)
public void setB2bUnitService(B2BUnitService b2bUnitService)
Copyright © 2018 SAP SE. All Rights Reserved.