CreditCardKt

public final class CreditCardKt
public final class CreditCardKt

Properties

Link copied to clipboard
private final static CardNumber number
private final static CardNumber number

The card number.

Functions

Link copied to clipboard
public final static CreditCard CreditCard(CardNumber number, YearMonth expirationDate, String holder)
public final static CreditCard CreditCard(CardNumber number, YearMonth expirationDate, String holder)

Creates a new instance of CreditCard with the given parameters.

Link copied to clipboard
public final CardNumber getNumber()
public final CardNumber getNumber()