UNPKG

wallee

Version:
52 lines (51 loc) 2.63 kB
/** * * @export * @interface PaymentAppCompletionConfiguration */ export interface PaymentAppCompletionConfiguration { /** * Whether the payment connector can process multiple completions for a single transaction. * @type {boolean} * @memberof PaymentAppCompletionConfiguration */ readonly multipleCompletionsSupported?: boolean; /** * The maximum number of days after a transaction's authorization during which a * completion or void action can be triggered. Once this period has passed, neither * action can be executed. * @type {number} * @memberof PaymentAppCompletionConfiguration */ readonly maximalCompletionDelayInDays?: number; /** * The URL that the payment service provider will invoke to process a completion request. * This endpoint handles communication with the provider for initiating and managing completions. * @type {string} * @memberof PaymentAppCompletionConfiguration */ readonly completionEndpoint?: string; /** * The maximum time (in minutes) to wait for a response from the payment service provider * after a completion request is triggered. If no feedback or final status is received * within this period, the completion is considered failed. * @type {number} * @memberof PaymentAppCompletionConfiguration */ readonly completionTimeoutInMinutes?: number; /** * The URL that the payment service provider will invoke to process a void request. * This endpoint handles communication with the provider for initiating and managing voids. * @type {string} * @memberof PaymentAppCompletionConfiguration */ readonly voidEndpoint?: string; } /** * Check if a given object implements the PaymentAppCompletionConfiguration interface. */ export declare function instanceOfPaymentAppCompletionConfiguration(value: object): value is PaymentAppCompletionConfiguration; export declare function PaymentAppCompletionConfigurationFromJSON(json: any): PaymentAppCompletionConfiguration; export declare function PaymentAppCompletionConfigurationFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaymentAppCompletionConfiguration; export declare function PaymentAppCompletionConfigurationToJSON(json: any): PaymentAppCompletionConfiguration; export declare function PaymentAppCompletionConfigurationToJSONTyped(value?: Omit<PaymentAppCompletionConfiguration, 'multipleCompletionsSupported' | 'maximalCompletionDelayInDays' | 'completionEndpoint' | 'completionTimeoutInMinutes' | 'voidEndpoint'> | null, ignoreDiscriminator?: boolean): any;