All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.checkout.accounts.AccountsIndividualAccountHolder Maven / Gradle / Ivy

There is a newer version: 6.4.2
Show newest version
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