Savings

public final class Savings

Container of savings information.

Parameters

percentage

The percentage of the price that has been discounted off the regular price for the current activity.

amount

Constructors

Link copied to clipboard
public Savings Savings(Integer percentage, ActivitiesMoney amount)

Types

Link copied to clipboard
public final class Builder

Properties

Link copied to clipboard
@NotNull()
@Valid()
private final ActivitiesMoney amount
Link copied to clipboard
private final Integer percentage

Functions

Link copied to clipboard
public final static Savings.Builder builder()
Link copied to clipboard
public final ActivitiesMoney getAmount()
Link copied to clipboard
public final Integer getPercentage()
Link copied to clipboard
public final Savings.Builder toBuilder()