Class Benefit


  • public final class Benefit
    extends java.lang.Object
    • 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.
      • getEmployee

        public java.util.Optional<BenefitEmployee> getEmployee()
        Returns:
        The employee on the plan.
      • getProviderName

        public java.util.Optional<java.lang.String> getProviderName()
        Returns:
        The name of the benefit provider.
      • getBenefitPlanType

        public java.util.Optional<java.lang.String> getBenefitPlanType()
        Returns:
        The type of benefit plan
      • getEmployeeContribution

        public java.util.Optional<java.lang.Double> getEmployeeContribution()
        Returns:
        The employee's contribution.
      • getCompanyContribution

        public java.util.Optional<java.lang.Double> getCompanyContribution()
        Returns:
        The company's contribution.
      • getStartDate

        public java.util.Optional<java.time.OffsetDateTime> getStartDate()
        Returns:
        The day and time the benefit started.
      • getEndDate

        public java.util.Optional<java.time.OffsetDateTime> getEndDate()
        Returns:
        The day and time the benefit ended.
      • 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.
      • getEmployerBenefit

        public java.util.Optional<java.lang.String> getEmployerBenefit()
        Returns:
        The employer benefit plan the employee is enrolled in.
      • 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:
        equals in class java.lang.Object
      • getAdditionalProperties

        public java.util.Map<java.lang.String,​java.lang.Object> getAdditionalProperties()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object