/**
* 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 { RiskAnalysis } from './RiskAnalysis';
import type { ThreeDS } from './ThreeDS';
/**
*
* @export
* @interface MoneyInWebInitInput
*/
export interface MoneyInWebInitInput {
/**
* Your site URL called by WebKit to terminate the operation
* @type {string}
* @memberof MoneyInWebInitInput
*/
returnUrl: string;
/**
* Your site return URL, called by WebKit in case of an error
* @type {string}
* @memberof MoneyInWebInitInput
*/
errorUrl: string;
/**
* Your site return URL, called by WebKit in case of a cancellation
* @type {string}
* @memberof MoneyInWebInitInput
*/
cancelUrl: string;
/**
* Save the card and returns an ID for future payments
* @type {boolean}
* @memberof MoneyInWebInitInput
*/
registerCard?: boolean;
/**
* Indicate the number of days of the deferred payment. Between 0 and 6 days to have a guaranteed payment.
* Only usable with isPreAuth = 0-6
* Only available for Transactpro, Mercanet v2, Payzen and Monetico
* @type {number}
* @memberof MoneyInWebInitInput
*/
captureDelayedDays?: number;
/**
* Indicates the name of the shop on the payment page
* Only available on Payzen
* @type {string}
* @memberof MoneyInWebInitInput
*/
label?: string;
/**
* Indicates the CardId
* @type {string}
* @memberof MoneyInWebInitInput
*/
cardId?: string;
/**
* Indicates the nature of activity for this Money-In:
0 = Activite 1.
1 = Activite 2.
* @type {number}
* @memberof MoneyInWebInitInput
*/
moneyInNature?: MoneyInWebInitInputMoneyInNatureEnum;
/**
*
* @type {ThreeDS}
* @memberof MoneyInWebInitInput
*/
threeDS?: ThreeDS;
/**
*
* @type {RiskAnalysis}
* @memberof MoneyInWebInitInput
*/
riskAnalysis?: RiskAnalysis;
/**
* Average amount of future recurring payments to cover recurring payments with variable amounts. **Note:** Only if the amount is higher than the amount of the first transaction.
* @type {number}
* @memberof MoneyInWebInitInput
*/
recurringAvgAmount?: number;
/**
* **Recurring**: If a payment follows a recurring amount or **One_shot**: when there is no future recurring payments.
* @type {string}
* @memberof MoneyInWebInitInput
*/
paymentPattern?: string;
/**
* Unique ID of the call, generated by your server. This ID can be used as a search field when looking for operation details
* @type {string}
* @memberof MoneyInWebInitInput
*/
reference?: string;
/**
* Payment Account ID to Credit
* @type {string}
* @memberof MoneyInWebInitInput
*/
accountId: string;
/**
* Amount to Debit
* Amounts are given as integer numbers in cents
* @type {number}
* @memberof MoneyInWebInitInput
*/
totalAmount?: number;
/**
* Your Fee
* Amounts are given as integer numbers in cents
* @type {number}
* @memberof MoneyInWebInitInput
*/
commissionAmount?: number;
/**
* Comment Regarding the Transaction
* @type {string}
* @memberof MoneyInWebInitInput
*/
comment?: string;
/**
* If true:
* 1. [amountCom] will be ignored and will be replaced with Lemonway's fee
* 2. You will not receive any fee
* @type {boolean}
* @memberof MoneyInWebInitInput
*/
autoCommission?: boolean;
}
/**
* @export
*/
export declare const MoneyInWebInitInputMoneyInNatureEnum: {
readonly NUMBER_0: 0;
readonly NUMBER_1: 1;
};
export declare type MoneyInWebInitInputMoneyInNatureEnum = typeof MoneyInWebInitInputMoneyInNatureEnum[keyof typeof MoneyInWebInitInputMoneyInNatureEnum];
/**
* Check if a given object implements the MoneyInWebInitInput interface.
*/
export declare function instanceOfMoneyInWebInitInput(value: object): boolean;
export declare function MoneyInWebInitInputFromJSON(json: any): MoneyInWebInitInput;
export declare function MoneyInWebInitInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): MoneyInWebInitInput;
export declare function MoneyInWebInitInputToJSON(value?: MoneyInWebInitInput | null): any;