public final class DebitCard extends PaymentCard
DebitCard
.Constructor and Description |
---|
DebitCard(String cardAssociationName,
String cardNumber,
String nameOnCard,
String billingAddress,
LocalDateTime validFrom,
LocalDateTime expiryDate,
String cardVerificationCode,
org.joda.money.Money dailyWithdrawalLimit)
Instantiates a generic debit card.
|
DebitCard(String cardName,
String cardAssociationName,
String cardNumber,
String nameOnCard,
String billingAddress,
LocalDateTime validFrom,
LocalDateTime expiryDate,
String cardVerificationCode,
org.joda.money.Money dailyWithdrawalLimit)
Instantiates a specific type of debit card.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
org.joda.money.Money |
getDailyWithdrawalLimit()
Amount of money, the card holder can dispose of within a day.
|
int |
hashCode() |
getBillingAddress, getCardAssociationName, getCardNumber, getCardVerificationCode, getExpiryDate, getNameOnCard, getValidFrom, toString
public DebitCard(String cardName, String cardAssociationName, String cardNumber, String nameOnCard, String billingAddress, LocalDateTime validFrom, LocalDateTime expiryDate, String cardVerificationCode, org.joda.money.Money dailyWithdrawalLimit)
cardName
- The name of this card, e.g. Maestro or MasterCard.cardAssociationName
- the name of the association which issued the cardcardNumber
- the number of this cardnameOnCard
- name of the card ownerbillingAddress
- the address to which account statements are sentvalidFrom
- date from which the card is validexpiryDate
- date on which the card expirescardVerificationCode
- verification code printed on the card or a PINdailyWithdrawalLimit
- Money
representing the line of credit extended by the issuing association to
the card ownerpublic DebitCard(String cardAssociationName, String cardNumber, String nameOnCard, String billingAddress, LocalDateTime validFrom, LocalDateTime expiryDate, String cardVerificationCode, org.joda.money.Money dailyWithdrawalLimit)
cardAssociationName
- the name of the association which issued the cardcardNumber
- the number of this cardnameOnCard
- name of the card ownerbillingAddress
- the address to which account statements are sentvalidFrom
- date from which the card is validexpiryDate
- date on which the card expirescardVerificationCode
- verification code printed on the card or a PINdailyWithdrawalLimit
- Money
representing the line of credit extended by the issuing association to
the card ownerpublic org.joda.money.Money getDailyWithdrawalLimit()
Money
object representing the daily withdrawal limit.public boolean equals(Object obj)
equals
in class PaymentCard
public int hashCode()
hashCode
in class PaymentCard
Copyright © 2014 Pivotal Software, Inc.. All rights reserved.