Class OrderRequest
Represents arguments passed to GetOrder(OrderRequest).
Inherited Members
Namespace: Yort.Laybuy.InStore
Assembly: Yort.Laybuy.InStore.dll
Syntax
public class OrderRequest : LaybuyRequestBase
Properties
| Improve this Doc View SourceMerchantReference
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 |
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 SourceValidate()
Validates the properties for this instance are valid before sending the request to the API.
Declaration
public override void Validate()
Overrides
Remarks
Provides simple client side validation, such as required fields beign provided and fields under maximum lengths etc.
Exceptions
Type | Condition |
---|---|
ArgumentException |