com.checkout.payments.request.destination.PaymentRequestBankAccountDestination 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.payments.request.destination;
import com.checkout.common.AccountHolder;
import com.checkout.common.AccountType;
import com.checkout.common.BankDetails;
import com.checkout.common.CountryCode;
import com.checkout.payments.PaymentDestinationType;
import com.google.gson.annotations.SerializedName;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
@Getter
@Setter
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public final class PaymentRequestBankAccountDestination extends PaymentRequestDestination {
@SerializedName("account_type")
private AccountType accountType;
@SerializedName("account_number")
private String accountNumber;
@SerializedName("bank_code")
private String bankCode;
@SerializedName("branch_code")
private String branchCode;
private String iban;
private String bban;
@SerializedName("swift_bic")
private String swiftBic;
private CountryCode country;
@SerializedName("account_holder")
private AccountHolder accountHolder;
private BankDetails bank;
@Builder
private PaymentRequestBankAccountDestination(final AccountType accountType,
final String accountNumber,
final String bankCode,
final String branchCode,
final String iban,
final String bban,
final String swiftBic,
final CountryCode country,
final AccountHolder accountHolder,
final BankDetails bank) {
super(PaymentDestinationType.BANK_ACCOUNT);
this.accountType = accountType;
this.accountNumber = accountNumber;
this.bankCode = bankCode;
this.branchCode = branchCode;
this.iban = iban;
this.bban = bban;
this.swiftBic = swiftBic;
this.country = country;
this.accountHolder = accountHolder;
this.bank = bank;
}
public PaymentRequestBankAccountDestination() {
super(PaymentDestinationType.BANK_ACCOUNT);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy