EngageSoftware/elm-engage-common/5.2.0

NOTE: the latest version is 8.2.10

Engage.Entity.Account

Entity.Account

type alias Account =
{ accountId : Maybe Int
, name : String
, description : String
, address : String
, address2 : String
, city : String
, region : Maybe ListItem
, country : Maybe ListItem
, postalCode : String
, phone : String
}

The Account type

decoder : Decoder Account

The Account decoder

empty : Account

Get an empty account

encoder : Account -> Value

The Account encoder

encoderWith : List ( String, Value ) -> Account -> Value

The Account encoder with fields