@ProviderType
public class VoucherInfo
extends java.lang.Object
| Constructor and Description |
|---|
VoucherInfo(java.lang.String code,
java.lang.String path,
java.lang.String title,
java.lang.String description,
boolean isValid,
java.lang.String message)
Instantiate a new
VoucherInfo. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCode()
Get the voucher code.
|
java.lang.String |
getDescription()
An author-oriented description of the voucher.
|
boolean |
getIsValid()
Return if the voucher is currently valid.
|
java.lang.String |
getMessage()
A shopper-oriented message regarding the current status of the voucher.
|
java.lang.String |
getPath()
Get the path of the voucher if represented in the repository.
|
java.lang.String |
getTitle()
An author-oriented title.
|
public VoucherInfo(java.lang.String code,
java.lang.String path,
java.lang.String title,
java.lang.String description,
boolean isValid,
java.lang.String message)
VoucherInfo.code - The voucher code which is typed in by the shopper.path - The path of the voucher if represented in the repository. Otherwise, an ID uniquely
identifying the voucher.title - An author-oriented title.description - An author-oriented description of the voucher (and its current status).isValid - For a cart, whether or not the voucher is current valid. For a placed order, whether
or not the voucher was valid when the order was placed.message - A shopper-oriented message.public java.lang.String getPath()
public java.lang.String getTitle()
public java.lang.String getDescription()
public java.lang.String getCode()
public boolean getIsValid()
public java.lang.String getMessage()
Copyright © 2010 - 2023 Adobe. All Rights Reserved