Class PitneyBowesServiceOptions
- Assembly
- Visus.AddressValidation.Integration.PitneyBowes.dll
Configuration options for the Pitney Bowes address validation service.
public sealed class PitneyBowesServiceOptions : AbstractServiceOptions, IValidatableObject
- Inheritance
-
PitneyBowesServiceOptions
- Implements
- Inherited Members
Fields
SectionName
The configuration section path used to bind these options from
appsettings.json or other configuration sources.
public const string SectionName = "AddressValidationSettings:PitneyBowes"
Field Value
Properties
ApiKey
Gets or sets the API key issued by Pitney Bowes for the registered application.
[Required(AllowEmptyStrings = false)]
public required string ApiKey { get; set; }
Property Value
ApiSecret
Gets or sets the API secret issued by Pitney Bowes for the registered application.
[Required(AllowEmptyStrings = false)]
public required string ApiSecret { get; set; }
Property Value
DeveloperId
Gets or sets the Pitney Bowes developer ID associated with the registered application.
[Required(AllowEmptyStrings = false)]
public required string DeveloperId { get; set; }
Property Value
EndpointUri
Gets the base URI of the provider's API endpoint, derived from the current ClientEnvironment value.
public override Uri EndpointUri { get; }