/// <summary> /// Initializes a new instance of the <see cref="Recurring" /> class. /// </summary> /// <param name="contract">The type of recurring contract to be used. Possible values: * `ONECLICK` – Payment details can be used to initiate a one-click payment, where the shopper enters the [card security code (CVC/CVV)](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-security-code-cvc-cvv-cid). * `RECURRING` – Payment details can be used without the card security code to initiate [card-not-present transactions](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-not-present-cnp). * `ONECLICK,RECURRING` – Payment details can be used regardless of whether the shopper is on your site or not. * `PAYOUT` – Payment details can be used to [make a payout](https://docs.adyen.com/online-payments/online-payouts)..</param> /// <param name="recurringDetailName">A descriptive name for this detail..</param> /// <param name="recurringExpiry">Date after which no further authorisations shall be performed. Only for 3D Secure 2..</param> /// <param name="recurringFrequency">Minimum number of days between authorisations. Only for 3D Secure 2..</param> /// <param name="tokenService">The name of the token service..</param> public Recurring(ContractEnum?contract = default(ContractEnum?), string recurringDetailName = default(string), DateTime?recurringExpiry = default(DateTime?), string recurringFrequency = default(string), TokenServiceEnum?tokenService = default(TokenServiceEnum?)) { this.Contract = contract; this.RecurringDetailName = recurringDetailName; this.RecurringExpiry = recurringExpiry; this.RecurringFrequency = recurringFrequency; this.TokenService = tokenService; }
/// <summary> /// Initializes a new instance of the <see cref="Recurring" /> class. /// </summary> /// <param name="Contract">The type of recurring contract to be used. Possible values: * `ONECLICK` – Payment details can be used to initiate a one-click payment, where the shopper enters the [card security code (CVC/CVV)](https://docs.adyen.com/developers/payment-glossary#cardsecuritycodecvccvvcid). * `RECURRING` – Payment details can be used without the card security code to initiate [card-not-present transactions](https://docs.adyen.com/developers/payment-glossary#cardnotpresentcnp). * `ONECLICK,RECURRING` – Payment details can be used regardless of whether the shopper is on your site or not. * `PAYOUT` – Payment details can be used to [make a payout](https://docs.adyen.com/developers/features/third-party-payouts)..</param> /// <param name="Permits">Permit requests for this recurring contract..</param> /// <param name="RecurringDetailName">A descriptive name for this detail..</param> /// <param name="RecurringExpiry">Date after which no further authorisations shall be performed. Only for 3D Secure 2.0..</param> /// <param name="RecurringFrequency">Minimum number of days between authorisations. Only for 3D Secure 2.0..</param> /// <param name="TokenService">The name of the token service..</param> public Recurring(ContractEnum?Contract = default(ContractEnum?), List <Permit> Permits = default(List <Permit>), string RecurringDetailName = default(string), DateTime?RecurringExpiry = default(DateTime?), string RecurringFrequency = default(string), TokenServiceEnum?TokenService = default(TokenServiceEnum?)) { this.Contract = Contract; this.Permits = Permits; this.RecurringDetailName = RecurringDetailName; this.RecurringExpiry = RecurringExpiry; this.RecurringFrequency = RecurringFrequency; this.TokenService = TokenService; }
/// <summary> /// Initializes a new instance of the <see cref="Recurring" /> class. /// </summary> /// <param name="TokenService">The name of the token service..</param> /// <param name="Contract">The type of recurring contract to be used. Possible values: * `ONECLICK` – The shopper opts to store their card details for future use. The shopper is present for the subsequent transaction, for cards the security code (CVC/CVV) is required. * `RECURRING` – Payment details are stored for future use. For cards, the security code (CVC/CVV) is not required for subsequent payments. This is used for shopper not present transactions. * `ONECLICK, RECURRING` – Payment details are stored for future use. This allows the use of the stored payment details regardless of whether the shopper is on your site or not..</param> /// <param name="RecurringDetailName">A descriptive name for this detail..</param> public Recurring(TokenServiceEnum?TokenService = default(TokenServiceEnum?), Contract?Contract = default(Contract?), string RecurringDetailName = default(string)) { this.TokenService = TokenService; this.Contract = Contract; this.RecurringDetailName = RecurringDetailName; }