Class WalletTransactionData.Builder
java.lang.Object
com.gemalto.mfs.mwsdk.payment.engine.WalletTransactionData.Builder
- Enclosing class:
- WalletTransactionData
Builder for creating instances of
WalletTransactionData.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds a newWalletTransactionDatainstance using the configured values.withWalletProprietaryData(byte[] walletProprietaryData) Sets the wallet proprietary data for the card.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
withWalletProprietaryData
public WalletTransactionData.Builder withWalletProprietaryData(@Nullable byte[] walletProprietaryData) Sets the wallet proprietary data for the card.This method is supported only for the Mastercard scheme MCBP 2.x and above. When set, the GenAC command during transaction will include this data in the Issuer Application Data (IAD) tag, starting from index 18.
- Parameters:
walletProprietaryData- the wallet proprietary data to set; must be a maximum of 14 bytes- Returns:
- this builder instance
-
build
Builds a newWalletTransactionDatainstance using the configured values.- Returns:
- a new
WalletTransactionDataobject
-