Initializes a new instance of the
Request class.
Namespace:
Autoaddress.Autoaddress2_0.Model.PostcodeLookup
Assembly:
Autoaddress2.0SDK (in Autoaddress2.0SDK.dll) Version: 1.0.18
Syntaxpublic Request(
string postcode,
Language language,
Country country,
int limit,
bool geographicAddress,
bool vanityMode,
bool addressElements,
string addressProfileName,
string txn = null
)
Public Sub New (
postcode As String,
language As Language,
country As Country,
limit As Integer,
geographicAddress As Boolean,
vanityMode As Boolean,
addressElements As Boolean,
addressProfileName As String,
Optional txn As String = Nothing
)
public:
Request(
String^ postcode,
Language language,
Country country,
int limit,
bool geographicAddress,
bool vanityMode,
bool addressElements,
String^ addressProfileName,
String^ txn = nullptr
)
new :
postcode : string *
language : Language *
country : Country *
limit : int *
geographicAddress : bool *
vanityMode : bool *
addressElements : bool *
addressProfileName : string *
?txn : string
(* Defaults:
let _txn = defaultArg txn null
*)
-> Request
Parameters
- postcode
- Type: SystemString
Postcode to find. - language
- Type: Autoaddress.Autoaddress2_0.ModelLanguage
Language for returned address. - country
- Type: Autoaddress.Autoaddress2_0.ModelCountry
Country the address should be searched in. - limit
- Type: SystemInt32
An upper limit on the number of options that may be returned. - geographicAddress
- Type: SystemBoolean
Return geographic address. - vanityMode
- Type: SystemBoolean
Return vanity address format, if it exists. - addressElements
- Type: SystemBoolean
Return address elements. - addressProfileName
- Type: SystemString
If supplied, a reformatted address (according to profile rules) is returned in the ReformattedAddress field. - txn (Optional)
- Type: SystemString
Transaction. If null then automatically assigned a value in associated response.
Exceptions
See Also