• Articles
  • Api Documentation

    Show / Hide Table of Contents
    • Yort.Humm.InStore
      • CreateKeyRequest
      • CreateKeyResponse
      • HummApiUrlSelector
      • HummClient
      • HummClientConfiguration
      • HummCountry
      • HummEnvironment
      • HummResponseSignatureException
      • HummStatusCodes
      • IHummApiUrlSelector
      • IHummClient
      • InviteRequest
      • InviteResponse
      • PendingAuthorisationEventArgs
      • ProcessAuthorisationRequest
      • ProcessAuthorisationResponse
      • ProcessSalesAdjustmentRequest
      • ProcessSalesAdjustmentResponse
      • ProcessSalesAdjustmentReversalRequest
      • ProcessSalesAdjustmentReversalResponse
      • PurchaseItemsCollection
      • RequestStates
      • SendReceiptRequest
      • SendReceiptResponse
    • Yort.Humm.InStore.Infrastructure
      • Hmac256SignatureGenerator
      • ISignatureGenerator
      • RequestBase
      • ResponseBase
      • SignedRequestWriter

    Class SendReceiptRequest

    Represents a request to associate a POS receipt number with a prior authorisation request.

    Inheritance
    Object
    RequestBase
    SendReceiptRequest
    Inherited Members
    RequestBase.MerchantId
    RequestBase.DeviceId
    RequestBase.PosVersion
    RequestBase.OperatorId
    RequestBase.TrackingData
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: Yort.Humm.InStore
    Assembly: Yort.Humm.InStore.dll
    Syntax
    public sealed class SendReceiptRequest : RequestBase

    Properties

    | Improve this Doc View Source

    ClientTransactionReference

    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.

    | Improve this Doc View Source

    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 Source

    Validate()

    Validates this instance.

    Declaration
    public override void Validate()
    Overrides
    RequestBase.Validate()
    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().

    See Also

    SendReceiptAsync(SendReceiptRequest)
    SendReceiptResponse
    RequestBase
    • Improve this Doc
    • View Source
    Back to top Copyright (c) 2020 Troy Willmot