Class OrderResponse
Provides details about a Laybuy order, returned by GetOrder(OrderRequest).
Inherited Members
Namespace: Yort.Laybuy.InStore
Assembly: Yort.Laybuy.InStore.dll
Syntax
public class OrderResponse : LaybuyApiResponseBase
Properties
| Improve this Doc View SourceAmount
The total value of the order.
Declaration
[JsonProperty("amount")]
public decimal Amount { get; set; }
Property Value
Type | Description |
---|---|
Decimal |
Currency
The currency associated with Amount.
Declaration
[JsonProperty("currency")]
public string Currency { get; set; }
Property Value
Type | Description |
---|---|
String |
Customer
A ResponseLaybuyCustomer instance containing details of the customer associated with the order.
Declaration
[JsonProperty("customer")]
public ResponseLaybuyCustomer Customer { get; set; }
Property Value
Type | Description |
---|---|
ResponseLaybuyCustomer |
MerchantReference
The unique client reference generated by the merchant to refer to this transaction and help ensure idempotency.
Declaration
[JsonProperty("merchantReference")]
public string MerchantReference { get; set; }
Property Value
Type | Description |
---|---|
String |
OrderId
The unique id of the order used by Laybuy.
Declaration
[JsonProperty("orderId")]
public long OrderId { get; set; }
Property Value
Type | Description |
---|---|
Int64 |
Processed
The date and time this order was processed, or null if it has not been confirmed.
Declaration
[JsonProperty("processed")]
public DateTime? Processed { get; set; }
Property Value
Type | Description |
---|---|
Nullable<DateTime> |
Refunds
Gets or sets any refunds previously made against this order.
Declaration
[JsonProperty("refunds")]
public IEnumerable<LaybuyOrderRefund> Refunds { get; set; }
Property Value
Type | Description |
---|---|
IEnumerable<LaybuyOrderRefund> | The refunds. |
Token
The payment token associated with the order.
Declaration
[JsonProperty("token")]
public string Token { get; set; }
Property Value
Type | Description |
---|---|
String |