Class ApiCancellationPolicyCheckRate

java.lang.Object
travel.wink.hotelbeds.booking.sdk.model.ApiCancellationPolicyCheckRate

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-10-04T11:28:08.331690043+07:00[Asia/Bangkok]") public class ApiCancellationPolicyCheckRate extends Object
Set of rules that define the penalty the client will receive if the cancellation of a booking is made after a given date.
  • Field Details

  • Constructor Details

    • ApiCancellationPolicyCheckRate

      public ApiCancellationPolicyCheckRate()
  • Method Details

    • amount

      public ApiCancellationPolicyCheckRate amount(String amount)
    • getAmount

      @Nullable public String getAmount()
      Penalty that will be charged for cancellations after the indicated date, represented as a monetary amount.
      Returns:
      amount
    • setAmount

      public void setAmount(String amount)
    • from

    • getFrom

      @Nullable public String getFrom()
      Date from which the penalties are applied in ISO 8601 format (yyyy-MM-ddTHH:mm:ssZ).
      Returns:
      from
    • setFrom

      public void setFrom(String from)
    • 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