@getopenpay/client
Version:
OpenPay API TypeScript SDK
46 lines (45 loc) • 1.38 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 { CurrencyEnum } from './CurrencyEnum';
/**
*
* @export
* @interface PromoRestrictions
*/
export interface PromoRestrictions {
/**
*
* @type {boolean}
* @memberof PromoRestrictions
*/
firstTimeTransaction?: boolean | null;
/**
*
* @type {number}
* @memberof PromoRestrictions
*/
minimumAmountAtom?: number | null;
/**
*
* @type {CurrencyEnum}
* @memberof PromoRestrictions
*/
minimumAmountCurrency?: CurrencyEnum | null;
}
/**
* Check if a given object implements the PromoRestrictions interface.
*/
export declare function instanceOfPromoRestrictions(value: object): value is PromoRestrictions;
export declare function PromoRestrictionsFromJSON(json: any): PromoRestrictions;
export declare function PromoRestrictionsFromJSONTyped(json: any, ignoreDiscriminator: boolean): PromoRestrictions;
export declare function PromoRestrictionsToJSON(json: any): PromoRestrictions;
export declare function PromoRestrictionsToJSONTyped(value?: PromoRestrictions | null, ignoreDiscriminator?: boolean): any;