Class SendReceiptRequest
Represents a request to associate a POS receipt number with a prior authorisation request.
Inherited Members
Namespace: Yort.Humm.InStore
Assembly: Yort.Humm.InStore.dll
Syntax
public sealed class SendReceiptRequest : RequestBase
Properties
| Improve this Doc View SourceClientTransactionReference
Required. Gets or sets the client transaction reference of the authorisation to update.
Declaration
[JsonProperty("x_pos_transaction_ref")]
public string ClientTransactionReference { get; set; }
Property Value
Type | Description |
---|---|
String | This must be the same reference used in the prior ProcessAuthorisationAsync(ProcessAuthorisationRequest) request to be udpated. |
Remarks
Maximum length of 64 characters.
ReceiptNumber
Required. Gets or sets the receipt number.
Declaration
[JsonProperty("x_receipt_number")]
public string ReceiptNumber { get; set; }
Property Value
Type | Description |
---|---|
String | The new receipt number to associate with the authorisation. |
Remarks
This must be the same reference (x_pos_transaction_ref) that would get passed through on future ProcessSalesAdjustmentAsync(ProcessSalesAdjustmentRequest) requests.
Maximum length of 64 characters.
Methods
| Improve this Doc View SourceValidate()
Validates this instance.
Declaration
public override void Validate()
Overrides
Remarks
Ensures ClientTransactionReference and ReceiptNumber are not null, empty strings or contain only whitespace. Also ensures they are not longer than allowed.
Also ensures all base properties are valid, see Validate().