generated from Yortw/OssLibTemplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CreateOrderResponse.cs
32 lines (31 loc) · 1.07 KB
/
CreateOrderResponse.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Text;
using Newtonsoft.Json;
namespace Yort.Laybuy.InStore
{
/// <summary>
/// Represents the response from a <see cref="ILaybuyClient.Create(CreateOrderRequest)"/>.
/// </summary>
/// <seealso cref="CreateOrderRequest"/>
/// <seealso cref="ILaybuyClient.Create(CreateOrderRequest)"/>
public class CreateOrderResponse : LaybuyApiResponseBase
{
/// <summary>
/// The Laybuy payment token for the payment. Populated when the result is SUCCESS.
/// </summary>
/// <seealso cref="LaybuyStatus"/>
[ExcludeFromCodeCoverage]
[JsonProperty("token")]
public string? Token { get; set; }
/// <summary>
/// The URL to use that begins the Laybuy payment process. Populated when the result is SUCCESS.
/// </summary>
/// <seealso cref="LaybuyStatus"/>
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1056:UriPropertiesShouldNotBeStrings")]
[ExcludeFromCodeCoverage]
[JsonProperty("paymentUrl")]
public string? PaymentUrl { get; set; }
}
}