/** * Lemonway DirectKit API 2.0 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v2 * * * 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 { LemonWayCommission } from './LemonWayCommission'; import type { PSP } from './PSP'; /** * * @export * @interface TransactionRefund */ export interface TransactionRefund { /** * 0: Success * 4: Pending * 6: PSP Error * @type {number} * @memberof TransactionRefund */ status?: number; /** * Debited account * @type {string} * @memberof TransactionRefund */ senderAccountId?: string; /** * Debited amount * Amounts arerepresented in cents (Euros) * @type {number} * @memberof TransactionRefund */ debitAmount?: number; /** * IBAN ID * @type {number} * @memberof TransactionRefund */ ibanId?: number; /** * * @type {string} * @memberof TransactionRefund */ maskedLabel?: string; /** * * @type {string} * @memberof TransactionRefund */ bankStatus?: string; /** * * @type {PSP} * @memberof TransactionRefund */ pSP?: PSP; /** * Money-In - ID responsible for the chargeback * @type {number} * @memberof TransactionRefund */ originId?: number; /** * Transaction ID * @type {number} * @memberof TransactionRefund */ id?: number; /** * Payment Method * 0 Card * 1 Bank transfert (Money-In) * 3 Bank transfert (Money-Out) * 4 P2P * 13 IDEAL * 14 DirectDebit * 15 CHEQUE * 16 Neosurf * 17 SoFort * 18 PFS Physical Card * 19 Multibanco * 20 Payshop * 21 MB WAY * 22 Polish Instant Transfer * 23 PAGARE * 24 MobilePay * 25 PayTrail * 26 WeChat (via PayTend) * 27 P24 * 28 MoneyIn by TPE * 29 Trustly * @type {number} * @memberof TransactionRefund */ method?: number; /** * Payment Method Details * 0 Standard * 1 Pay By Bank
0 = STANDARD.
1 = PAY_BY_BANK.
* @type {number} * @memberof TransactionRefund */ methodDetails?: TransactionRefundMethodDetailsEnum; /** * Transaction initialization date, UTC Unix timestamp * @type {number} * @memberof TransactionRefund */ date?: number; /** * Your fee * Amounts are given as integer numbers in cents * @type {number} * @memberof TransactionRefund */ commissionAmount?: number; /** * Comment * @type {string} * @memberof TransactionRefund */ comment?: string; /** * Transaction execution date * @type {number} * @memberof TransactionRefund */ executionDate?: number; /** * * @type {LemonWayCommission} * @memberof TransactionRefund */ lemonWayCommission?: LemonWayCommission; /** * Unique ID generated by your server * @type {string} * @memberof TransactionRefund */ reference?: string; } /** * @export */ export declare const TransactionRefundMethodDetailsEnum: { readonly NUMBER_0: 0; readonly NUMBER_1: 1; }; export declare type TransactionRefundMethodDetailsEnum = typeof TransactionRefundMethodDetailsEnum[keyof typeof TransactionRefundMethodDetailsEnum]; /** * Check if a given object implements the TransactionRefund interface. */ export declare function instanceOfTransactionRefund(value: object): boolean; export declare function TransactionRefundFromJSON(json: any): TransactionRefund; export declare function TransactionRefundFromJSONTyped(json: any, ignoreDiscriminator: boolean): TransactionRefund; export declare function TransactionRefundToJSON(value?: TransactionRefund | null): any;