From cb79ece655b33e9d2446bc5a9af7cfaa08af2bb1 Mon Sep 17 00:00:00 2001 From: Omri Mosseri Date: Thu, 13 Aug 2015 16:21:59 +0300 Subject: [PATCH] added some missing fields (itay) --- Riskified.SDK/Model/OrderBase.cs | 8 ++++++++ Riskified.SDK/Model/OrderElements/Customer.cs | 3 +++ Riskified.SDK/Properties/AssemblyInfo.cs | 4 ++-- 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/Riskified.SDK/Model/OrderBase.cs b/Riskified.SDK/Model/OrderBase.cs index 4b46617..c781767 100644 --- a/Riskified.SDK/Model/OrderBase.cs +++ b/Riskified.SDK/Model/OrderBase.cs @@ -142,5 +142,13 @@ public OrderBase(int merchantOrderId) : base(merchantOrderId) [JsonProperty(PropertyName = "decision")] public DecisionDetails Decision { get; set; } + [JsonProperty(PropertyName = "referring_site")] + public string ReferringSite { get; set; } + + [JsonProperty(PropertyName = "note")] + public string Note { get; set; } + + [JsonProperty(PropertyName = "decision_timeout")] + public int? DecisionTimeout { get; set; } } } diff --git a/Riskified.SDK/Model/OrderElements/Customer.cs b/Riskified.SDK/Model/OrderElements/Customer.cs index fcf49a8..f5f2ca2 100644 --- a/Riskified.SDK/Model/OrderElements/Customer.cs +++ b/Riskified.SDK/Model/OrderElements/Customer.cs @@ -101,6 +101,9 @@ public void Validate(Validations validationType = Validations.Weak) [JsonProperty(PropertyName = "social")] public SocialDetails[] Social { get; set; } + [JsonProperty(PropertyName = "buyer_anonymous_id")] + public string BuyerAnonymousId { get; set; } + } } diff --git a/Riskified.SDK/Properties/AssemblyInfo.cs b/Riskified.SDK/Properties/AssemblyInfo.cs index 77efc42..3ea4ec2 100644 --- a/Riskified.SDK/Properties/AssemblyInfo.cs +++ b/Riskified.SDK/Properties/AssemblyInfo.cs @@ -31,5 +31,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("2.0.3.8")] -[assembly: AssemblyFileVersion("2.0.3.8")] +[assembly: AssemblyVersion("2.0.3.9")] +[assembly: AssemblyFileVersion("2.0.3.9")]