public Tender(string type, string id = null, string locationId = null, string transactionId = null, string createdAt = null, string note = null, Models.Money amountMoney = null, Models.Money tipMoney = null, Models.Money processingFeeMoney = null, string customerId = null, Models.TenderCardDetails cardDetails = null, Models.TenderCashDetails cashDetails = null, Models.TenderBankTransferDetails bankTransferDetails = null, IList <Models.AdditionalRecipient> additionalRecipients = null, string paymentId = null) { Id = id; LocationId = locationId; TransactionId = transactionId; CreatedAt = createdAt; Note = note; AmountMoney = amountMoney; TipMoney = tipMoney; ProcessingFeeMoney = processingFeeMoney; CustomerId = customerId; Type = type; CardDetails = cardDetails; CashDetails = cashDetails; BankTransferDetails = bankTransferDetails; AdditionalRecipients = additionalRecipients; PaymentId = paymentId; }
/// <summary> /// Initializes a new instance of the <see cref="Tender"/> class. /// </summary> /// <param name="type">type.</param> /// <param name="id">id.</param> /// <param name="locationId">location_id.</param> /// <param name="transactionId">transaction_id.</param> /// <param name="createdAt">created_at.</param> /// <param name="note">note.</param> /// <param name="amountMoney">amount_money.</param> /// <param name="tipMoney">tip_money.</param> /// <param name="processingFeeMoney">processing_fee_money.</param> /// <param name="customerId">customer_id.</param> /// <param name="cardDetails">card_details.</param> /// <param name="cashDetails">cash_details.</param> /// <param name="additionalRecipients">additional_recipients.</param> /// <param name="paymentId">payment_id.</param> public Tender( string type, string id = null, string locationId = null, string transactionId = null, string createdAt = null, string note = null, Models.Money amountMoney = null, Models.Money tipMoney = null, Models.Money processingFeeMoney = null, string customerId = null, Models.TenderCardDetails cardDetails = null, Models.TenderCashDetails cashDetails = null, IList <Models.AdditionalRecipient> additionalRecipients = null, string paymentId = null) { this.Id = id; this.LocationId = locationId; this.TransactionId = transactionId; this.CreatedAt = createdAt; this.Note = note; this.AmountMoney = amountMoney; this.TipMoney = tipMoney; this.ProcessingFeeMoney = processingFeeMoney; this.CustomerId = customerId; this.Type = type; this.CardDetails = cardDetails; this.CashDetails = cashDetails; this.AdditionalRecipients = additionalRecipients; this.PaymentId = paymentId; }
public Builder CashDetails(Models.TenderCashDetails value) { cashDetails = value; return(this); }
/// <summary> /// CashDetails. /// </summary> /// <param name="cashDetails"> cashDetails. </param> /// <returns> Builder. </returns> public Builder CashDetails(Models.TenderCashDetails cashDetails) { this.cashDetails = cashDetails; return(this); }