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

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

There is a newer version: 6.4.2
Show newest version
package com.checkout.accounts;

import com.checkout.common.AccountType;
import com.checkout.common.BankDetails;
import com.checkout.common.CountryCode;
import com.checkout.common.Currency;
import com.checkout.common.InstrumentType;
import com.google.gson.annotations.SerializedName;
import lombok.Builder;
import lombok.Data;

@Data
@Builder
public final class AccountsPaymentInstrument {

    private final InstrumentType type = InstrumentType.BANK_ACCOUNT;

    private String label;

    @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 Currency currency;

    private CountryCode country;

    private InstrumentDocument document;

    @SerializedName("account_holder")
    private AccountsAccountHolder accountHolder;

    private BankDetails bank;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy