TransactionMatcherBuilder

open class TransactionMatcherBuilder

Builder used to configure and create a TransactionMatcher instance

Constructors

TransactionMatcherBuilder
Link copied to clipboard
open fun TransactionMatcherBuilder(@NonNull() context: Context, @NonNull() environment: DefaultEnvironment, @NonNull() sessionToken: String)
Initialize the builder with required fields

Functions

build
Link copied to clipboard
open fun build(): TransactionMatcher
Create and return a TransactionMatcher instance with the previously providedconfiguration.
certificatePinning
Link copied to clipboard
open fun certificatePinning(enableCertificatePinning: Boolean): TransactionMatcherBuilder
Enable or disable certificate pinning (Disabled by default)
disableTwoMonthsSpanRestriction
Link copied to clipboard
open fun disableTwoMonthsSpanRestriction(): TransactionMatcherBuilder
Disable the restriction that all provided transactions to match should be within a two monthperiod.