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

no.digipost.signature.client.archive.ArchiveOwner Maven / Gradle / Ivy

There is a newer version: 7.0.4
Show newest version
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