wallee
Version:
TypeScript/JavaScript client for wallee
34 lines (33 loc) • 1.79 kB
TypeScript
/**
*
* @export
* @interface PaymentAppRefundConfiguration
*/
export interface PaymentAppRefundConfiguration {
/**
* The maximum time (in minutes) to wait for a response from the payment service provider after a refund request is triggered. If no feedback or final status is received within this period, the refund is considered failed.
* @type {number}
* @memberof PaymentAppRefundConfiguration
*/
readonly refundTimeoutInMinutes?: number;
/**
* Whether the payment connector can process multiple refunds for a single transaction.
* @type {boolean}
* @memberof PaymentAppRefundConfiguration
*/
readonly multipleRefundsSupported?: boolean;
/**
* The URL that the payment service provider will invoke to process a refund request. This endpoint handles communication with the provider for initiating and managing refunds.
* @type {string}
* @memberof PaymentAppRefundConfiguration
*/
readonly refundEndpoint?: string;
}
/**
* Check if a given object implements the PaymentAppRefundConfiguration interface.
*/
export declare function instanceOfPaymentAppRefundConfiguration(value: object): value is PaymentAppRefundConfiguration;
export declare function PaymentAppRefundConfigurationFromJSON(json: any): PaymentAppRefundConfiguration;
export declare function PaymentAppRefundConfigurationFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaymentAppRefundConfiguration;
export declare function PaymentAppRefundConfigurationToJSON(json: any): PaymentAppRefundConfiguration;
export declare function PaymentAppRefundConfigurationToJSONTyped(value?: Omit<PaymentAppRefundConfiguration, 'refundTimeoutInMinutes' | 'multipleRefundsSupported' | 'refundEndpoint'> | null, ignoreDiscriminator?: boolean): any;