Class PaymentInputData.PaymentInputBuilder

java.lang.Object
com.gemalto.mfs.mwsdk.payment.engine.PaymentInputData.PaymentInputBuilder
Enclosing class:
PaymentInputData

public static class PaymentInputData.PaymentInputBuilder extends Object
  • Constructor Details

  • Method Details

    • withRemotePaymentParameters

      public PaymentInputData.PaymentInputBuilder withRemotePaymentParameters(long amount, char currencyCode)
      Parameters:
      amount - : Transaction amount of the transaction
      currencyCode - : Currency code of the transaction
      Returns:
      : PaymentInputData.PaymentInputBuilder with the remote parameters passed returned
      Since:
      6.1.0
    • withMCRemotePaymentParameters

      public PaymentInputData.PaymentInputBuilder withMCRemotePaymentParameters(char countryCode, TransactionType transactionType, CryptogramDataType cryptogramDataType, long unPredictableNumber)
      Parameters:
      countryCode - Country code of the transaction
      transactionType - Transaction type of the transaction
      cryptogramDataType - Cryptogram Data type of the transactionCryptogramDataType
      Returns:
      PaymentInputData.PaymentInputBuilder with the MasterCard remote parameters returned
      Since:
      6.1.0
    • withQRCodePaymentParameters

      public PaymentInputData.PaymentInputBuilder withQRCodePaymentParameters(String amount, char currencyCode, char countryCode)
      Parameters:
      amount - Transaction amount of the transaction
      currencyCode - Currency code of the transaction as defined in ISO 3166 numeric code. For example: United States would be represented as 840. The maximum value allowed is 999.
      countryCode - Country code of the merchant as defined by merchant. If not present MPA can send (char) 0
      Returns:
      PaymentInputData.PaymentInputBuilder with the QR remote parameters passed returned
      Since:
      6.4.0
    • withPureQRCodePaymentParameters

      public PaymentInputData.PaymentInputBuilder withPureQRCodePaymentParameters(byte[] iddData, byte[] aidData)
      Parameters:
      iddData - IDD data of the transaction
      aidData - AID data for the transaction
      Returns:
      PaymentInputData.PaymentInputBuilder with the Pure QR code parameters passed returned
      Since:
      6.4.0
    • build

      public PaymentInputData build()
      Returns:
      PaymentInputData of the provided input data builder
      Since:
      6.1.0