Class CardLimitSettings.WithdrawalLimit
java.lang.Object
com.thalesgroup.gemalto.d1.card.cardservice.CardLimitSettings.WithdrawalLimit
- Enclosing class:
- CardLimitSettings
All available withdrawal limits defined on the card.
-
Constructor Summary
ConstructorsConstructorDescriptionWithdrawalLimit(CardLimitSettings.PeriodType periodType, Integer fixedPeriodIndex, Long maxLimit, Long limit, Double currentAmount) Internal constructor for PurchaseLimit object. -
Method Summary
Modifier and TypeMethodDescriptionGets the current ammount of money that is already spent.Gets the period index for withdrawalWeekly, withdrawalMonthly or withdrawalYearly fixed period.getLimit()Gets the current limit set by the end user/issuer on the card.Gets the maximum limit set by the issuer.Gets the limit type for the period.voidSets the current limit set by the end user/issuer on the card.
-
Constructor Details
-
WithdrawalLimit
public WithdrawalLimit(@NonNull CardLimitSettings.PeriodType periodType, @Nullable Integer fixedPeriodIndex, @NonNull Long maxLimit, @NonNull Long limit, @NonNull Double currentAmount) Internal constructor for PurchaseLimit object. Call theCardSettings.getLimit().getDailyWithdrawalLimit(),CardSettings.getLimit().getWeeklyWithdrawalLimit(),CardSettings.getLimit().getMonthlyWithdrawalLimit(), orCardSettings.getLimit().getYearlyWithdrawalLimit()API to initialize the WithdrawalLimit object.
-
-
Method Details
-
getPeriodType
Gets the limit type for the period. -
getFixedPeriodIndex
Gets the period index for withdrawalWeekly, withdrawalMonthly or withdrawalYearly fixed period. -
getMaxLimit
Gets the maximum limit set by the issuer. -
getLimit
Gets the current limit set by the end user/issuer on the card. -
setLimit
Sets the current limit set by the end user/issuer on the card. -
getCurrentAmount
Gets the current ammount of money that is already spent.
-