no.digipost.signature.client.archive.ArchiveOwner Maven / Gradle / Ivy
package no.digipost.signature.client.archive;
import no.digipost.signature.client.core.WithOrganizationNumber;
public final class ArchiveOwner implements WithOrganizationNumber {
public static ArchiveOwner of(WithOrganizationNumber organization) {
return ofOrganizationNumber(organization.getOrganizationNumber());
}
public static ArchiveOwner ofOrganizationNumber(String organizationNumber) {
return new ArchiveOwner(organizationNumber);
}
private final String organizationNumber;
private ArchiveOwner(String organizationNumber) {
this.organizationNumber = organizationNumber;
}
@Override
public String getOrganizationNumber() {
return organizationNumber;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy