Class UpsertCancellationPolicyExceptionSupplier

java.lang.Object
travel.wink.sdk.extranet.model.UpsertCancellationPolicyExceptionSupplier

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-08-24T16:36:44.138518294+07:00[Asia/Bangkok]") public class UpsertCancellationPolicyExceptionSupplier extends Object
UpsertCancellationPolicyExceptionSupplier
  • Field Details

  • Constructor Details

    • UpsertCancellationPolicyExceptionSupplier

      public UpsertCancellationPolicyExceptionSupplier()
  • Method Details

    • cancellationPolicyIdentifier

      public UpsertCancellationPolicyExceptionSupplier cancellationPolicyIdentifier(String cancellationPolicyIdentifier)
    • getCancellationPolicyIdentifier

      @Nonnull @NotNull public @NotNull String getCancellationPolicyIdentifier()
      Cancellation policy
      Returns:
      cancellationPolicyIdentifier
    • setCancellationPolicyIdentifier

      public void setCancellationPolicyIdentifier(String cancellationPolicyIdentifier)
    • startDate

    • getStartDate

      @Nonnull @NotNull @Valid public @NotNull @Valid LocalDate getStartDate()
      Start date for when this cancellation policy should start to override the default cancellation policy.
      Returns:
      startDate
    • setStartDate

      public void setStartDate(LocalDate startDate)
    • endDate

    • getEndDate

      @Nonnull @NotNull @Valid public @NotNull @Valid LocalDate getEndDate()
      End date for when this cancellation policy should end overriding the default cancellation policy.
      Returns:
      endDate
    • setEndDate

      public void setEndDate(LocalDate endDate)
    • 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