When

public final class When

Indicate when to pay.

Parameters

type

Indicates the time of the deposit collection. Options are: UPON_BOOKING The customer must pay the deposit when booking the property. DAYS_PRIOR The customer must pay the deposit a number of days before arriving at the property. UPON_ARRIVAL The customer must pay the deposit upon arriving at the property.

value This value will only be shown when Deposit Type is DAYS_PRIOR to indicate the number of days prior to check in when the deposit will be collected.

Constructors

Link copied to clipboard
public When When(When.Type type, String value)

Types

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

Indicates the time of the deposit collection. Options are: UPON_BOOKING The customer must pay the deposit when booking the property. DAYS_PRIOR The customer must pay the deposit a number of days before arriving at the property. UPON_ARRIVAL The customer must pay the deposit upon arriving at the property. Values: UPON_BOOKING,DAYS_PRIOR,UPON_ARRIVAL

Properties

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

Functions

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