Package com.teamdev.jxbrowser.card
Class CreditCard.Builder
java.lang.Object
com.teamdev.jxbrowser.card.CreditCard.Builder
- Enclosing interface:
- CreditCard
A builder of
CreditCard.- Since:
- 8.0.0
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Returns a newCreditCardinstance built from the current state of this builder.cardholder(String cardholder) Sets the cardholder of the card.
-
Method Details
-
cardholder
Sets the cardholder of the card.- Parameters:
cardholder- the cardholder of the card
-
build
Returns a newCreditCardinstance built from the current state of this builder.- Returns:
- a new
CreditCardinstance
-