ValueAdd

public final class ValueAdd

An individual value add.

Parameters

id

Unique identifier for the value add promotion.

description

A localized description of the value add promotion.

category
offerType
frequency
personCount

Indicates how many guests the value add promotion applies to.

Constructors

Link copied to clipboard
public ValueAdd ValueAdd(String id, String description, CategoryValueAdd category, OfferType offerType, Frequency frequency, BigDecimal personCount)

Types

Link copied to clipboard
public final class Builder

Properties

Link copied to clipboard
@Valid()
private final CategoryValueAdd category
Link copied to clipboard
@Valid()
private final String description
Link copied to clipboard
@Valid()
private final Frequency frequency
Link copied to clipboard
@Valid()
private final String id
Link copied to clipboard
@Valid()
private final OfferType offerType
Link copied to clipboard
@Valid()
private final BigDecimal personCount

Functions

Link copied to clipboard
public final static ValueAdd.Builder builder()
Link copied to clipboard
Link copied to clipboard
public final String getDescription()
Link copied to clipboard
public final Frequency getFrequency()
Link copied to clipboard
public final String getId()
Link copied to clipboard
public final OfferType getOfferType()
Link copied to clipboard
public final BigDecimal getPersonCount()
Link copied to clipboard
public final ValueAdd.Builder toBuilder()