1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-03-12 09:29:18 +01:00

27 lines
497 B
TypeScript
Raw Normal View History

import { Reservation } from './reservation';
export interface PaymentConfirmation {
requires_action?: boolean,
payment_intent_client_secret?: string,
success?: boolean,
error?: {
statusText: string
2020-12-07 13:49:11 +01:00
}
}
export enum PaymentMethod {
Stripe = 'stripe',
Other = ''
}
export interface CartItems {
2020-12-07 13:49:11 +01:00
reservation?: Reservation,
subscription?: {
plan_id: number,
user_id: number,
payment_schedule: boolean,
payment_method: PaymentMethod
},
2020-12-07 13:49:11 +01:00
coupon_code?: string
}