Class ReportingDailyRateBooker

java.lang.Object
travel.wink.sdk.booking.model.ReportingDailyRateBooker

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-10-30T09:49:59.246190991+07:00[Asia/Bangkok]") public class ReportingDailyRateBooker extends Object
Displays rate accounting details
  • Field Details

  • Constructor Details

    • ReportingDailyRateBooker

      public ReportingDailyRateBooker()
  • Method Details

    • date

      public ReportingDailyRateBooker date(LocalDate date)
    • getDate

      @Nullable @Valid public @Valid LocalDate getDate()
      The rate date.
      Returns:
      date
    • setDate

      public void setDate(LocalDate date)
    • baseAmount

      public ReportingDailyRateBooker baseAmount(BigDecimal baseAmount)
    • getBaseAmount

      @Nullable @Valid public @Valid BigDecimal getBaseAmount()
      The rate given to us by channel manager / CRS / PMS.
      Returns:
      baseAmount
    • setBaseAmount

      public void setBaseAmount(BigDecimal baseAmount)
    • grossAmount

      public ReportingDailyRateBooker grossAmount(BigDecimal grossAmount)
    • getGrossAmount

      @Nullable @Valid public @Valid BigDecimal getGrossAmount()
      The derived amount based on promotions, member discounts etc within our platform.
      Returns:
      grossAmount
    • setGrossAmount

      public void setGrossAmount(BigDecimal grossAmount)
    • netAmount

      public ReportingDailyRateBooker netAmount(BigDecimal netAmount)
    • getNetAmount

      @Nullable @Valid public @Valid BigDecimal getNetAmount()
      The gross amount minus fees and commissions.
      Returns:
      netAmount
    • setNetAmount

      public void setNetAmount(BigDecimal netAmount)
    • netAmountWithRefund

      public ReportingDailyRateBooker netAmountWithRefund(BigDecimal netAmountWithRefund)
    • getNetAmountWithRefund

      @Nullable @Valid public @Valid BigDecimal getNetAmountWithRefund()
      The net amount minus potential refund. Null if booking contains no refund.
      Returns:
      netAmountWithRefund
    • setNetAmountWithRefund

      public void setNetAmountWithRefund(BigDecimal netAmountWithRefund)
    • currency

      public ReportingDailyRateBooker currency(String currency)
    • getCurrency

      @Nullable public String getCurrency()
      The currency for these amounts.
      Returns:
      currency
    • setCurrency

      public void setCurrency(String currency)
    • 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