Class ProcessSalesAdjustmentReversalRequest
Represents a prior ProcessSalesAdjustmentAsync(ProcessSalesAdjustmentRequest) request be reversed/undone/cancelled.
Inherited Members
Namespace: Yort.Humm.InStore
Assembly: Yort.Humm.InStore.dll
Syntax
public sealed class ProcessSalesAdjustmentReversalRequest : RequestBase
Properties
| Improve this Doc View SourceAdjustmentSignature
Required. Gets or sets the adjustment signature.
Declaration
[JsonProperty("x_adjustment_signature")]
public string AdjustmentSignature { get; set; }
Property Value
Type | Description |
---|---|
String | The adjustment signature. |
Remarks
The original adjustment signature that we are trying to reverse. We are using the Sales Adjustment Signature as we can not rely on the Sales Adjustment to return a result. (e.g.Network Issues). See the Humm documentation at https://docs.shophumm.com.au/pos/api/process_adjustment_reversal/
Maximum length of 200 characters.
ClientTransactionReference
Required. Gets or sets the client transaction reference for this reversal.
Declaration
[JsonProperty("x_pos_transaction_ref")]
public string ClientTransactionReference { get; set; }
Property Value
Type | Description |
---|---|
String | This is the transaction reference of the sales adjustment reversal. |
Remarks
Maximum length of 64 characters.
Methods
| Improve this Doc View SourceValidate()
Validates this instance.
Declaration
public override void Validate()
Overrides
Remarks
Ensures ClientTransactionReference and AdjustmentSignature 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().