Package com.adyen.checkout.core.ui.model
Class ExpiryDate
-
- All Implemented Interfaces:
public final class ExpiryDateExpiry date.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classExpiryDate.Companion
-
Field Summary
Fields Modifier and Type Field Description private final IntegerexpiryMonthprivate final IntegerexpiryYearpublic final static ExpiryDate.CompanionCompanion
-
Constructor Summary
Constructors Constructor Description ExpiryDate(Integer expiryMonth, Integer expiryYear)
-
Method Summary
Modifier and Type Method Description final IntegergetExpiryMonth()final IntegergetExpiryYear()final StringtoMMyyString()Convert this instance to a date string with the "MM/yy" format. -
-
Method Detail
-
getExpiryMonth
final Integer getExpiryMonth()
-
getExpiryYear
final Integer getExpiryYear()
-
toMMyyString
final String toMMyyString()
Convert this instance to a date string with the "MM/yy" format.
-
-
-
-