@ProviderType
public interface PaymentMethod
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription()
Return a shopper-oriented description.
|
java.lang.String |
getImageUrl(java.lang.String selector)
Return a shopper-oriented image identifying the payment method.
|
java.lang.String |
getPath()
Get the path of the payment method if represented in the repository.
|
java.lang.String |
getPredicate()
Return the name of a predicate which can be used to identify this payment method's
properties within an order.
|
<T> T |
getProperty(java.lang.String name,
java.lang.Class<T> type)
Fetch implementation-defined properties from a payment method.
|
java.lang.String |
getRedirectUrl()
Return a URL to redirect to for data collection, or
null if no redirect
(or no data collection) is required. |
java.lang.String |
getTitle()
Return a shopper-oriented title.
|
java.lang.String |
getUIPath()
Return a path to any additional content to be displayed (such as form fields to collect
data relevant to the payment, etc.)
Return null if data is not collected through CQ.
|
java.lang.String getPath()
java.lang.String getPredicate()
java.lang.String getTitle()
getProperty(java.lang.String, java.lang.Class<T>)
.)java.lang.String getDescription()
getProperty(java.lang.String, java.lang.Class<T>)
.)java.lang.String getImageUrl(java.lang.String selector)
selector
- An implementation-defined selector for image processing/selection (such
as a sizing parameter, image-type, etc.)java.lang.String getUIPath()
java.lang.String getRedirectUrl()
null
if no redirect
(or no data collection) is required.<T> T getProperty(java.lang.String name, java.lang.Class<T> type)
name
- The property nametype
- The type the property value should be converted toCopyright © 2010 - 2020 Adobe. All Rights Reserved