Class ManagedByEntityRulesSupplier

java.lang.Object
travel.wink.sdk.affiliate.model.ManagedByEntityRulesSupplier

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2025-01-26T12:27:57.983492080+07:00[Asia/Bangkok]") public class ManagedByEntityRulesSupplier extends Object
Optional rules for expiration date etc when agency is no longer managing this entity.
  • Field Details

  • Constructor Details

    • ManagedByEntityRulesSupplier

      public ManagedByEntityRulesSupplier()
    • ManagedByEntityRulesSupplier

      public ManagedByEntityRulesSupplier(Boolean nonExpired)
  • Method Details

    • expires

      public ManagedByEntityRulesSupplier expires(LocalDate expires)
    • getExpires

      @Nullable @Valid public @Valid LocalDate getExpires()
      Optional expiration date when agency is no longer managing this entity.
      Returns:
      expires
    • setExpires

      public void setExpires(LocalDate expires)
    • numBookings

      public ManagedByEntityRulesSupplier numBookings(Integer numBookings)
    • getNumBookings

      @Nullable public Integer getNumBookings()
      Optional total number of bookings [left] the agency is entitled to commission. This number will decrement every time a booking is made with this agency involved.
      Returns:
      numBookings
    • setNumBookings

      public void setNumBookings(Integer numBookings)
    • getNonExpired

      @Nullable public Boolean getNonExpired()
      Whether managing entity rules has expired.
      Returns:
      nonExpired
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object