Class RefundRequest
Represents the arguments passed to Refund(RefundRequest).
Inherited Members
Namespace: Yort.Laybuy.InStore
Assembly: Yort.Laybuy.InStore.dll
Syntax
public class RefundRequest : LaybuyRequestBase
Properties
| Improve this Doc View SourceAmount
The amount of the refund.
Declaration
[JsonProperty("amount")]
public decimal Amount { get; set; }
Property Value
Type | Description |
---|---|
Decimal |
Note
An optional, humand readable note sent to the recipient of the refund.
Declaration
[JsonProperty("note")]
public string Note { get; set; }
Property Value
Type | Description |
---|---|
String |
OrderId
The unique id of the Laybuy order to refund against.
Declaration
[JsonProperty("orderId")]
public long OrderId { get; set; }
Property Value
Type | Description |
---|---|
Int64 |
RefundMerchantReference
A unique client generated reference for the refund request, used to ensure idempotency.
Declaration
[JsonProperty("refundReference")]
public string RefundMerchantReference { 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.
Exceptions
Type | Condition |
---|---|
NotImplementedException |