• 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 CreateKeyResponse

    Contains details of a response to a CreateKeyRequest.

    Inheritance
    Object
    ResponseBase
    CreateKeyResponse
    Inherited Members
    ResponseBase.Status
    ResponseBase.Code
    ResponseBase.Message
    ResponseBase.TrackingData
    ResponseBase.Signature
    ResponseBase.VerifySignature(ISignatureGenerator)
    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 CreateKeyResponse : ResponseBase

    Properties

    | Improve this Doc View Source

    Key

    The device key to use for all future API requests using the merchant id and device id associated with the request that generated this response.

    Declaration
    [JsonProperty("x_key")]
    public string Key { get; set; }
    Property Value
    Type Description
    String

    The key as a string.

    Remarks

    This key is required to generate signatures for all future requests to the Humm API that use the same merchant id and device id as the request that generated this response. User code should ensure this value is persisted to disk and re-loaded as required, and ensure any relevant HummClient instance is initialised with this key.

    See Also

    ResponseBase
    CreateKeyAsync(CreateKeyRequest)
    CreateKeyRequest
    • Improve this Doc
    • View Source
    Back to top Copyright (c) 2020 Troy Willmot