Class FedExAddressValidationRequest
- Namespace
- Visus.AddressValidation.Integration.FedEx.Models
- Assembly
- Visus.AddressValidation.Integration.FedEx.dll
Represents a unified address validation request sent to FedEx.
[UsedImplicitly]
public sealed class FedExAddressValidationRequest : AbstractAddressValidationRequest
- Inheritance
-
FedExAddressValidationRequest
- Inherited Members
Properties
ClientReferenceId
Gets or sets an optional client-defined reference identifier submitted to FedEx for the request.
public string? ClientReferenceId { get; set; }
Property Value
Remarks
The FedEx resolve endpoint does not echo this value back on the resolved address. You cannot use it to correlate a batch response with the request that produced it. Results correlate strictly by position (see IBatchAddressValidationService<TRequest>). FedEx transmits this value only for its own tracking purposes.
CustomerTransactionId
Gets or sets the customer transaction ID used to identify the transaction.
public string? CustomerTransactionId { get; set; }
Property Value
Remarks
When submitted via IBatchAddressValidationService<TRequest>, the FedEx API accepts only one transaction identifier for the entire batch call. It transmits only the value set on the first request in the batch.
NoPostalCodeFallback
Gets an optional fallback value to use as the postal code for countries that have no concept of a postal code.
public override string? NoPostalCodeFallback { get; }
Property Value
Remarks
Returns null by default. Override this property to supply a custom fallback value. Refer to Visus.AddressValidation.Constants.NoPostalCode for the list of countries where this fallback applies.