package payments import "time" const ( FullRefundThreshold = 72 * time.Hour PartialRefundThreshold = 24 * time.Hour NoShowThreshold = 24 * time.Hour DepositDeadlineWindow = 24 * time.Hour DepositAdvanceWindow = 36 * time.Hour FullRefundTier = "full_refund_72h" PartialRefundTier = "partial_refund_24h_72h" NoRefundTier = "no_refund_under_24h" ProtectedDepositMaxPct = 0.50 RequiredDepositPct = 0.20 // depositPromotionMinPct is the share of the booking total a payment must // cover before a pending_release booking is promoted back to 'confirmed' // (A10) — the deposit-promotion threshold in the CreateBookingPayment // deposit-promotion query. Named separately from RequiredDepositPct (the // deposit REQUIRED at booking time, used by bookings.go): the promotion // threshold is about already-paid money, not the amount to demand up front, // even though both are 20% today. depositPromotionMinPct = RequiredDepositPct LoyaltyStampCost = 10 LoyaltyDiscountPercent = 10.0 )