com.checkout.accounts.AccountsIndividualAccountHolder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of checkout-sdk-java Show documentation
Show all versions of checkout-sdk-java Show documentation
Checkout SDK for Java https://checkout.com
package com.checkout.accounts;
import com.checkout.common.AccountHolderIdentification;
import com.checkout.common.AccountHolderType;
import com.checkout.common.Address;
import com.checkout.common.CountryCode;
import com.google.gson.annotations.SerializedName;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
@Getter
@Setter
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class AccountsIndividualAccountHolder extends AccountsAccountHolder {
@SerializedName("first_name")
private String firstName;
@SerializedName("last_name")
private String lastName;
@Builder
private AccountsIndividualAccountHolder(final AccountHolderType type,
final String taxId,
final DateOfBirth dateOfBirth,
final CountryCode countryOfBirth,
final String residentialStatus,
final Address billingAddress,
final AccountPhone phone,
final AccountHolderIdentification identification,
final String email,
final String firstName,
final String lastName) {
super(type, taxId, dateOfBirth, countryOfBirth, residentialStatus, billingAddress, phone, identification, email);
this.firstName = firstName;
this.lastName = lastName;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy