@getopenpay/client
Version:
OpenPay API TypeScript SDK
88 lines (87 loc) • 2.41 kB
TypeScript
/**
* 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';
/**
*
* @export
* @interface InvoiceItemsQueryParams
*/
export interface InvoiceItemsQueryParams {
/**
*
* @type {string}
* @memberof InvoiceItemsQueryParams
*/
couponId?: string | null;
/**
*
* @type {DateTimeFilter}
* @memberof InvoiceItemsQueryParams
*/
createdAt?: DateTimeFilter | null;
/**
*
* @type {string}
* @memberof InvoiceItemsQueryParams
*/
customerId?: string | null;
/**
* Specifies which fields in the response should be expanded.
* @type {Array<string>}
* @memberof InvoiceItemsQueryParams
*/
expand?: Array<string>;
/**
*
* @type {string}
* @memberof InvoiceItemsQueryParams
*/
invoiceId?: string | null;
/**
* Page number
* @type {number}
* @memberof InvoiceItemsQueryParams
*/
pageNumber?: number;
/**
* Page size
* @type {number}
* @memberof InvoiceItemsQueryParams
*/
pageSize?: number;
/**
* Sort direction.
* @type {boolean}
* @memberof InvoiceItemsQueryParams
*/
sortDescending?: boolean;
/**
* Key name based on which data is sorted.
* @type {string}
* @memberof InvoiceItemsQueryParams
*/
sortKey?: string;
/**
*
* @type {DateTimeFilter}
* @memberof InvoiceItemsQueryParams
*/
updatedAt?: DateTimeFilter | null;
}
/**
* Check if a given object implements the InvoiceItemsQueryParams interface.
*/
export declare function instanceOfInvoiceItemsQueryParams(value: object): value is InvoiceItemsQueryParams;
export declare function InvoiceItemsQueryParamsFromJSON(json: any): InvoiceItemsQueryParams;
export declare function InvoiceItemsQueryParamsFromJSONTyped(json: any, ignoreDiscriminator: boolean): InvoiceItemsQueryParams;
export declare function InvoiceItemsQueryParamsToJSON(json: any): InvoiceItemsQueryParams;
export declare function InvoiceItemsQueryParamsToJSONTyped(value?: InvoiceItemsQueryParams | null, ignoreDiscriminator?: boolean): any;