Package com.adyen.checkout.cse
Class UnencryptedCard.Builder
-
- All Implemented Interfaces:
public final class UnencryptedCard.BuilderBuilder for UnencryptedCard.
-
-
Constructor Summary
Constructors Constructor Description UnencryptedCard.Builder()
-
Method Summary
Modifier and Type Method Description final UnencryptedCard.BuildersetNumber(String number)Set the optional card number. final UnencryptedCard.BuildersetExpiryDate(String expiryMonth, String expiryYear)Set the optional expiry date. final UnencryptedCard.BuildersetCvc(String cvc)Set the optional card security code. final UnencryptedCard.BuildersetHolderName(String holderName)Set the optional card holder name. final UnencryptedCardbuild()Builds the given UnencryptedCard object. -
-
Method Detail
-
setNumber
final UnencryptedCard.Builder setNumber(String number)
Set the optional card number.
- Parameters:
number- The card number.- Returns:
The Builder instance.
-
setExpiryDate
final UnencryptedCard.Builder setExpiryDate(String expiryMonth, String expiryYear)
Set the optional expiry date.
- Parameters:
expiryMonth- The expiry month e.g.expiryYear- The expiry year e.g.- Returns:
The Builder instance.
-
setCvc
final UnencryptedCard.Builder setCvc(String cvc)
Set the optional card security code.
- Parameters:
cvc- The card security code.- Returns:
The Builder instance.
-
setHolderName
final UnencryptedCard.Builder setHolderName(String holderName)
Set the optional card holder name.
- Parameters:
holderName- The holder name.- Returns:
The Builder instance.
-
build
final UnencryptedCard build()
Builds the given UnencryptedCard object.
- Returns:
The UnencryptedCard object.
-
-
-
-