EngageSoftware / elm-engage-common / Engage.CreditCard.Ports

CreditCard.Ports


type InKey
    = StripeCardError
    | StripeCardReady
    | GetStripeTokenCompleted
    | GeneralError

The InKey Type


type OutKey
    = DomReady
    | GetStripeToken

The OutKey type

inKeyDecoder : Json.Decode.Decoder InKey

The InKey Decoder

toInKey : String -> Json.Decode.Decoder InKey

Convert a String to an InKey Decoder