public class DefaultCommerceWebServicesPaymentFacade extends DefaultPaymentFacade implements CommerceWebServicesPaymentFacade
CommerceWebServicesPaymentFacade.| Constructor and Description |
|---|
DefaultCommerceWebServicesPaymentFacade() |
| Modifier and Type | Method and Description |
|---|---|
PaymentData |
beginSopCreateSubscription(java.lang.String responseUrl,
java.lang.String merchantCallbackUrl)
Gets the Silent Order Post request data which includes all data required to create a
subscription (customer profile).
|
ConfigurationService |
getConfigurationService() |
protected java.lang.String |
getFullResponseUrl(java.lang.String url,
java.lang.String siteName,
boolean isSecure)
Resolves a given URL to a full URL including server and port, etc.
|
ModelService |
getModelService() |
PaymentSubscriptionResultData |
getPaymentSubscriptionResult(java.lang.String cartId)
Get payment subscription result related to cart with given id
|
protected PaymentSubscriptionResultModel |
getPaymentSubscriptionResultForCart(java.lang.String cartId) |
PaymentSubscriptionResultService |
getPaymentSubscriptionResultService() |
void |
removePaymentSubscriptionResult(java.lang.String cartId)
Delete payment subscription result related to cart with given id
|
void |
savePaymentSubscriptionResult(PaymentSubscriptionResultData paymentSubscriptionResultData,
java.lang.String cartId)
Save payment subscription result for cart with given id
|
void |
setConfigurationService(ConfigurationService configurationService) |
void |
setModelService(ModelService modelService) |
void |
setPaymentSubscriptionResultService(PaymentSubscriptionResultService paymentSubscriptionResultService) |
beginHopCreateSubscription, completeHopCreateSubscription, completeSopCreateSubscription, completeSopCreateSubscription, getBaseSiteService, getCheckoutCustomerStrategy, getCurrentSiteName, getCurrentUserForCheckout, getCustomerAccountService, getDefaultPaymentAddress, getFullResponseUrl, getPaymentService, getPaymentSubscriptionResultDataConverter, getSiteBaseUrlResolutionService, getSiteConfigService, getUserService, setBaseSiteService, setCheckoutCustomerStrategy, setCustomerAccountService, setPaymentService, setPaymentSubscriptionResultDataConverter, setSiteBaseUrlResolutionService, setSiteConfigService, setUserServiceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbeginHopCreateSubscription, completeHopCreateSubscription, completeSopCreateSubscription, completeSopCreateSubscriptionpublic DefaultCommerceWebServicesPaymentFacade()
public PaymentData beginSopCreateSubscription(java.lang.String responseUrl, java.lang.String merchantCallbackUrl)
PaymentFacadebeginSopCreateSubscription in interface PaymentFacadebeginSopCreateSubscription in class DefaultPaymentFacaderesponseUrl - - requires a HostedOrderPageRequest object containing all the request data.merchantCallbackUrl - - The URL of the MerchantCallbackController used by the Provider to send validation responses.PaymentData object which contains all data required to create a subscription.protected java.lang.String getFullResponseUrl(java.lang.String url,
java.lang.String siteName,
boolean isSecure)
url - - the URL to resolveisSecure - - flag to indicate whether the final URL should use a secure connection or not.public void savePaymentSubscriptionResult(PaymentSubscriptionResultData paymentSubscriptionResultData, java.lang.String cartId)
CommerceWebServicesPaymentFacadesavePaymentSubscriptionResult in interface CommerceWebServicesPaymentFacadepaymentSubscriptionResultData - Object to be savedcartId - Cart identifierpublic PaymentSubscriptionResultData getPaymentSubscriptionResult(java.lang.String cartId)
CommerceWebServicesPaymentFacadegetPaymentSubscriptionResult in interface CommerceWebServicesPaymentFacadecartId - Cart identifierprotected PaymentSubscriptionResultModel getPaymentSubscriptionResultForCart(java.lang.String cartId)
public void removePaymentSubscriptionResult(java.lang.String cartId)
CommerceWebServicesPaymentFacaderemovePaymentSubscriptionResult in interface CommerceWebServicesPaymentFacadecartId - Cart identifierpublic ConfigurationService getConfigurationService()
public void setConfigurationService(ConfigurationService configurationService)
public PaymentSubscriptionResultService getPaymentSubscriptionResultService()
public void setPaymentSubscriptionResultService(PaymentSubscriptionResultService paymentSubscriptionResultService)
public ModelService getModelService()
public void setModelService(ModelService modelService)
Copyright © 2018 SAP SE. All Rights Reserved.