Class PaymentRequestCardDestination
- java.lang.Object
-
- com.checkout.payments.previous.request.destination.PaymentRequestDestination
-
- com.checkout.payments.previous.request.destination.PaymentRequestCardDestination
-
public final class PaymentRequestCardDestination extends PaymentRequestDestination
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPaymentRequestCardDestination.PaymentRequestCardDestinationBuilder
-
Constructor Summary
Constructors Constructor Description PaymentRequestCardDestination()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PaymentRequestCardDestination.PaymentRequestCardDestinationBuilderbuilder()protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)AddressgetBillingAddress()java.lang.IntegergetExpiryMonth()java.lang.IntegergetExpiryYear()java.lang.StringgetFirstName()java.lang.StringgetLastName()java.lang.StringgetName()java.lang.StringgetNumber()PhonegetPhone()inthashCode()voidsetBillingAddress(Address billingAddress)voidsetExpiryMonth(java.lang.Integer expiryMonth)voidsetExpiryYear(java.lang.Integer expiryYear)voidsetFirstName(java.lang.String firstName)voidsetLastName(java.lang.String lastName)voidsetName(java.lang.String name)voidsetNumber(java.lang.String number)voidsetPhone(Phone phone)java.lang.StringtoString()-
Methods inherited from class com.checkout.payments.previous.request.destination.PaymentRequestDestination
getType
-
-
-
-
Method Detail
-
builder
public static PaymentRequestCardDestination.PaymentRequestCardDestinationBuilder builder()
-
getNumber
public java.lang.String getNumber()
-
getExpiryMonth
public java.lang.Integer getExpiryMonth()
-
getExpiryYear
public java.lang.Integer getExpiryYear()
-
getFirstName
public java.lang.String getFirstName()
-
getLastName
public java.lang.String getLastName()
-
getName
public java.lang.String getName()
-
getBillingAddress
public Address getBillingAddress()
-
getPhone
public Phone getPhone()
-
setNumber
public void setNumber(java.lang.String number)
-
setExpiryMonth
public void setExpiryMonth(java.lang.Integer expiryMonth)
-
setExpiryYear
public void setExpiryYear(java.lang.Integer expiryYear)
-
setFirstName
public void setFirstName(java.lang.String firstName)
-
setLastName
public void setLastName(java.lang.String lastName)
-
setName
public void setName(java.lang.String name)
-
setBillingAddress
public void setBillingAddress(Address billingAddress)
-
setPhone
public void setPhone(Phone phone)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classPaymentRequestDestination
-
canEqual
protected boolean canEqual(java.lang.Object other)
- Overrides:
canEqualin classPaymentRequestDestination
-
hashCode
public int hashCode()
- Overrides:
hashCodein classPaymentRequestDestination
-
toString
public java.lang.String toString()
- Overrides:
toStringin classPaymentRequestDestination
-
-