Class CardLimitSettings
- java.lang.Object
-
- com.thalesgroup.gemalto.d1.card.cardservice.CardLimitSettings
-
public final class CardLimitSettings extends Object
All available limits defined on the card issued by D1.- Since:
- 4.0.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCardLimitSettings.PeriodTypeEnumeration limit type for the period.static classCardLimitSettings.PurchaseLimitAll available purchases limits defined on the card.static classCardLimitSettings.WithdrawalLimitAll available withdrawal limits defined on the card.
-
Constructor Summary
Constructors Constructor Description CardLimitSettings(String currencyCode)Internal constructor for CardLimitSettings object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCurrency()Gets the currency of the limits in ISO 4217 format.CardLimitSettings.PurchaseLimitgetDailyPurchaseLimit()Gets the maximum purchase amount allowed on the card daily.CardLimitSettings.WithdrawalLimitgetDailyWithdrawalLimit()Gets the maximum withdrawal amount allowed on the card daily.CardLimitSettings.PurchaseLimitgetMonthlyPurchaseLimit()Gets the maximum purchase amount allowed on the card monthly.CardLimitSettings.WithdrawalLimitgetMonthlyWithdrawalLimit()Gets the maximum withdrawal amount allowed on the card monthly.CardLimitSettings.PurchaseLimitgetWeeklyPurchaseLimit()Gets the maximum purchase amount allowed on the card weekly.CardLimitSettings.WithdrawalLimitgetWeeklyWithdrawalLimit()Gets the maximum withdrawal amount allowed on the card weekly.CardLimitSettings.PurchaseLimitgetYearlyPurchaseLimit()Gets the maximum purchase amount allowed on the card yearly.CardLimitSettings.WithdrawalLimitgetYearlyWithdrawalLimit()Gets the maximum withdrawal amount allowed on the card yearly.voidrestore()Restores the card limit settings.voidsetDailyPurchaseLimit(CardLimitSettings.PurchaseLimit limits)Sets the maximum purchase amount allowed on the card daily.voidsetDailyWithdrawalLimit(CardLimitSettings.WithdrawalLimit limits)Sets the maximum withdrawal amount allowed on the card daily.voidsetMonthlyPurchaseLimit(CardLimitSettings.PurchaseLimit limits)Sets the maximum purchase amount allowed on the card monthly.voidsetMonthlyWithdrawalLimit(CardLimitSettings.WithdrawalLimit limits)Sets the maximum withdrawal amount allowed on the card monthly.voidsetWeeklyPurchaseLimit(CardLimitSettings.PurchaseLimit limits)Sets the maximum purchase amount allowed on the card weekly.voidsetWeeklyWithdrawalLimit(CardLimitSettings.WithdrawalLimit limits)Sets the maximum withdrawal amount allowed on the card weekly.voidsetYearlyPurchaseLimit(CardLimitSettings.PurchaseLimit limits)Sets the maximum purchase amount allowed on the card yearly.voidsetYearlyWithdrawalLimit(CardLimitSettings.WithdrawalLimit limits)Sets the maximum withdrawal amount allowed on the card yearly.
-
-
-
Constructor Detail
-
CardLimitSettings
public CardLimitSettings(@Nullable String currencyCode)
Internal constructor for CardLimitSettings object. Call theCardSettings.CardLimitSettings()API to initialize CardLimitSettings object.
-
-
Method Detail
-
getCurrency
@Nullable public String getCurrency()
Gets the currency of the limits in ISO 4217 format.
-
getDailyPurchaseLimit
@Nullable public CardLimitSettings.PurchaseLimit getDailyPurchaseLimit()
Gets the maximum purchase amount allowed on the card daily.
-
setDailyPurchaseLimit
public void setDailyPurchaseLimit(@NonNull CardLimitSettings.PurchaseLimit limits)
Sets the maximum purchase amount allowed on the card daily.
-
getWeeklyPurchaseLimit
@Nullable public CardLimitSettings.PurchaseLimit getWeeklyPurchaseLimit()
Gets the maximum purchase amount allowed on the card weekly.
-
setWeeklyPurchaseLimit
public void setWeeklyPurchaseLimit(@NonNull CardLimitSettings.PurchaseLimit limits)
Sets the maximum purchase amount allowed on the card weekly.
-
getMonthlyPurchaseLimit
@Nullable public CardLimitSettings.PurchaseLimit getMonthlyPurchaseLimit()
Gets the maximum purchase amount allowed on the card monthly.
-
setMonthlyPurchaseLimit
public void setMonthlyPurchaseLimit(@NonNull CardLimitSettings.PurchaseLimit limits)
Sets the maximum purchase amount allowed on the card monthly.
-
getYearlyPurchaseLimit
@Nullable public CardLimitSettings.PurchaseLimit getYearlyPurchaseLimit()
Gets the maximum purchase amount allowed on the card yearly.
-
setYearlyPurchaseLimit
public void setYearlyPurchaseLimit(@NonNull CardLimitSettings.PurchaseLimit limits)
Sets the maximum purchase amount allowed on the card yearly.
-
getDailyWithdrawalLimit
@Nullable public CardLimitSettings.WithdrawalLimit getDailyWithdrawalLimit()
Gets the maximum withdrawal amount allowed on the card daily.
-
setDailyWithdrawalLimit
public void setDailyWithdrawalLimit(@NonNull CardLimitSettings.WithdrawalLimit limits)
Sets the maximum withdrawal amount allowed on the card daily.
-
getWeeklyWithdrawalLimit
@Nullable public CardLimitSettings.WithdrawalLimit getWeeklyWithdrawalLimit()
Gets the maximum withdrawal amount allowed on the card weekly.
-
setWeeklyWithdrawalLimit
public void setWeeklyWithdrawalLimit(@NonNull CardLimitSettings.WithdrawalLimit limits)
Sets the maximum withdrawal amount allowed on the card weekly.
-
getMonthlyWithdrawalLimit
@Nullable public CardLimitSettings.WithdrawalLimit getMonthlyWithdrawalLimit()
Gets the maximum withdrawal amount allowed on the card monthly.
-
setMonthlyWithdrawalLimit
public void setMonthlyWithdrawalLimit(@NonNull CardLimitSettings.WithdrawalLimit limits)
Sets the maximum withdrawal amount allowed on the card monthly.
-
getYearlyWithdrawalLimit
@Nullable public CardLimitSettings.WithdrawalLimit getYearlyWithdrawalLimit()
Gets the maximum withdrawal amount allowed on the card yearly.
-
setYearlyWithdrawalLimit
public void setYearlyWithdrawalLimit(@NonNull CardLimitSettings.WithdrawalLimit limits)
Sets the maximum withdrawal amount allowed on the card yearly.
-
restore
public void restore()
Restores the card limit settings.
-
-