22 * This file was auto-generated from the API references found at
33 * https://epayments-api.developer-ingenico.com/s2sapi/v1/
44 */
5- import { AbstractPaymentMethodSpecificInput , KeyValuePair , PaymentProductFilter } from "../../definitions" ;
5+ import { AbstractPaymentMethodSpecificInput , AmountOfMoney , KeyValuePair , PaymentProductFilter } from "../../definitions" ;
66import { GPayThreeDSecure , Payment , PaymentCreationReferences } from "../../payment/definitions" ;
77
88export interface CreatedPaymentOutput {
@@ -24,10 +24,16 @@ export interface DisplayedData {
2424 showData ?: KeyValuePair [ ] | null ;
2525}
2626
27+ export interface Frequency {
28+ interval ?: string | null ;
29+ intervalFrequency ?: number | null ;
30+ }
31+
2732export interface HostedCheckoutSpecificInput {
2833 isRecurring ?: boolean | null ;
2934 locale ?: string | null ;
3035 paymentProductFilters ?: PaymentProductFiltersHostedCheckout | null ;
36+ recurringPaymentsData ?: RecurringPaymentsData | null ;
3137 returnCancelState ?: boolean | null ;
3238 returnUrl ?: string | null ;
3339 showResultPage ?: boolean | null ;
@@ -60,3 +66,21 @@ export interface PaymentProductFiltersHostedCheckout {
6066 restrictTo ?: PaymentProductFilter | null ;
6167 tokensOnly ?: boolean | null ;
6268}
69+
70+ export interface RecurringPaymentsData {
71+ recurringInterval ?: Frequency | null ;
72+ trialInformation ?: TrialInformation | null ;
73+ }
74+
75+ export interface TrialInformation {
76+ amountOfMoneyAfterTrial ?: AmountOfMoney | null ;
77+ endDate ?: string | null ;
78+ isRecurring ?: boolean | null ;
79+ trialPeriod ?: TrialPeriod | null ;
80+ trialPeriodRecurring ?: Frequency | null ;
81+ }
82+
83+ export interface TrialPeriod {
84+ duration ?: number | null ;
85+ interval ?: string | null ;
86+ }
0 commit comments