Skip to main content

PaymentStatus

Type Alias PaymentStatus 

Source
pub type PaymentStatus = DepositStatus;
Expand description

Shared payment status type used across the entities boundary.

Aliased Type§

pub enum PaymentStatus {
    NotRequired,
    Required,
    Paid,
    Refunded,
    Failed,
    WaivedByManager,
}

Variants§

§

NotRequired

No deposit or review is needed for this reservation path.

§

Required

A deposit must be collected before the booking is secure.

§

Paid

The required deposit has been collected and reconciled.

§

Refunded

The collected deposit has been returned to the customer.

§

Failed

Deposit collection was attempted but did not succeed.

§

WaivedByManager

A manager waived the deposit requirement for the booking.