• Articles
  • Api Documentation

    Show / Hide Table of Contents
    • Yort.Laybuy.InStore
      • CancelOrderRequest
      • CancelOrderResponse
      • CreateOrderRequest
      • CreateOrderResponse
      • ILaybuyClient
      • LaybuyApiException
      • LaybuyApiResponseBase
      • LaybuyClient
      • LaybuyClientConfiguration
      • LaybuyCredentials
      • LaybuyCustomerAddress
      • LaybuyCustomerBase
      • LaybuyEnvironment
      • LaybuyItem
      • LaybuyOrderRefund
      • LaybuyOrderStatus
      • LaybuyRequestBase
      • LaybuyStatus
      • OrderRequest
      • OrderResponse
      • OrderStatusRequest
      • OrderStatusResponse
      • RefundRequest
      • RefundResponse
      • RequestLaybuyCustomer
      • ResponseLaybuyCustomer
      • StandardOriginData

    Class OrderResponse

    Provides details about a Laybuy order, returned by GetOrder(OrderRequest).

    Inheritance
    Object
    LaybuyApiResponseBase
    OrderResponse
    Inherited Members
    LaybuyApiResponseBase.Result
    LaybuyApiResponseBase.Error
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: Yort.Laybuy.InStore
    Assembly: Yort.Laybuy.InStore.dll
    Syntax
    public class OrderResponse : LaybuyApiResponseBase

    Properties

    | Improve this Doc View Source

    Amount

    The total value of the order.

    Declaration
    [JsonProperty("amount")]
    public decimal Amount { get; set; }
    Property Value
    Type Description
    Decimal
    | Improve this Doc View Source

    Currency

    The currency associated with Amount.

    Declaration
    [JsonProperty("currency")]
    public string Currency { get; set; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    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
    | Improve this Doc View Source

    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
    | Improve this Doc View Source

    OrderId

    The unique id of the order used by Laybuy.

    Declaration
    [JsonProperty("orderId")]
    public long OrderId { get; set; }
    Property Value
    Type Description
    Int64
    | Improve this Doc View Source

    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>
    | Improve this Doc View Source

    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.

    | Improve this Doc View Source

    Token

    The payment token associated with the order.

    Declaration
    [JsonProperty("token")]
    public string Token { get; set; }
    Property Value
    Type Description
    String

    See Also

    OrderRequest
    GetOrder(OrderRequest)
    • Improve this Doc
    • View Source
    Back to top Copyright (c) 2020 Troy Willmot