Class EmptySapPartnerService
- java.lang.Object
-
- de.hybris.platform.sap.sapordermgmtservices.partner.impl.EmptySapPartnerService
-
- All Implemented Interfaces:
SapPartnerService
public class EmptySapPartnerService extends java.lang.Object implements SapPartnerService
Empty implementation forSapPartnerService. Used just to avoid spring issues. Use a real implementation, instead.
-
-
Constructor Summary
Constructors Constructor Description EmptySapPartnerService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection<AddressModel>getAllowedDeliveryAddresses()Retrieving delivery addresses belonging to the current session customer.CustomerModelgetB2BCustomerForSapContactId(java.lang.String sapContactId)Retrieving the hybris representation of a customer.java.lang.StringgetCurrentSapContactId()Retrieving contact personjava.lang.StringgetCurrentSapCustomerId()Retrieving sold-toAddressModelgetHybrisAddressForSAPCustomerId(java.lang.String sapCustomerId)Retrieving hybris address for an SAP customer (who can act as sold-to or ship-to party in the system)
-
-
-
Method Detail
-
getCurrentSapCustomerId
public java.lang.String getCurrentSapCustomerId()
Description copied from interface:SapPartnerServiceRetrieving sold-to- Specified by:
getCurrentSapCustomerIdin interfaceSapPartnerService- Returns:
- Technical SAP key of sold-to party connected to the current hybris user
-
getCurrentSapContactId
public java.lang.String getCurrentSapContactId()
Description copied from interface:SapPartnerServiceRetrieving contact person- Specified by:
getCurrentSapContactIdin interfaceSapPartnerService- Returns:
- Technical SAP key of contact person connected to the current hybris user
-
getHybrisAddressForSAPCustomerId
public AddressModel getHybrisAddressForSAPCustomerId(java.lang.String sapCustomerId)
Description copied from interface:SapPartnerServiceRetrieving hybris address for an SAP customer (who can act as sold-to or ship-to party in the system)- Specified by:
getHybrisAddressForSAPCustomerIdin interfaceSapPartnerService- Parameters:
sapCustomerId- Technical key of SAP customer- Returns:
- hybris representation of the customer's address
-
getAllowedDeliveryAddresses
public java.util.Collection<AddressModel> getAllowedDeliveryAddresses()
Description copied from interface:SapPartnerServiceRetrieving delivery addresses belonging to the current session customer. These addresses correspond to ship-to parties assigned to the current customer in the SAP back end- Specified by:
getAllowedDeliveryAddressesin interfaceSapPartnerService- Returns:
- Possible delivery addresses
-
getB2BCustomerForSapContactId
public CustomerModel getB2BCustomerForSapContactId(java.lang.String sapContactId)
Description copied from interface:SapPartnerServiceRetrieving the hybris representation of a customer.- Specified by:
getB2BCustomerForSapContactIdin interfaceSapPartnerService- Parameters:
sapContactId- Technical key of an SAP contact person- Returns:
- Customer customer
-
-