# CreditCardScannerConfiguration constructor

CreditCardScannerConfiguration({

1. bool useDocumentDetector = true,
2. CreditCardScanningMode scanningMode = CreditCardScanningMode.LIVE,
3. bool requireExpiryDate = true,
4. bool requireCardholderName = true,
5. ResultAccumulationConfiguration? resultAccumulationConfig,
6. bool returnCreditCardImage = false,

})

## Implementation

    CreditCardScannerConfiguration({
      this.useDocumentDetector = true,
      this.scanningMode = CreditCardScanningMode.LIVE,
      this.requireExpiryDate = true,
      this.requireCardholderName = true,
      ResultAccumulationConfiguration? resultAccumulationConfig,
      this.returnCreditCardImage = false,
    }) : resultAccumulationConfig =
              resultAccumulationConfig ?? ResultAccumulationConfiguration();