com.truelayer.java.payments.entities.beneficiary.ExternalAccount Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of truelayer-java Show documentation
Show all versions of truelayer-java Show documentation
TrueLayer Java SDK for https://truelayer.com
package com.truelayer.java.payments.entities.beneficiary;
import static com.truelayer.java.payments.entities.beneficiary.Beneficiary.Type.EXTERNAL_ACCOUNT;
import com.truelayer.java.entities.accountidentifier.AccountIdentifier;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.Getter;
@Builder
@Getter
@EqualsAndHashCode(callSuper = false)
public class ExternalAccount extends Beneficiary {
private final Type type = EXTERNAL_ACCOUNT;
private String accountHolderName;
private AccountIdentifier accountIdentifier;
/**
* Reference for the payments.
* Ignored when creating a Recurring payment mandate
*/
private String reference;
}