UNPKG

@getopenpay/client

Version:

OpenPay API TypeScript SDK

109 lines (108 loc) 3.02 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 { SearchFilter } from './SearchFilter'; /** * * @export * @interface PaymentIntentQueryParams */ export interface PaymentIntentQueryParams { /** * * @type {IntRangeFilter} * @memberof PaymentIntentQueryParams */ amountAtom?: IntRangeFilter | null; /** * * @type {DateTimeFilter} * @memberof PaymentIntentQueryParams */ createdAt?: DateTimeFilter | null; /** * * @type {string} * @memberof PaymentIntentQueryParams */ customerId?: string | null; /** * Specifies which fields in the response should be expanded. * @type {Array<string>} * @memberof PaymentIntentQueryParams */ expand?: Array<string>; /** * * @type {string} * @memberof PaymentIntentQueryParams */ invoiceId?: string | null; /** * Page number * @type {number} * @memberof PaymentIntentQueryParams */ pageNumber?: number; /** * Page size * @type {number} * @memberof PaymentIntentQueryParams */ pageSize?: number; /** * * @type {string} * @memberof PaymentIntentQueryParams */ paymentMethodId?: string | null; /** * * @type {SearchFilter} * @memberof PaymentIntentQueryParams */ search?: SearchFilter | null; /** * Sort direction. * @type {boolean} * @memberof PaymentIntentQueryParams */ sortDescending?: boolean; /** * Key name based on which data is sorted. * @type {string} * @memberof PaymentIntentQueryParams */ sortKey?: string; /** * * @type {PaymentIntentStatus} * @memberof PaymentIntentQueryParams */ status?: PaymentIntentStatus | null; /** * * @type {DateTimeFilter} * @memberof PaymentIntentQueryParams */ updatedAt?: DateTimeFilter | null; } /** * Check if a given object implements the PaymentIntentQueryParams interface. */ export declare function instanceOfPaymentIntentQueryParams(value: object): value is PaymentIntentQueryParams; export declare function PaymentIntentQueryParamsFromJSON(json: any): PaymentIntentQueryParams; export declare function PaymentIntentQueryParamsFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaymentIntentQueryParams; export declare function PaymentIntentQueryParamsToJSON(json: any): PaymentIntentQueryParams; export declare function PaymentIntentQueryParamsToJSONTyped(value?: PaymentIntentQueryParams | null, ignoreDiscriminator?: boolean): any;