jp.gopay.sdk.models.common.bankaccounts.JapaneseBankAccount Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gopay-java-sdk Show documentation
Show all versions of gopay-java-sdk Show documentation
Official Gyro-n Payments Java SDK
package jp.gopay.sdk.models.common.bankaccounts;
import jp.gopay.sdk.types.BankAccountCountry;
import jp.gopay.sdk.types.BankAccountType;
public class JapaneseBankAccount extends BaseBankAccount{
public JapaneseBankAccount(String holderName, String bankName, String branchName, String currency, String accountNumber, BankAccountType accountType) {
setCommonFields(BankAccountCountry.JP, holderName, bankName, currency, accountNumber, accountType);
this.setBranchName(branchName);
}
public JapaneseBankAccount withBankAddress(String bankAddress){
this.setBankAddress(bankAddress);
return this;
}
public JapaneseBankAccount withSwiftCode(String swiftCode){
this.setSwiftCode(swiftCode);
return this;
}
}