UNPKG

@getopenpay/client

Version:

OpenPay API TypeScript SDK

46 lines (45 loc) 1.67 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 { CurrencyEnum } from './CurrencyEnum'; /** * * @export * @interface AuthorizePaymentMethodRequest */ export interface AuthorizePaymentMethodRequest { /** * Amount to authorize in atoms (smallest currency unit). * @type {number} * @memberof AuthorizePaymentMethodRequest */ authorizeAmountAtom?: number; /** * Currency for the authorization amount. * @type {CurrencyEnum} * @memberof AuthorizePaymentMethodRequest */ currency?: CurrencyEnum; /** * Unique identifier of the payment method. * @type {string} * @memberof AuthorizePaymentMethodRequest */ paymentMethodId: string; } /** * Check if a given object implements the AuthorizePaymentMethodRequest interface. */ export declare function instanceOfAuthorizePaymentMethodRequest(value: object): value is AuthorizePaymentMethodRequest; export declare function AuthorizePaymentMethodRequestFromJSON(json: any): AuthorizePaymentMethodRequest; export declare function AuthorizePaymentMethodRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthorizePaymentMethodRequest; export declare function AuthorizePaymentMethodRequestToJSON(json: any): AuthorizePaymentMethodRequest; export declare function AuthorizePaymentMethodRequestToJSONTyped(value?: AuthorizePaymentMethodRequest | null, ignoreDiscriminator?: boolean): any;