Module Values.AddressSource

Information about an address.

Sourcetype nonrec t = {
  1. contactName : ContactName.t;
    (*

    The name of the contact.

    *)
  2. contactPhoneNumber : ContactPhoneNumber.t;
    (*

    The phone number of the contact.

    *)
  3. addressLine1 : AddressLine1.t;
    (*

    The first line of the address.

    *)
  4. addressLine2 : AddressLine2.t option;
    (*

    The second line of the address.

    *)
  5. addressLine3 : AddressLine3.t option;
    (*

    The third line of the address.

    *)
  6. city : City.t;
    (*

    The city for the address.

    *)
  7. stateOrRegion : StateOrRegion.t;
    (*

    The state for the address.

    *)
  8. districtOrCounty : DistrictOrCounty.t option;
    (*

    The district or county for the address.

    *)
  9. postalCode : PostalCode.t;
    (*

    The postal code for the address.

    *)
  10. countryCode : CountryCode.t;
    (*

    The ISO-3166 two-letter country code for the address.

    *)
  11. municipality : Municipality.t option;
    (*

    The municipality for the address.

    *)
}
Sourceval context_ : string
Sourceval make : ?addressLine2:??? -> ?addressLine3:??? -> ?districtOrCounty:??? -> ?municipality:??? -> contactName:ContactName.t -> contactPhoneNumber:ContactPhoneNumber.t -> addressLine1:AddressLine1.t -> city:City.t -> stateOrRegion:StateOrRegion.t -> postalCode:PostalCode.t -> countryCode:CountryCode.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of ContactName.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t