UNPKG

@getopenpay/client

Version:

OpenPay API TypeScript SDK

140 lines (139 loc) 3.82 kB
/** * OpenPay API * super charge your subscription management. * * The version of the OpenAPI document: 1.2.1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { DateTimeFilter } from './DateTimeFilter'; import type { IntRangeFilter } from './IntRangeFilter'; import type { PaymentIntentStatus } from './PaymentIntentStatus'; import type { PaymentProviderType } from './PaymentProviderType'; import type { SearchFilter } from './SearchFilter'; /** * * @export * @interface ExportPaymentIntentsRequest */ export interface ExportPaymentIntentsRequest { /** * * @type {IntRangeFilter} * @memberof ExportPaymentIntentsRequest */ amountAtom?: IntRangeFilter | null; /** * * @type {DateTimeFilter} * @memberof ExportPaymentIntentsRequest */ createdAt?: DateTimeFilter | null; /** * * @type {string} * @memberof ExportPaymentIntentsRequest */ customerId?: string | null; /** * Specifies which fields in the response should be expanded. * @type {Array<string>} * @memberof ExportPaymentIntentsRequest */ expand?: Array<string>; /** * * @type {string} * @memberof ExportPaymentIntentsRequest */ invoiceId?: string | null; /** * * @type {boolean} * @memberof ExportPaymentIntentsRequest */ isRefunded?: boolean | null; /** * * @type {number} * @memberof ExportPaymentIntentsRequest */ limit?: number; /** * Page number * @type {number} * @memberof ExportPaymentIntentsRequest */ pageNumber?: number; /** * Page size * @type {number} * @memberof ExportPaymentIntentsRequest */ pageSize?: number; /** * * @type {string} * @memberof ExportPaymentIntentsRequest */ paymentMethodId?: string | null; /** * * @type {PaymentProviderType} * @memberof ExportPaymentIntentsRequest */ paymentProvider?: PaymentProviderType | null; /** * * @type {string} * @memberof ExportPaymentIntentsRequest */ processorPaymentId?: string | null; /** * * @type {IntRangeFilter} * @memberof ExportPaymentIntentsRequest */ refundAmountAtom?: IntRangeFilter | null; /** * * @type {SearchFilter} * @memberof ExportPaymentIntentsRequest */ search?: SearchFilter | null; /** * Sort direction. * @type {boolean} * @memberof ExportPaymentIntentsRequest */ sortDescending?: boolean; /** * Key name based on which data is sorted. * @type {string} * @memberof ExportPaymentIntentsRequest */ sortKey?: string; /** * * @type {PaymentIntentStatus} * @memberof ExportPaymentIntentsRequest */ status?: PaymentIntentStatus | null; /** * * @type {DateTimeFilter} * @memberof ExportPaymentIntentsRequest */ updatedAt?: DateTimeFilter | null; } /** * Check if a given object implements the ExportPaymentIntentsRequest interface. */ export declare function instanceOfExportPaymentIntentsRequest(value: object): value is ExportPaymentIntentsRequest; export declare function ExportPaymentIntentsRequestFromJSON(json: any): ExportPaymentIntentsRequest; export declare function ExportPaymentIntentsRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExportPaymentIntentsRequest; export declare function ExportPaymentIntentsRequestToJSON(json: any): ExportPaymentIntentsRequest; export declare function ExportPaymentIntentsRequestToJSONTyped(value?: ExportPaymentIntentsRequest | null, ignoreDiscriminator?: boolean): any;