Client for querying the minFraud Score and Insights web services.
See Also: Inherited members from object.
|
Constructor for minFraud web service client. |
|
Dispose
()Dispose of the underlying HttpClient. |
|
|
FactorsAsync
(MaxMind.MinFraud.Request.Transaction)Asynchronously query Factors endpoint with transaction data |
|
|
InsightsAsync
(MaxMind.MinFraud.Request.Transaction)Asynchronously query Insights endpoint with transaction data |
|
|
ScoreAsync
(MaxMind.MinFraud.Request.Transaction)Asynchronously query Score endpoint with transaction data |
Constructor for minFraud web service client.Syntax
public WebServiceClient (int userId, string licenseKey, IEnumerable<string> locales, string host, Nullable<TimeSpan> timeout, System.Net.Http.HttpMessageHandler httpMessageHandler)Parameters
- userId
- Your MaxMind user ID.
- licenseKey
- Your MaxMind license key.
- locales
- A list of locale codes to use for name property.
- host
- The host to use when connecting to the web service.
- timeout
- The timeout to use for the request.
- httpMessageHandler
- Handler to use in request. For unit testing only.
Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: MaxMind.MinFraud
Assembly: MaxMind.MinFraud (in MaxMind.MinFraud.dll)
Assembly Versions: 0.6.0.0
Dispose of the underlying HttpClient.Syntax
public void Dispose ()Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: MaxMind.MinFraud
Assembly: MaxMind.MinFraud (in MaxMind.MinFraud.dll)
Assembly Versions: 0.6.0.0
Asynchronously query Factors endpoint with transaction dataSyntax
[System.Runtime.CompilerServices.AsyncStateMachine(typeof(MaxMind.MinFraud.WebServiceClient/<FactorsAsync>d__7))]
public System.Threading.Tasks.Task<MaxMind.MinFraud.Response.Insights> FactorsAsync (MaxMind.MinFraud.Request.Transaction transaction)Parameters
- transaction
- Object containing the transaction data to be sent to the minFraud web service.
Returns
Task that produces an object modeling the minFraud Factors response dataRemarks
Documentation for this section has not yet been entered.Requirements
Namespace: MaxMind.MinFraud
Assembly: MaxMind.MinFraud (in MaxMind.MinFraud.dll)
Assembly Versions: 0.6.0.0
Asynchronously query Insights endpoint with transaction dataSyntax
[System.Runtime.CompilerServices.AsyncStateMachine(typeof(MaxMind.MinFraud.WebServiceClient/<InsightsAsync>d__8))]
public System.Threading.Tasks.Task<MaxMind.MinFraud.Response.Insights> InsightsAsync (MaxMind.MinFraud.Request.Transaction transaction)Parameters
- transaction
- Object containing the transaction data to be sent to the minFraud web service.
Returns
Task that produces an object modeling the minFraud Insights response dataRemarks
Documentation for this section has not yet been entered.Requirements
Namespace: MaxMind.MinFraud
Assembly: MaxMind.MinFraud (in MaxMind.MinFraud.dll)
Assembly Versions: 0.6.0.0
Asynchronously query Score endpoint with transaction dataSyntax
[System.Runtime.CompilerServices.AsyncStateMachine(typeof(MaxMind.MinFraud.WebServiceClient/<ScoreAsync>d__9))]
public System.Threading.Tasks.Task<MaxMind.MinFraud.Response.Score> ScoreAsync (MaxMind.MinFraud.Request.Transaction transaction)Parameters
- transaction
- Object containing the transaction data to be sent to the minFraud web service.
Returns
Task that produces an object modeling the minFraud Score response dataRemarks
Documentation for this section has not yet been entered.Requirements
Namespace: MaxMind.MinFraud
Assembly: MaxMind.MinFraud (in MaxMind.MinFraud.dll)
Assembly Versions: 0.6.0.0