Table of Contents

Class PitneyBowesServiceOptions

Namespace
Visus.AddressValidation.Integration.PitneyBowes.Configuration
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

string

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

string

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

string

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

string

EndpointUri

Gets the base URI of the provider's API endpoint, derived from the current ClientEnvironment value.

public override Uri EndpointUri { get; }

Property Value

Uri