jp.gopay.sdk.models.common.bankaccounts.CanadianBankAccount 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 CanadianBankAccount extends BaseBankAccount {
public CanadianBankAccount(String holderName, String bankName, String bankAddress, String currency, String accountNumber, String swiftCode, BankAccountType accountType) {
setCommonFields(BankAccountCountry.CA, holderName, bankName, currency, accountNumber, accountType);
setBankAddress(bankAddress);
setSwiftCode(swiftCode);
}
public CanadianBankAccount withBranchName(String branchName){
this.setBranchName(branchName);
return this;
}
}