UNPKG

@getopenpay/client

Version:

OpenPay API TypeScript SDK

39 lines (38 loc) 1.43 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. */ /** * * @export * @interface CreatePortalSessionRequest */ export interface CreatePortalSessionRequest { /** * The ID of an existing customer. * @type {string} * @memberof CreatePortalSessionRequest */ customerId: string; /** * The default URL to redirect customers to when they click on the portal"s link to return to your website. * @type {string} * @memberof CreatePortalSessionRequest */ returnUrl: string; } /** * Check if a given object implements the CreatePortalSessionRequest interface. */ export declare function instanceOfCreatePortalSessionRequest(value: object): value is CreatePortalSessionRequest; export declare function CreatePortalSessionRequestFromJSON(json: any): CreatePortalSessionRequest; export declare function CreatePortalSessionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreatePortalSessionRequest; export declare function CreatePortalSessionRequestToJSON(json: any): CreatePortalSessionRequest; export declare function CreatePortalSessionRequestToJSONTyped(value?: CreatePortalSessionRequest | null, ignoreDiscriminator?: boolean): any;