public interface PaymentFacade
| Modifier and Type | Method and Description |
|---|---|
PaymentData |
beginHopCreateSubscription(java.lang.String responseUrl,
java.lang.String merchantCallbackUrl)
Gets the Hosted Order Page request data which includes all data required to create a
subscription (customer profile).
|
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).
|
PaymentSubscriptionResultData |
completeHopCreateSubscription(java.util.Map<java.lang.String,java.lang.String> parameters,
boolean saveInAccount)
Called to create a subscription internally with the result parameters obtained from the provider's Hosted Order
Page.
|
PaymentSubscriptionResultData |
completeSopCreateSubscription(java.util.Map<java.lang.String,java.lang.String> parameters,
boolean saveInAccount)
Called to create a subscription internally with the result parameters obtained from the provider's Silent Order
Post.
|
PaymentSubscriptionResultData |
completeSopCreateSubscription(java.util.Map<java.lang.String,java.lang.String> parameters,
boolean saveInAccount,
boolean defaultPayment)
Called to create a subscription internally with the result parameters obtained from the provider's Silent Order
Post.
|
PaymentData beginHopCreateSubscription(java.lang.String responseUrl, java.lang.String merchantCallbackUrl)
responseUrl - - 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.PaymentData beginSopCreateSubscription(java.lang.String responseUrl, java.lang.String merchantCallbackUrl)
responseUrl - - 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.PaymentSubscriptionResultData completeHopCreateSubscription(java.util.Map<java.lang.String,java.lang.String> parameters, boolean saveInAccount)
parameters - - a Map of key-value paired Strings with the result data returned from the HOP/SOP response.saveInAccount - - a Flag to tell if the PaymentInfo created should saved to the account. During guest checkout the
Anonymous user should not hav the PaymentInfos assignedCCPaymentInfoData object representing the subscription created by the HOP/SOP response.PaymentSubscriptionResultData completeSopCreateSubscription(java.util.Map<java.lang.String,java.lang.String> parameters, boolean saveInAccount)
parameters - - a Map of key-value paired Strings with the result data returned from the HOP/SOP response.saveInAccount - - a Flag to tell if the PaymentInfo created should saved to the account. During guest checkout the
Anonymous user should not hav the PaymentInfos assignedCCPaymentInfoData object representing the subscription created by the HOP/SOP response.PaymentSubscriptionResultData completeSopCreateSubscription(java.util.Map<java.lang.String,java.lang.String> parameters, boolean saveInAccount, boolean defaultPayment)
parameters - - a Map of key-value paired Strings with the result data returned from the HOP/SOP response.saveInAccount - - a Flag to tell if the PaymentInfo created should saved to the account. During guest checkout the
Anonymous user should not hav the PaymentInfos assigneddefaultPayment - - a flag to tell whether the created PaymentInfo should be made default or notCCPaymentInfoData object representing the subscription created by the HOP/SOP response.Copyright © 2018 SAP SE. All Rights Reserved.