Class UpsertCancellationPolicyException

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-09-08T16:32:28.411222+07:00[Asia/Bangkok]") public class UpsertCancellationPolicyException extends Object
UpsertCancellationPolicyException
  • Field Details

  • Constructor Details

    • UpsertCancellationPolicyException

      public UpsertCancellationPolicyException()
  • Method Details

    • cancellationPolicyIdentifier

      public UpsertCancellationPolicyException cancellationPolicyIdentifier(String cancellationPolicyIdentifier)
    • getCancellationPolicyIdentifier

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

      public void setCancellationPolicyIdentifier(String cancellationPolicyIdentifier)
    • startDate

      public UpsertCancellationPolicyException startDate(LocalDate 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

      public UpsertCancellationPolicyException endDate(LocalDate 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