Package com.checkout.instruments.update
Class UpdateInstrumentCardRequest
- java.lang.Object
-
- com.checkout.instruments.update.UpdateInstrumentRequest
-
- com.checkout.instruments.update.UpdateInstrumentCardRequest
-
public final class UpdateInstrumentCardRequest extends UpdateInstrumentRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUpdateInstrumentCardRequest.UpdateInstrumentCardRequestBuilder
-
Field Summary
-
Fields inherited from class com.checkout.instruments.update.UpdateInstrumentRequest
type
-
-
Constructor Summary
Constructors Constructor Description UpdateInstrumentCardRequest(InstrumentType type)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateInstrumentCardRequest.UpdateInstrumentCardRequestBuilderbuilder()protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)AccountHoldergetAccountHolder()UpdateCustomerRequestgetCustomer()java.lang.IntegergetExpiryMonth()java.lang.IntegergetExpiryYear()java.lang.StringgetName()inthashCode()voidsetAccountHolder(AccountHolder accountHolder)voidsetCustomer(UpdateCustomerRequest customer)voidsetExpiryMonth(java.lang.Integer expiryMonth)voidsetExpiryYear(java.lang.Integer expiryYear)voidsetName(java.lang.String name)java.lang.StringtoString()-
Methods inherited from class com.checkout.instruments.update.UpdateInstrumentRequest
getType
-
-
-
-
Constructor Detail
-
UpdateInstrumentCardRequest
public UpdateInstrumentCardRequest(InstrumentType type)
-
-
Method Detail
-
builder
public static UpdateInstrumentCardRequest.UpdateInstrumentCardRequestBuilder builder()
-
getExpiryMonth
public java.lang.Integer getExpiryMonth()
-
getExpiryYear
public java.lang.Integer getExpiryYear()
-
getName
public java.lang.String getName()
-
getAccountHolder
public AccountHolder getAccountHolder()
-
getCustomer
public UpdateCustomerRequest getCustomer()
-
setExpiryMonth
public void setExpiryMonth(java.lang.Integer expiryMonth)
-
setExpiryYear
public void setExpiryYear(java.lang.Integer expiryYear)
-
setName
public void setName(java.lang.String name)
-
setAccountHolder
public void setAccountHolder(AccountHolder accountHolder)
-
setCustomer
public void setCustomer(UpdateCustomerRequest customer)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classUpdateInstrumentRequest
-
canEqual
protected boolean canEqual(java.lang.Object other)
- Overrides:
canEqualin classUpdateInstrumentRequest
-
hashCode
public int hashCode()
- Overrides:
hashCodein classUpdateInstrumentRequest
-
toString
public java.lang.String toString()
- Overrides:
toStringin classUpdateInstrumentRequest
-
-