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

no.unit.nva.model.funding.Funding Maven / Gradle / Ivy

There is a newer version: 0.23.2
Show newest version
package no.unit.nva.model.funding;

import com.fasterxml.jackson.annotation.JsonSubTypes;
import com.fasterxml.jackson.annotation.JsonTypeInfo;

import java.net.URI;
import java.time.Instant;
import java.util.Map;

@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, property = "type")
@JsonSubTypes({
    @JsonSubTypes.Type(name = "ConfirmedFunding", value = ConfirmedFunding.class),
    @JsonSubTypes.Type(name = "UnconfirmedFunding", value = UnconfirmedFunding.class)
})
public interface Funding {
    URI getSource();

    String getIdentifier();

    Map getLabels();

    MonetaryAmount getFundingAmount();

    Instant getActiveFrom();

    Instant getActiveTo();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy