public static class CreditCardPaymentDetail.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreditCardPaymentDetail.Builder |
amountPaid(BigDecimal amountPaid) |
CreditCardPaymentDetail |
build() |
CreditCardPaymentDetail.Builder |
copy(CreditCardPaymentDetail model) |
CreditCardPaymentDetail.Builder |
creditCardType(CreditCardPaymentDetail.CreditCardType creditCardType)
Credit card type
|
CreditCardPaymentDetail.Builder |
lastDigits(String lastDigits)
Last four digits of the card
|
CreditCardPaymentDetail.Builder |
nameOnCard(String nameOnCard)
Name on the credit card
|
CreditCardPaymentDetail.Builder |
paidBy(String paidBy) |
CreditCardPaymentDetail.Builder |
timeExpiration(Date timeExpiration)
Expired date of the credit card
|
CreditCardPaymentDetail.Builder |
timePaidOn(Date timePaidOn) |
public CreditCardPaymentDetail.Builder timePaidOn(Date timePaidOn)
public CreditCardPaymentDetail.Builder paidBy(String paidBy)
public CreditCardPaymentDetail.Builder amountPaid(BigDecimal amountPaid)
public CreditCardPaymentDetail.Builder nameOnCard(String nameOnCard)
Name on the credit card
nameOnCard
- the value to setpublic CreditCardPaymentDetail.Builder creditCardType(CreditCardPaymentDetail.CreditCardType creditCardType)
Credit card type
creditCardType
- the value to setpublic CreditCardPaymentDetail.Builder lastDigits(String lastDigits)
Last four digits of the card
lastDigits
- the value to setpublic CreditCardPaymentDetail.Builder timeExpiration(Date timeExpiration)
Expired date of the credit card
timeExpiration
- the value to setpublic CreditCardPaymentDetail build()
public CreditCardPaymentDetail.Builder copy(CreditCardPaymentDetail model)
Copyright © 2016–2024. All rights reserved.