public interface ShippingMethod
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 shipping method.
|
java.lang.String |
getPath()
Get the path of the shipping method if represented in the repository.
|
java.lang.String |
getPredicate()
Return the name of a predicate which can be used to identify this shipping method's
properties within an order.
|
<T> T |
getProperty(java.lang.String name,
java.lang.Class<T> type)
Fetch implementation-defined properties from a shipping 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 (either for information purposes
or to collect further data from the shopper), or
null . |
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()
null
.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 to"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"