Class Offer
- java.lang.Object
-
- com.merge.api.resources.ats.types.Offer
-
public final class Offer extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOffer.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Offer.Builderbuilder()booleanequals(java.lang.Object other)java.util.Map<java.lang.String,java.lang.Object>getAdditionalProperties()java.util.Optional<OfferApplication>getApplication()java.util.Optional<java.time.OffsetDateTime>getClosedAt()java.util.Optional<java.time.OffsetDateTime>getCreatedAt()java.util.Optional<OfferCreator>getCreator()java.util.Optional<java.util.Map<java.lang.String,com.fasterxml.jackson.databind.JsonNode>>getFieldMappings()java.util.Optional<java.lang.String>getId()java.util.Optional<java.time.OffsetDateTime>getModifiedAt()java.util.Optional<java.time.OffsetDateTime>getRemoteCreatedAt()java.util.Optional<java.util.List<RemoteData>>getRemoteData()java.util.Optional<java.lang.String>getRemoteId()java.util.Optional<java.lang.Boolean>getRemoteWasDeleted()java.util.Optional<java.time.OffsetDateTime>getSentAt()java.util.Optional<java.time.OffsetDateTime>getStartDate()java.util.Optional<OfferStatus>getStatus()inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getId
public java.util.Optional<java.lang.String> getId()
-
getRemoteId
public java.util.Optional<java.lang.String> getRemoteId()
- Returns:
- The third-party API ID of the matching object.
-
getCreatedAt
public java.util.Optional<java.time.OffsetDateTime> getCreatedAt()
- Returns:
- The datetime that this object was created by Merge.
-
getModifiedAt
public java.util.Optional<java.time.OffsetDateTime> getModifiedAt()
- Returns:
- The datetime that this object was modified by Merge.
-
getApplication
public java.util.Optional<OfferApplication> getApplication()
- Returns:
- The application who is receiving the offer.
-
getCreator
public java.util.Optional<OfferCreator> getCreator()
- Returns:
- The user who created the offer.
-
getRemoteCreatedAt
public java.util.Optional<java.time.OffsetDateTime> getRemoteCreatedAt()
- Returns:
- When the third party's offer was created.
-
getClosedAt
public java.util.Optional<java.time.OffsetDateTime> getClosedAt()
- Returns:
- When the offer was closed.
-
getSentAt
public java.util.Optional<java.time.OffsetDateTime> getSentAt()
- Returns:
- When the offer was sent.
-
getStartDate
public java.util.Optional<java.time.OffsetDateTime> getStartDate()
- Returns:
- The employment start date on the offer.
-
getStatus
public java.util.Optional<OfferStatus> getStatus()
- Returns:
- The offer's status.
DRAFT- DRAFTAPPROVAL-SENT- APPROVAL-SENTAPPROVED- APPROVEDSENT- SENTSENT-MANUALLY- SENT-MANUALLYOPENED- OPENEDDENIED- DENIEDSIGNED- SIGNEDDEPRECATED- DEPRECATED
-
getRemoteWasDeleted
public java.util.Optional<java.lang.Boolean> getRemoteWasDeleted()
- Returns:
- Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. Learn more.
-
getFieldMappings
public java.util.Optional<java.util.Map<java.lang.String,com.fasterxml.jackson.databind.JsonNode>> getFieldMappings()
-
getRemoteData
public java.util.Optional<java.util.List<RemoteData>> getRemoteData()
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
getAdditionalProperties
public java.util.Map<java.lang.String,java.lang.Object> getAdditionalProperties()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
builder
public static Offer.Builder builder()
-
-