TD.Data.Address
data Address Source #
Constructors
Describes an address
Fields
A two-letter ISO 3166-1 alpha-2 country code
State, if applicable
City
First line of the address
Second line of the address
Address postal code
Defined in TD.Data.Address
Methods
parseJSON :: Value -> Parser Address #
parseJSONList :: Value -> Parser [Address] #
toJSON :: Address -> Value #
toEncoding :: Address -> Encoding #
toJSONList :: [Address] -> Value #
toEncodingList :: [Address] -> Encoding #
showsPrec :: Int -> Address -> ShowS #
show :: Address -> String #
showList :: [Address] -> ShowS #
(==) :: Address -> Address -> Bool #
(/=) :: Address -> Address -> Bool #
shortShow :: Address -> String Source #
defaultAddress :: Address Source #