• 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

    Interface IHummApiUrlSelector

    An interface for components that can decide on the base URL to call for Humm.

    Namespace: Yort.Humm.InStore
    Assembly: Yort.Humm.InStore.dll
    Syntax
    public interface IHummApiUrlSelector
    Remarks

    The default implementation is IHummApiUrlSelector and is likely all user code needs. However this interface allows custom versions to be built, such as one that allows user code to explicitly specify a raw URL or to read config settings from persistent storage which are used to make a choice of base address.

    Methods

    | Improve this Doc View Source

    GetUrl()

    Gets the base URL to use for Humm API calls.

    Declaration
    Uri GetUrl()
    Returns
    Type Description
    Uri

    A Uri representing the base API address to be used.

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