public V1Tender(string id = null, string type = null, string name = null, string employeeId = null, string receiptUrl = null, string cardBrand = null, string panSuffix = null, string entryMethod = null, string paymentNote = null, Models.V1Money totalMoney = null, Models.V1Money tenderedMoney = null, string tenderedAt = null, string settledAt = null, Models.V1Money changeBackMoney = null, Models.V1Money refundedMoney = null, bool?isExchange = null) { Id = id; Type = type; Name = name; EmployeeId = employeeId; ReceiptUrl = receiptUrl; CardBrand = cardBrand; PanSuffix = panSuffix; EntryMethod = entryMethod; PaymentNote = paymentNote; TotalMoney = totalMoney; TenderedMoney = tenderedMoney; TenderedAt = tenderedAt; SettledAt = settledAt; ChangeBackMoney = changeBackMoney; RefundedMoney = refundedMoney; IsExchange = isExchange; }
/// <summary> /// Initializes a new instance of the <see cref="V1PaymentItemization"/> class. /// </summary> /// <param name="name">name.</param> /// <param name="quantity">quantity.</param> /// <param name="itemizationType">itemization_type.</param> /// <param name="itemDetail">item_detail.</param> /// <param name="notes">notes.</param> /// <param name="itemVariationName">item_variation_name.</param> /// <param name="totalMoney">total_money.</param> /// <param name="singleQuantityMoney">single_quantity_money.</param> /// <param name="grossSalesMoney">gross_sales_money.</param> /// <param name="discountMoney">discount_money.</param> /// <param name="netSalesMoney">net_sales_money.</param> /// <param name="taxes">taxes.</param> /// <param name="discounts">discounts.</param> /// <param name="modifiers">modifiers.</param> public V1PaymentItemization( string name = null, double?quantity = null, string itemizationType = null, Models.V1PaymentItemDetail itemDetail = null, string notes = null, string itemVariationName = null, Models.V1Money totalMoney = null, Models.V1Money singleQuantityMoney = null, Models.V1Money grossSalesMoney = null, Models.V1Money discountMoney = null, Models.V1Money netSalesMoney = null, IList <Models.V1PaymentTax> taxes = null, IList <Models.V1PaymentDiscount> discounts = null, IList <Models.V1PaymentModifier> modifiers = null) { this.Name = name; this.Quantity = quantity; this.ItemizationType = itemizationType; this.ItemDetail = itemDetail; this.Notes = notes; this.ItemVariationName = itemVariationName; this.TotalMoney = totalMoney; this.SingleQuantityMoney = singleQuantityMoney; this.GrossSalesMoney = grossSalesMoney; this.DiscountMoney = discountMoney; this.NetSalesMoney = netSalesMoney; this.Taxes = taxes; this.Discounts = discounts; this.Modifiers = modifiers; }
/// <summary> /// Initializes a new instance of the <see cref="V1Tender"/> class. /// </summary> /// <param name="id">id.</param> /// <param name="type">type.</param> /// <param name="name">name.</param> /// <param name="employeeId">employee_id.</param> /// <param name="receiptUrl">receipt_url.</param> /// <param name="cardBrand">card_brand.</param> /// <param name="panSuffix">pan_suffix.</param> /// <param name="entryMethod">entry_method.</param> /// <param name="paymentNote">payment_note.</param> /// <param name="totalMoney">total_money.</param> /// <param name="tenderedMoney">tendered_money.</param> /// <param name="tenderedAt">tendered_at.</param> /// <param name="settledAt">settled_at.</param> /// <param name="changeBackMoney">change_back_money.</param> /// <param name="refundedMoney">refunded_money.</param> /// <param name="isExchange">is_exchange.</param> public V1Tender( string id = null, string type = null, string name = null, string employeeId = null, string receiptUrl = null, string cardBrand = null, string panSuffix = null, string entryMethod = null, string paymentNote = null, Models.V1Money totalMoney = null, Models.V1Money tenderedMoney = null, string tenderedAt = null, string settledAt = null, Models.V1Money changeBackMoney = null, Models.V1Money refundedMoney = null, bool?isExchange = null) { this.Id = id; this.Type = type; this.Name = name; this.EmployeeId = employeeId; this.ReceiptUrl = receiptUrl; this.CardBrand = cardBrand; this.PanSuffix = panSuffix; this.EntryMethod = entryMethod; this.PaymentNote = paymentNote; this.TotalMoney = totalMoney; this.TenderedMoney = tenderedMoney; this.TenderedAt = tenderedAt; this.SettledAt = settledAt; this.ChangeBackMoney = changeBackMoney; this.RefundedMoney = refundedMoney; this.IsExchange = isExchange; }
public V1Variation(string id = null, string name = null, string itemId = null, int?ordinal = null, string pricingType = null, Models.V1Money priceMoney = null, string sku = null, bool?trackInventory = null, string inventoryAlertType = null, int?inventoryAlertThreshold = null, string userData = null, string v2Id = null) { Id = id; Name = name; ItemId = itemId; Ordinal = ordinal; PricingType = pricingType; PriceMoney = priceMoney; Sku = sku; TrackInventory = trackInventory; InventoryAlertType = inventoryAlertType; InventoryAlertThreshold = inventoryAlertThreshold; UserData = userData; V2Id = v2Id; }
public V1PaymentModifier(string name = null, Models.V1Money appliedMoney = null, string modifierOptionId = null) { Name = name; AppliedMoney = appliedMoney; ModifierOptionId = modifierOptionId; }
public V1PaymentDiscount(string name = null, Models.V1Money appliedMoney = null, string discountId = null) { Name = name; AppliedMoney = appliedMoney; DiscountId = discountId; }
/// <summary> /// Initializes a new instance of the <see cref="V1Payment"/> class. /// </summary> /// <param name="id">id.</param> /// <param name="merchantId">merchant_id.</param> /// <param name="createdAt">created_at.</param> /// <param name="creatorId">creator_id.</param> /// <param name="device">device.</param> /// <param name="paymentUrl">payment_url.</param> /// <param name="receiptUrl">receipt_url.</param> /// <param name="inclusiveTaxMoney">inclusive_tax_money.</param> /// <param name="additiveTaxMoney">additive_tax_money.</param> /// <param name="taxMoney">tax_money.</param> /// <param name="tipMoney">tip_money.</param> /// <param name="discountMoney">discount_money.</param> /// <param name="totalCollectedMoney">total_collected_money.</param> /// <param name="processingFeeMoney">processing_fee_money.</param> /// <param name="netTotalMoney">net_total_money.</param> /// <param name="refundedMoney">refunded_money.</param> /// <param name="swedishRoundingMoney">swedish_rounding_money.</param> /// <param name="grossSalesMoney">gross_sales_money.</param> /// <param name="netSalesMoney">net_sales_money.</param> /// <param name="inclusiveTax">inclusive_tax.</param> /// <param name="additiveTax">additive_tax.</param> /// <param name="tender">tender.</param> /// <param name="refunds">refunds.</param> /// <param name="itemizations">itemizations.</param> /// <param name="surchargeMoney">surcharge_money.</param> /// <param name="surcharges">surcharges.</param> /// <param name="isPartial">is_partial.</param> public V1Payment( string id = null, string merchantId = null, string createdAt = null, string creatorId = null, Models.Device device = null, string paymentUrl = null, string receiptUrl = null, Models.V1Money inclusiveTaxMoney = null, Models.V1Money additiveTaxMoney = null, Models.V1Money taxMoney = null, Models.V1Money tipMoney = null, Models.V1Money discountMoney = null, Models.V1Money totalCollectedMoney = null, Models.V1Money processingFeeMoney = null, Models.V1Money netTotalMoney = null, Models.V1Money refundedMoney = null, Models.V1Money swedishRoundingMoney = null, Models.V1Money grossSalesMoney = null, Models.V1Money netSalesMoney = null, IList <Models.V1PaymentTax> inclusiveTax = null, IList <Models.V1PaymentTax> additiveTax = null, IList <Models.V1Tender> tender = null, IList <Models.V1Refund> refunds = null, IList <Models.V1PaymentItemization> itemizations = null, Models.V1Money surchargeMoney = null, IList <Models.V1PaymentSurcharge> surcharges = null, bool?isPartial = null) { this.Id = id; this.MerchantId = merchantId; this.CreatedAt = createdAt; this.CreatorId = creatorId; this.Device = device; this.PaymentUrl = paymentUrl; this.ReceiptUrl = receiptUrl; this.InclusiveTaxMoney = inclusiveTaxMoney; this.AdditiveTaxMoney = additiveTaxMoney; this.TaxMoney = taxMoney; this.TipMoney = tipMoney; this.DiscountMoney = discountMoney; this.TotalCollectedMoney = totalCollectedMoney; this.ProcessingFeeMoney = processingFeeMoney; this.NetTotalMoney = netTotalMoney; this.RefundedMoney = refundedMoney; this.SwedishRoundingMoney = swedishRoundingMoney; this.GrossSalesMoney = grossSalesMoney; this.NetSalesMoney = netSalesMoney; this.InclusiveTax = inclusiveTax; this.AdditiveTax = additiveTax; this.Tender = tender; this.Refunds = refunds; this.Itemizations = itemizations; this.SurchargeMoney = surchargeMoney; this.Surcharges = surcharges; this.IsPartial = isPartial; }
public V1SettlementEntry(string paymentId = null, string type = null, Models.V1Money amountMoney = null, Models.V1Money feeMoney = null) { PaymentId = paymentId; Type = type; AmountMoney = amountMoney; FeeMoney = feeMoney; }
/// <summary> /// Initializes a new instance of the <see cref="V1SettlementEntry"/> class. /// </summary> /// <param name="paymentId">payment_id.</param> /// <param name="type">type.</param> /// <param name="amountMoney">amount_money.</param> /// <param name="feeMoney">fee_money.</param> public V1SettlementEntry( string paymentId = null, string type = null, Models.V1Money amountMoney = null, Models.V1Money feeMoney = null) { this.PaymentId = paymentId; this.Type = type; this.AmountMoney = amountMoney; this.FeeMoney = feeMoney; }
public V1CreateRefundRequest(string paymentId, string type, string reason, Models.V1Money refundedMoney = null, string requestIdempotenceKey = null) { PaymentId = paymentId; Type = type; Reason = reason; RefundedMoney = refundedMoney; RequestIdempotenceKey = requestIdempotenceKey; }
/// <summary> /// Initializes a new instance of the <see cref="V1Order"/> class. /// </summary> /// <param name="errors">errors.</param> /// <param name="id">id.</param> /// <param name="buyerEmail">buyer_email.</param> /// <param name="recipientName">recipient_name.</param> /// <param name="recipientPhoneNumber">recipient_phone_number.</param> /// <param name="state">state.</param> /// <param name="shippingAddress">shipping_address.</param> /// <param name="subtotalMoney">subtotal_money.</param> /// <param name="totalShippingMoney">total_shipping_money.</param> /// <param name="totalTaxMoney">total_tax_money.</param> /// <param name="totalPriceMoney">total_price_money.</param> /// <param name="totalDiscountMoney">total_discount_money.</param> /// <param name="createdAt">created_at.</param> /// <param name="updatedAt">updated_at.</param> /// <param name="expiresAt">expires_at.</param> /// <param name="paymentId">payment_id.</param> /// <param name="buyerNote">buyer_note.</param> /// <param name="completedNote">completed_note.</param> /// <param name="refundedNote">refunded_note.</param> /// <param name="canceledNote">canceled_note.</param> /// <param name="tender">tender.</param> /// <param name="orderHistory">order_history.</param> /// <param name="promoCode">promo_code.</param> /// <param name="btcReceiveAddress">btc_receive_address.</param> /// <param name="btcPriceSatoshi">btc_price_satoshi.</param> public V1Order( IList <Models.Error> errors = null, string id = null, string buyerEmail = null, string recipientName = null, string recipientPhoneNumber = null, string state = null, Models.Address shippingAddress = null, Models.V1Money subtotalMoney = null, Models.V1Money totalShippingMoney = null, Models.V1Money totalTaxMoney = null, Models.V1Money totalPriceMoney = null, Models.V1Money totalDiscountMoney = null, string createdAt = null, string updatedAt = null, string expiresAt = null, string paymentId = null, string buyerNote = null, string completedNote = null, string refundedNote = null, string canceledNote = null, Models.V1Tender tender = null, IList <Models.V1OrderHistoryEntry> orderHistory = null, string promoCode = null, string btcReceiveAddress = null, double?btcPriceSatoshi = null) { this.Errors = errors; this.Id = id; this.BuyerEmail = buyerEmail; this.RecipientName = recipientName; this.RecipientPhoneNumber = recipientPhoneNumber; this.State = state; this.ShippingAddress = shippingAddress; this.SubtotalMoney = subtotalMoney; this.TotalShippingMoney = totalShippingMoney; this.TotalTaxMoney = totalTaxMoney; this.TotalPriceMoney = totalPriceMoney; this.TotalDiscountMoney = totalDiscountMoney; this.CreatedAt = createdAt; this.UpdatedAt = updatedAt; this.ExpiresAt = expiresAt; this.PaymentId = paymentId; this.BuyerNote = buyerNote; this.CompletedNote = completedNote; this.RefundedNote = refundedNote; this.CanceledNote = canceledNote; this.Tender = tender; this.OrderHistory = orderHistory; this.PromoCode = promoCode; this.BtcReceiveAddress = btcReceiveAddress; this.BtcPriceSatoshi = btcPriceSatoshi; }
public V1CashDrawerEvent(string id = null, string employeeId = null, string eventType = null, Models.V1Money eventMoney = null, string createdAt = null, string description = null) { Id = id; EmployeeId = employeeId; EventType = eventType; EventMoney = eventMoney; CreatedAt = createdAt; Description = description; }
public V1PaymentTax(IList <Models.Error> errors = null, string name = null, Models.V1Money appliedMoney = null, string rate = null, string inclusionType = null, string feeId = null) { Errors = errors; Name = name; AppliedMoney = appliedMoney; Rate = rate; InclusionType = inclusionType; FeeId = feeId; }
public V1Settlement(string id = null, string status = null, Models.V1Money totalMoney = null, string initiatedAt = null, string bankAccountId = null, IList <Models.V1SettlementEntry> entries = null) { Id = id; Status = status; TotalMoney = totalMoney; InitiatedAt = initiatedAt; BankAccountId = bankAccountId; Entries = entries; }
public V1ModifierOption(string id = null, string name = null, Models.V1Money priceMoney = null, bool?onByDefault = null, int?ordinal = null, string modifierListId = null, string v2Id = null) { Id = id; Name = name; PriceMoney = priceMoney; OnByDefault = onByDefault; Ordinal = ordinal; ModifierListId = modifierListId; V2Id = v2Id; }
public V1Discount(string id = null, string name = null, string rate = null, Models.V1Money amountMoney = null, string discountType = null, bool?pinRequired = null, string color = null, string v2Id = null) { Id = id; Name = name; Rate = rate; AmountMoney = amountMoney; DiscountType = discountType; PinRequired = pinRequired; Color = color; V2Id = v2Id; }
public V1PaymentSurcharge(string name = null, Models.V1Money appliedMoney = null, string rate = null, Models.V1Money amountMoney = null, string type = null, bool?taxable = null, IList <Models.V1PaymentTax> taxes = null, string surchargeId = null) { Name = name; AppliedMoney = appliedMoney; Rate = rate; AmountMoney = amountMoney; Type = type; Taxable = taxable; Taxes = taxes; SurchargeId = surchargeId; }
public V1CashDrawerShift(string id = null, string eventType = null, string openedAt = null, string endedAt = null, string closedAt = null, IList <string> employeeIds = null, string openingEmployeeId = null, string endingEmployeeId = null, string closingEmployeeId = null, string description = null, Models.V1Money startingCashMoney = null, Models.V1Money cashPaymentMoney = null, Models.V1Money cashRefundsMoney = null, Models.V1Money cashPaidInMoney = null, Models.V1Money cashPaidOutMoney = null, Models.V1Money expectedCashMoney = null, Models.V1Money closedCashMoney = null, Models.Device device = null, IList <Models.V1CashDrawerEvent> events = null) { Id = id; EventType = eventType; OpenedAt = openedAt; EndedAt = endedAt; ClosedAt = closedAt; EmployeeIds = employeeIds; OpeningEmployeeId = openingEmployeeId; EndingEmployeeId = endingEmployeeId; ClosingEmployeeId = closingEmployeeId; Description = description; StartingCashMoney = startingCashMoney; CashPaymentMoney = cashPaymentMoney; CashRefundsMoney = cashRefundsMoney; CashPaidInMoney = cashPaidInMoney; CashPaidOutMoney = cashPaidOutMoney; ExpectedCashMoney = expectedCashMoney; ClosedCashMoney = closedCashMoney; Device = device; Events = events; }
/// <summary> /// Initializes a new instance of the <see cref="V1Refund"/> class. /// </summary> /// <param name="type">type.</param> /// <param name="reason">reason.</param> /// <param name="refundedMoney">refunded_money.</param> /// <param name="refundedProcessingFeeMoney">refunded_processing_fee_money.</param> /// <param name="refundedTaxMoney">refunded_tax_money.</param> /// <param name="refundedAdditiveTaxMoney">refunded_additive_tax_money.</param> /// <param name="refundedAdditiveTax">refunded_additive_tax.</param> /// <param name="refundedInclusiveTaxMoney">refunded_inclusive_tax_money.</param> /// <param name="refundedInclusiveTax">refunded_inclusive_tax.</param> /// <param name="refundedTipMoney">refunded_tip_money.</param> /// <param name="refundedDiscountMoney">refunded_discount_money.</param> /// <param name="refundedSurchargeMoney">refunded_surcharge_money.</param> /// <param name="refundedSurcharges">refunded_surcharges.</param> /// <param name="createdAt">created_at.</param> /// <param name="processedAt">processed_at.</param> /// <param name="paymentId">payment_id.</param> /// <param name="merchantId">merchant_id.</param> /// <param name="isExchange">is_exchange.</param> public V1Refund( string type = null, string reason = null, Models.V1Money refundedMoney = null, Models.V1Money refundedProcessingFeeMoney = null, Models.V1Money refundedTaxMoney = null, Models.V1Money refundedAdditiveTaxMoney = null, IList <Models.V1PaymentTax> refundedAdditiveTax = null, Models.V1Money refundedInclusiveTaxMoney = null, IList <Models.V1PaymentTax> refundedInclusiveTax = null, Models.V1Money refundedTipMoney = null, Models.V1Money refundedDiscountMoney = null, Models.V1Money refundedSurchargeMoney = null, IList <Models.V1PaymentSurcharge> refundedSurcharges = null, string createdAt = null, string processedAt = null, string paymentId = null, string merchantId = null, bool?isExchange = null) { this.Type = type; this.Reason = reason; this.RefundedMoney = refundedMoney; this.RefundedProcessingFeeMoney = refundedProcessingFeeMoney; this.RefundedTaxMoney = refundedTaxMoney; this.RefundedAdditiveTaxMoney = refundedAdditiveTaxMoney; this.RefundedAdditiveTax = refundedAdditiveTax; this.RefundedInclusiveTaxMoney = refundedInclusiveTaxMoney; this.RefundedInclusiveTax = refundedInclusiveTax; this.RefundedTipMoney = refundedTipMoney; this.RefundedDiscountMoney = refundedDiscountMoney; this.RefundedSurchargeMoney = refundedSurchargeMoney; this.RefundedSurcharges = refundedSurcharges; this.CreatedAt = createdAt; this.ProcessedAt = processedAt; this.PaymentId = paymentId; this.MerchantId = merchantId; this.IsExchange = isExchange; }
public Builder PriceMoney(Models.V1Money priceMoney) { this.priceMoney = priceMoney; return(this); }
public Builder AmountMoney(Models.V1Money value) { amountMoney = value; return(this); }
public Builder AppliedMoney(Models.V1Money value) { appliedMoney = value; return(this); }
public Builder RefundedMoney(Models.V1Money value) { refundedMoney = value; return(this); }
public Builder ChangeBackMoney(Models.V1Money value) { changeBackMoney = value; return(this); }
public Builder TenderedMoney(Models.V1Money value) { tenderedMoney = value; return(this); }
public Builder TotalMoney(Models.V1Money value) { totalMoney = value; return(this); }
public Builder TotalDiscountMoney(Models.V1Money totalDiscountMoney) { this.totalDiscountMoney = totalDiscountMoney; return(this); }
public Builder TotalPriceMoney(Models.V1Money totalPriceMoney) { this.totalPriceMoney = totalPriceMoney; return(this); }
public Builder TotalShippingMoney(Models.V1Money totalShippingMoney) { this.totalShippingMoney = totalShippingMoney; return(this); }
public Builder SubtotalMoney(Models.V1Money subtotalMoney) { this.subtotalMoney = subtotalMoney; return(this); }