My2c2pSDK constructor

My2c2pSDK({
  1. required String privateKey,
})

Implementation

My2c2pSDK({required this.privateKey})
    : this.merchantId = "",
      this.uniqueTransactionCode = "",
      this.desc = "",
      this.amount = 0.0,
      this.currencyCode = "",
      this.pan = "",
      this.cardExpireMonth = 0,
      this.cardExpireYear = 0,
      this.storedCardUniqueId = "",
      this.securityCode = "",
      this.panCountry = "",
      this.panBank = "",
      this.cardHolderName = "",
      this.cardHolderEmail = "",
      this.payCategoryId = "",
      this.userDefined1 = "",
      this.userDefined2 = "",
      this.userDefined3 = "",
      this.userDefined4 = "",
      this.userDefined5 = "",
      this.storeCard = false,
      this.ippTransaction = false,
      this.installmentPeriod = -1,
      this.interestType = "",
      this.recurring = false,
      this.invoicePrefix = "",
      this.recurringAmount = 0.0,
      this.allowAccumulate = false,
      this.maxAccumulateAmt = 0.0,
      this.recurringInterval = -1,
      this.recurringCount = -1,
      this.chargeNextDate = "",
      this.chargeOnDate = "",
      this.promotion = "",
      this.hashValue = "",
      this.request3DS = "Y",
      this.paymentChannel = PaymentChannel.CREDIT_CARD,
      this.a = "",
      this.statementDescriptor = "",
      this.secretKey = "",
      this.enableStoreCard = false,
      this.productionMode = false,
      this.paymentUI = false,
      this.agentCode = "",
      this.channelCode = "",
      this.paymentExpiry = "",
      this.mobileNo = "",
      this.b = "",
      this.tokenizeWithoutAuthorization = false,
      this.inquiryHashValue = "",
      this.paymentOption = PaymentOption.ALL,
      this.productCode = "",
      this.installmentPeriodFilter = "",
      this.installmentType = InstallmentType.NORMAL,
      this.cardType = CardType.OPEN_LOOP,
      this.useStoredCardOnly = false,
      this.samsungPayServiceId = "",
      this.samsungPayMerchantName = "",
      this.subMerchantId = "",
      this.subMerchantList = [],
      this.accountNo = "",
      this.cardPin = "",
      this.version = "";