Class CardControlSettings
java.lang.Object
com.thalesgroup.gemalto.d1.card.cardservice.CardControlSettings
The card settings for the card issued by D1.
- Since:
- 4.0.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classThe geographical settings for the card issued by D1.static final classThe set of controls applied on merchant category for the card issued by D1.static enumEnumeration type for card geographical region settings. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the list of currencies, in ISO 4217 alpha code format, that will not be authorized.Gets the list of countries and regions that the card is allowed to use.The set of controls which is applied on the merchant category.Enable/disable the abroad payment setting of the card.Enable/disable the ATM withdrawal setting of the card.Enable/disable the contactless payment setting of the card.To enable/disable the magnetic stripe setting of the card.Enable/Disable online payment setting of the card.voidrestore()Restores the card control settings.voidsetAbroadPaymentEnabled(Boolean enabled) To enable/disable abroad payment setting of the card.voidsetATMWithdrawalEnabled(Boolean enabled) To enable/disable the ATM withdrawal setting of the card.voidsetContactlessEnabled(Boolean enabled) To enable/disable the contactless payment setting of the card.voidsetDeniedCurrencyList(List<String> currencyList) Defines the list of currencies, in ISO 4217 alpha code format, that will not be authorized.voidsetGeography(CardControlSettings.Geography geography) Defines the list of countries and regions that the card is allowed to use.voidsetMagneticStripeEnabled(Boolean enabled) To enable/disable the magneticStripe setting of the card.voidsetMerchant(CardControlSettings.Merchant merchant) Sets the set of controls which is applied on the merchant category.voidsetOnlinePaymentEnabled(Boolean enabled) To enable/disable the online payment setting of the card.
-
Constructor Details
-
CardControlSettings
public CardControlSettings()Internal constructor for CardSettingsControl object. Call theCardSettings.getControlSetting()API to initialize the CardControlSettings object.
-
-
Method Details
-
isOnlinePaymentEnabled
Enable/Disable online payment setting of the card. -
setOnlinePaymentEnabled
To enable/disable the online payment setting of the card. Mandatory for getCardSettings API. -
isContactlessEnabled
Enable/disable the contactless payment setting of the card. -
setContactlessEnabled
To enable/disable the contactless payment setting of the card. This is an optional parameter for getCardSettings API. In cases where this parameter is not available in getCardSettings() API and the end user tries to update it, D1 SDK will returnD1Exception.ErrorCode.ERROR_CARD_SETTINGS_OPERATION_NOT_ALLOWED. -
isMagneticStripeEnabled
To enable/disable the magnetic stripe setting of the card. -
setMagneticStripeEnabled
To enable/disable the magneticStripe setting of the card. This is an optional parameter for getCardSettings API. In cases where this parameter is not available in getCardSettings() API and the end user tries to update it, D1 SDK will returnD1Exception.ErrorCode.ERROR_CARD_SETTINGS_OPERATION_NOT_ALLOWED. -
isATMWithdrawalEnabled
Enable/disable the ATM withdrawal setting of the card. -
setATMWithdrawalEnabled
To enable/disable the ATM withdrawal setting of the card. This is an optional parameter for getCardSettings API. In cases where this parameter is not available in getCardSettings() API and the end user tries to update it, D1 SDK will returnD1Exception.ErrorCode.ERROR_CARD_SETTINGS_OPERATION_NOT_ALLOWED. -
isAbroadPaymentEnabled
Enable/disable the abroad payment setting of the card. -
setAbroadPaymentEnabled
To enable/disable abroad payment setting of the card. Mandatory for getCardSettings API. -
getDeniedCurrencyList
Gets the list of currencies, in ISO 4217 alpha code format, that will not be authorized. Mandatory for getCardSettings API -
setDeniedCurrencyList
Defines the list of currencies, in ISO 4217 alpha code format, that will not be authorized. -
getGeography
Gets the list of countries and regions that the card is allowed to use. If the geographical location is not defined then no geography control is performed; the card can be used worldwide. Mandatory for getCardSettings API -
setGeography
Defines the list of countries and regions that the card is allowed to use. If the geographical location is not defined then no geography control is performed, the card can be used worldwide. -
getMerchant
The set of controls which is applied on the merchant category. Mandatory for getCardSettings API. -
setMerchant
Sets the set of controls which is applied on the merchant category. -
restore
public void restore()Restores the card control settings.
-