49 lines
1.2 KiB
TypeScript
49 lines
1.2 KiB
TypeScript
import { Field, ObjectType } from 'type-graphql';
|
|
|
|
@ObjectType()
|
|
export class StripePaymentIntentData {
|
|
@Field()
|
|
id: string;
|
|
@Field({ nullable: true })
|
|
client_secret?: string;
|
|
@Field()
|
|
currency: string;
|
|
@Field()
|
|
customer: string;
|
|
@Field()
|
|
status: string;
|
|
|
|
// object: string;
|
|
// amount: number;
|
|
// amount_capturable: number;
|
|
// amount_received: number;
|
|
// application: any;
|
|
// application_fee_amount: any;
|
|
// canceled_at: any;
|
|
// cancellation_reason: any;
|
|
// capture_method: string;
|
|
// charges: Charges;
|
|
// confirmation_method: string;
|
|
// created: number;
|
|
|
|
// description: any;
|
|
// invoice: any;
|
|
// last_payment_error: any;
|
|
// livemode: boolean;
|
|
// metadata: Metadata;
|
|
// next_action: any;
|
|
// on_behalf_of: any;
|
|
// payment_method: any;
|
|
// payment_method_options: PaymentMethodOptions;
|
|
// payment_method_types: string[];
|
|
// receipt_email: any;
|
|
// review: any;
|
|
// setup_future_usage: any;
|
|
// shipping: any;
|
|
// source: any;
|
|
// statement_descriptor: any;
|
|
// statement_descriptor_suffix: any;
|
|
// transfer_data: any;
|
|
// transfer_group: any;
|
|
}
|