/** * 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 { PrivateData } from './PrivateData'; /** * * @export * @interface TransactionP2P */ export interface TransactionP2P { /** * Debited account * @type {string} * @memberof TransactionP2P */ senderAccountId?: string; /** * Credited account * @type {string} * @memberof TransactionP2P */ receiverAccountId?: string; /** * Debited amount * Amounts are represented in cents (Euro) * @type {number} * @memberof TransactionP2P */ debitAmount?: number; /** * Credited amount * Amounts are represented in cents (Euro) * @type {number} * @memberof TransactionP2P */ creditAmount?: number; /** * * @type {PrivateData} * @memberof TransactionP2P */ privateData?: PrivateData; /** * Request date for a payment or payment date. UTC unix timestamp * @type {string} * @memberof TransactionP2P */ scheduledDate?: string; /** * Returned 1 for a P2P commission transaction * @type {boolean} * @memberof TransactionP2P */ isFee?: boolean; /** * Original transaction ID * @type {number} * @memberof TransactionP2P */ feeReference?: number; /** * Transaction ID * @type {number} * @memberof TransactionP2P */ 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 TransactionP2P */ method?: number; /** * Payment Method Details * 0 Standard * 1 Pay By Bank
0 = STANDARD.
1 = PAY_BY_BANK.
* @type {number} * @memberof TransactionP2P */ methodDetails?: TransactionP2PMethodDetailsEnum; /** * Transaction initialization date, UTC Unix timestamp * @type {number} * @memberof TransactionP2P */ date?: number; /** * Your fee * Amounts are given as integer numbers in cents * @type {number} * @memberof TransactionP2P */ commissionAmount?: number; /** * Comment * @type {string} * @memberof TransactionP2P */ comment?: string; /** * Money-In and Money-Out * * P2P * * @type {number} * @memberof TransactionP2P */ status?: number; /** * Transaction execution date * @type {number} * @memberof TransactionP2P */ executionDate?: number; /** * * @type {LemonWayCommission} * @memberof TransactionP2P */ lemonWayCommission?: LemonWayCommission; /** * Unique ID generated by your server * @type {string} * @memberof TransactionP2P */ reference?: string; } /** * @export */ export declare const TransactionP2PMethodDetailsEnum: { readonly NUMBER_0: 0; readonly NUMBER_1: 1; }; export declare type TransactionP2PMethodDetailsEnum = typeof TransactionP2PMethodDetailsEnum[keyof typeof TransactionP2PMethodDetailsEnum]; /** * Check if a given object implements the TransactionP2P interface. */ export declare function instanceOfTransactionP2P(value: object): boolean; export declare function TransactionP2PFromJSON(json: any): TransactionP2P; export declare function TransactionP2PFromJSONTyped(json: any, ignoreDiscriminator: boolean): TransactionP2P; export declare function TransactionP2PToJSON(value?: TransactionP2P | null): any;