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

34 lines
665 B
TypeScript
Raw Normal View History

import { Reservation } from './reservation';
import { SubscriptionRequest } from './subscription';
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 interface IntentConfirmation {
client_secret: string
}
export enum PaymentMethod {
Card = 'card',
Other = ''
}
export interface CartItems {
customer_id: number,
items: Array<Reservation|SubscriptionRequest>,
coupon_code?: string,
payment_schedule?: boolean,
payment_method: PaymentMethod
}
2021-02-09 12:09:26 +01:00
export interface UpdateCardResponse {
updated: boolean,
error?: string
}