2020-09-19 16:54:40 +02:00
|
|
|
using System.Collections.Generic;
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
2021-04-08 06:37:05 +02:00
|
|
|
namespace BTCPayServer.Plugins.Shopify.ApiModels
|
2020-09-19 16:54:40 +02:00
|
|
|
{
|
|
|
|
public class ShopifyOrder
|
|
|
|
{
|
|
|
|
[JsonProperty("id")]
|
2022-05-25 19:01:09 +09:00
|
|
|
public long Id { get; set; }
|
2022-05-09 13:58:05 +02:00
|
|
|
[JsonProperty("order_number")]
|
2022-05-25 19:01:09 +09:00
|
|
|
public long OrderNumber { get; set; }
|
2020-09-19 16:54:40 +02:00
|
|
|
[JsonProperty("total_price")]
|
|
|
|
public decimal TotalPrice { get; set; }
|
2021-12-28 07:56:54 +01:00
|
|
|
[JsonProperty("total_outstanding")]
|
|
|
|
public decimal TotalOutstanding { get; set; }
|
2020-09-19 16:54:40 +02:00
|
|
|
[JsonProperty("currency")]
|
|
|
|
public string Currency { get; set; }
|
2021-12-28 07:56:54 +01:00
|
|
|
[JsonProperty("presentment_currency")]
|
|
|
|
public string PresentmentCurrency { get; set; }
|
2020-09-19 16:54:40 +02:00
|
|
|
[JsonProperty("financial_status")]
|
|
|
|
public string FinancialStatus { get; set; }
|
|
|
|
[JsonProperty("transactions")]
|
|
|
|
public IEnumerable<ShopifyTransaction> Transactions { get; set; }
|
|
|
|
}
|
|
|
|
}
|