Class IndividualSender
- java.lang.Object
-
- com.checkout.handlepaymentsandpayouts.flow.paymentsessionscomplete.requests.sender.AbstractSender
-
- com.checkout.handlepaymentsandpayouts.flow.paymentsessionscomplete.requests.sender.IndividualSender
-
public final class IndividualSender extends AbstractSender
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIndividualSender.IndividualSenderBuilder
-
Field Summary
-
Fields inherited from class com.checkout.handlepaymentsandpayouts.flow.paymentsessionscomplete.requests.sender.AbstractSender
type
-
-
Constructor Summary
Constructors Constructor Description IndividualSender()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static IndividualSender.IndividualSenderBuilderbuilder()protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)AddressgetAddress()The sender's addressjava.time.InstantgetDateOfBirth()The sender's date of birth, in the format yyyy-mm-dd.java.time.InstantgetDob()Deprecated.This property will be removed in the future, and should be used with caution.java.lang.StringgetFirstName()The sender's first nameIdentificationgetIdentification()java.lang.StringgetLastName()The sender's last namejava.lang.StringgetReference()The sender's reference for the payoutinthashCode()voidsetAddress(Address address)The sender's addressvoidsetDateOfBirth(java.time.Instant dateOfBirth)The sender's date of birth, in the format yyyy-mm-dd.voidsetDob(java.time.Instant dob)Deprecated.This property will be removed in the future, and should be used with caution.voidsetFirstName(java.lang.String firstName)The sender's first namevoidsetIdentification(Identification identification)voidsetLastName(java.lang.String lastName)The sender's last namevoidsetReference(java.lang.String reference)The sender's reference for the payoutjava.lang.StringtoString()-
Methods inherited from class com.checkout.handlepaymentsandpayouts.flow.paymentsessionscomplete.requests.sender.AbstractSender
getType
-
-
-
-
Method Detail
-
builder
public static IndividualSender.IndividualSenderBuilder builder()
-
getFirstName
public java.lang.String getFirstName()
The sender's first name
-
getLastName
public java.lang.String getLastName()
The sender's last name
-
getDob
@Deprecated public java.time.Instant getDob()
Deprecated.This property will be removed in the future, and should be used with caution. This field is deprecated. Use date_of_birth instead. The sender's date of birth, in the format yyyy-mm-dd.
-
getDateOfBirth
public java.time.Instant getDateOfBirth()
The sender's date of birth, in the format yyyy-mm-dd.
-
getAddress
public Address getAddress()
The sender's address
-
getReference
public java.lang.String getReference()
The sender's reference for the payout
-
getIdentification
public Identification getIdentification()
-
setFirstName
public void setFirstName(java.lang.String firstName)
The sender's first name
-
setLastName
public void setLastName(java.lang.String lastName)
The sender's last name
-
setDob
@Deprecated public void setDob(java.time.Instant dob)
Deprecated.This property will be removed in the future, and should be used with caution. This field is deprecated. Use date_of_birth instead. The sender's date of birth, in the format yyyy-mm-dd.
-
setDateOfBirth
public void setDateOfBirth(java.time.Instant dateOfBirth)
The sender's date of birth, in the format yyyy-mm-dd.
-
setAddress
public void setAddress(Address address)
The sender's address
-
setReference
public void setReference(java.lang.String reference)
The sender's reference for the payout
-
setIdentification
public void setIdentification(Identification identification)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classAbstractSender
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classAbstractSender
-
canEqual
protected boolean canEqual(java.lang.Object other)
- Overrides:
canEqualin classAbstractSender
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAbstractSender
-
-