DepositDetail

public final class DepositDetail

Container for deposit policy details

Parameters

type

Should be one of the following values: PERCENT The deposit amount is calculated as a percentage of the total booking cost. NIGHT The deposit amount is calculated in terms of nights plus tax. AMOUNT The deposit amount in USD. REMAINDER The deposit amount is equal to the booking cost minus any deposits that have been made before this point.

when

Constructors

Link copied to clipboard

Types

Link copied to clipboard
public final class Builder
Link copied to clipboard
public enum Type extends Enum<DepositDetail.Type>

Should be one of the following values: PERCENT The deposit amount is calculated as a percentage of the total booking cost. NIGHT The deposit amount is calculated in terms of nights plus tax. AMOUNT The deposit amount in USD. REMAINDER The deposit amount is equal to the booking cost minus any deposits that have been made before this point. Values: PERCENT,NIGHT,AMOUNT,REMAINDER

Properties

Link copied to clipboard
private final DepositDetail.Type type
Link copied to clipboard
@Valid()
private final String value
Link copied to clipboard
@Valid()
private final When when

Functions

Link copied to clipboard
public final static DepositDetail.Builder builder()
Link copied to clipboard
public final DepositDetail.Type getType()
Link copied to clipboard
public final String getValue()
Link copied to clipboard
public final When getWhen()
Link copied to clipboard