# RetailerProtocol

class RetailerProtocol(val configuration: RetailerConfiguration, val validators: Map<KClass<out DomainMessage>, DomainMessageValidator<out DomainMessage>>, val contract: RetailerConversionContract, val runtimeStorage: RetailerProtocolRuntimeStorage, val migrations: List<MessageMigrationBuilder> = listOf( MessageMigrationBuilder( protocolName = "Retailer", migrationConstructor = ::DonationsMigration ), MessageMigrationBuilder( protocolName = "Retailer", migrationConstructor = ::NetworkConfigurationMigration ), MessageMigrationBuilder( protocolName = "Retailer", migrationConstructor = ::TransactionParameterMigration ) )) : Protocol<RetailerRawMessageType, DomainMessage>

## Constructors

RetailerProtocol
Link copied to clipboard
constructor(configuration: RetailerConfiguration, validators: Map<KClass<out DomainMessage>, DomainMessageValidator<out DomainMessage>>, contract: RetailerConversionContract, runtimeStorage: RetailerProtocolRuntimeStorage, migrations: List<MessageMigrationBuilder> = listOf( MessageMigrationBuilder( protocolName = "Retailer", migrationConstructor = ::DonationsMigration ), MessageMigrationBuilder( protocolName = "Retailer", migrationConstructor = ::NetworkConfigurationMigration ), MessageMigrationBuilder( protocolName = "Retailer", migrationConstructor = ::TransactionParameterMigration ) ))

## Properties

configuration
Link copied to clipboard
open override val configuration: RetailerConfiguration
contract
Link copied to clipboard
open override val contract: RetailerConversionContract
exceptionToMessage
Link copied to clipboard
open override val exceptionToMessage: ExceptionToResponseConverter<RetailerProtocol>
interProtocolConversions
Link copied to clipboard
open override val interProtocolConversions: List<InterProtocolConversionContract<out DomainMessage, out DomainMessage>>
messageTransformations
Link copied to clipboard
open override val messageTransformations: List<Transformer.TransformationContract>
migrations
Link copied to clipboard
open override val migrations: List<MessageMigrationBuilder>
runtimeStorage
Link copied to clipboard
open override val runtimeStorage: RetailerProtocolRuntimeStorage
validators
Link copied to clipboard
open override val validators: Map<KClass<out DomainMessage>, DomainMessageValidator<out DomainMessage>>

## Functions

provideCommunicationInterface
Link copied to clipboard
open override fun provideCommunicationInterface(communicationSender: ClientMessageSendingProcessor): CommunicationInterface