ActivitiesWarning

public final class ActivitiesWarning

Container for all warnings generated during the transaction.

Parameters

code

Standardized warning code.

description

Standardized warning description message.

originalPrice
newPrice
changedAmount
changedPercentage

The changed percentage. In the sample 2.97 means the changed percentage is 2.97%.

links

Constructors

Link copied to clipboard
public ActivitiesWarning ActivitiesWarning(    String code,     String description,     ActivitiesMoney originalPrice,     ActivitiesMoney newPrice,     ActivitiesMoney changedAmount,     String changedPercentage,     Map<String, ActivitiesLink> links)

Types

Link copied to clipboard
public final class Builder

Properties

Link copied to clipboard
@Valid()
private final ActivitiesMoney changedAmount
Link copied to clipboard
@Valid()
private final String changedPercentage
Link copied to clipboard
@NotNull()
@Valid()
private final String code
Link copied to clipboard
@NotNull()
@Valid()
private final String description
Link copied to clipboard
@Valid()
private final Map<String, ActivitiesLink> links
Link copied to clipboard
@Valid()
private final ActivitiesMoney newPrice
Link copied to clipboard
@Valid()
private final ActivitiesMoney originalPrice

Functions

Link copied to clipboard
public final static ActivitiesWarning.Builder builder()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public final String getCode()
Link copied to clipboard
public final String getDescription()
Link copied to clipboard
public final Map<String, ActivitiesLink> getLinks()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard