/// <summary> /// Initializes a new instance of the <see cref="RecurringDetail" /> class. /// </summary> /// <param name="brand">Brand for the selected gift card. For example: plastix, hmclub..</param> /// <param name="brands">List of possible brands. For example: visa, mc..</param> /// <param name="configuration">The configuration of the payment method..</param> /// <param name="details">All input details to be provided to complete the payment with this payment method..</param> /// <param name="fundingSource">The funding source of the payment method..</param> /// <param name="group">group.</param> /// <param name="inputDetails">All input details to be provided to complete the payment with this payment method..</param> /// <param name="name">The displayable name of this payment method..</param> /// <param name="recurringDetailReference">The reference that uniquely identifies the recurring detail..</param> /// <param name="storedDetails">storedDetails.</param> /// <param name="type">The unique payment method code..</param> public RecurringDetail(string brand = default(string), List <string> brands = default(List <string>), Dictionary <string, string> configuration = default(Dictionary <string, string>), List <InputDetail> details = default(List <InputDetail>), FundingSourceEnum?fundingSource = default(FundingSourceEnum?), PaymentMethodGroup group = default(PaymentMethodGroup), List <InputDetail> inputDetails = default(List <InputDetail>), string name = default(string), string recurringDetailReference = default(string), StoredDetails storedDetails = default(StoredDetails), string type = default(string)) { this.Brand = brand; this.Brands = brands; this.Configuration = configuration; this.Details = details; this.FundingSource = fundingSource; this.Group = group; this.InputDetails = inputDetails; this.Name = name; this.RecurringDetailReference = recurringDetailReference; this.StoredDetails = storedDetails; this.Type = type; }
/// <summary> /// Initializes a new instance of the <see cref="RecurringDetail" /> class. /// </summary> /// <param name="Configuration">The configuration of the payment method..</param> /// <param name="Details">All input details to be provided to complete the payment with this payment method..</param> /// <param name="Group">The group where this payment method belongs to..</param> /// <param name="Name">The displayable name of this payment method..</param> /// <param name="PaymentMethodData">Echo data required to send in next calls..</param> /// <param name="RecurringDetailReference">The reference that uniquely identifies the recurring detail..</param> /// <param name="StoredDetails">Contains information on previously stored payment details..</param> /// <param name="SupportsRecurring">Indicates whether this payment method supports tokenization or not..</param> /// <param name="Type">The unique payment method code..</param> public RecurringDetail(Dictionary <string, string> Configuration = default(Dictionary <string, string>), List <InputDetail> Details = default(List <InputDetail>), PaymentMethodGroup Group = default(PaymentMethodGroup), string Name = default(string), string PaymentMethodData = default(string), string RecurringDetailReference = default(string), StoredDetails StoredDetails = default(StoredDetails), bool?SupportsRecurring = default(bool?), string Type = default(string)) { this.Configuration = Configuration; this.Details = Details; this.Group = Group; this.Name = Name; this.PaymentMethodData = PaymentMethodData; this.RecurringDetailReference = RecurringDetailReference; this.StoredDetails = StoredDetails; this.SupportsRecurring = SupportsRecurring; this.Type = Type; }