• 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 OrderRequest

    Represents arguments passed to GetOrder(OrderRequest).

    Inheritance
    Object
    LaybuyRequestBase
    OrderRequest
    Inherited Members
    LaybuyRequestBase.SetDefaults(LaybuyClientConfiguration)
    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 OrderRequest : LaybuyRequestBase

    Properties

    | Improve this Doc View Source

    MerchantReference

    The unique merchant reference of the Laybuy order to retrieve. Can be null if OrderId is provided.

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

    OrderId

    The unique Laybuy id of the Laybuy order to retrieve. Can be null if MerchantReference is provided.

    Declaration
    [JsonProperty("orderId")]
    public long? OrderId { get; set; }
    Property Value
    Type Description
    Nullable<Int64>

    Methods

    | Improve this Doc View Source

    Validate()

    Validates the properties for this instance are valid before sending the request to the API.

    Declaration
    public override void Validate()
    Overrides
    LaybuyRequestBase.Validate()
    Remarks

    Provides simple client side validation, such as required fields beign provided and fields under maximum lengths etc.

    Exceptions
    Type Condition
    ArgumentException

    See Also

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