@getopenpay/client
Version:
OpenPay API TypeScript SDK
96 lines (95 loc) • 2.49 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 { PriceTypeEnum } from './PriceTypeEnum';
import type { DateTimeFilter } from './DateTimeFilter';
import type { CurrencyEnum } from './CurrencyEnum';
/**
*
* @export
* @interface PriceQueryParams
*/
export interface PriceQueryParams {
/**
*
* @type {DateTimeFilter}
* @memberof PriceQueryParams
*/
createdAt?: DateTimeFilter | null;
/**
*
* @type {CurrencyEnum}
* @memberof PriceQueryParams
*/
currency?: CurrencyEnum | null;
/**
* Specifies which fields in the response should be expanded.
* @type {Array<string>}
* @memberof PriceQueryParams
*/
expand?: Array<string>;
/**
*
* @type {boolean}
* @memberof PriceQueryParams
*/
isActive?: boolean | null;
/**
* Page number
* @type {number}
* @memberof PriceQueryParams
*/
pageNumber?: number;
/**
* Page size
* @type {number}
* @memberof PriceQueryParams
*/
pageSize?: number;
/**
*
* @type {PriceTypeEnum}
* @memberof PriceQueryParams
*/
priceType?: PriceTypeEnum | null;
/**
*
* @type {string}
* @memberof PriceQueryParams
*/
productId?: string | null;
/**
* Sort direction.
* @type {boolean}
* @memberof PriceQueryParams
*/
sortDescending?: boolean;
/**
* Key name based on which data is sorted.
* @type {string}
* @memberof PriceQueryParams
*/
sortKey?: string;
/**
*
* @type {DateTimeFilter}
* @memberof PriceQueryParams
*/
updatedAt?: DateTimeFilter | null;
}
/**
* Check if a given object implements the PriceQueryParams interface.
*/
export declare function instanceOfPriceQueryParams(value: object): value is PriceQueryParams;
export declare function PriceQueryParamsFromJSON(json: any): PriceQueryParams;
export declare function PriceQueryParamsFromJSONTyped(json: any, ignoreDiscriminator: boolean): PriceQueryParams;
export declare function PriceQueryParamsToJSON(json: any): PriceQueryParams;
export declare function PriceQueryParamsToJSONTyped(value?: PriceQueryParams | null, ignoreDiscriminator?: boolean): any;