Class CancelOrderRequest
Provides details of a request to cancel a Laybuy previously created via Create(CreateOrderRequest).
Inherited Members
Namespace: Yort.Laybuy.InStore
Assembly: Yort.Laybuy.InStore.dll
Syntax
public class CancelOrderRequest : LaybuyRequestBase
Properties
| Improve this Doc View SourceToken
Required. The token value returned by the Create(CreateOrderRequest) method, used to uniquely identify the Laybuy to cancel.
Declaration
public string Token { get; set; }
Property Value
Type | Description |
---|---|
String |
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.