Class BookingContractItem

java.lang.Object
io.trippay.sdk.payment.acquiring.model.BookingContractItem

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-03-18T09:26:01.256708606+07:00[Asia/Bangkok]") public class BookingContractItem extends Object
Returns the date when traveler checks into the room.
  • Field Details

  • Constructor Details

    • BookingContractItem

      public BookingContractItem()
  • Method Details

    • supplierItemBookingCode

      public BookingContractItem supplierItemBookingCode(String supplierItemBookingCode)
    • getSupplierItemBookingCode

      @Nonnull @NotNull public @NotNull String getSupplierItemBookingCode()
      Booking code identifying the supplier line item.
      Returns:
      supplierItemBookingCode
    • setSupplierItemBookingCode

      public void setSupplierItemBookingCode(String supplierItemBookingCode)
    • user

      public BookingContractItem user(BookingUser user)
    • getUser

      @Nonnull @NotNull @Valid public @NotNull @Valid BookingUser getUser()
      Get user
      Returns:
      user
    • setUser

      public void setUser(BookingUser user)
    • nameInEnglish

      public BookingContractItem nameInEnglish(String nameInEnglish)
    • getNameInEnglish

      @Nonnull @NotNull public @NotNull String getNameInEnglish()
      Name of item in English included in booking.
      Returns:
      nameInEnglish
    • setNameInEnglish

      public void setNameInEnglish(String nameInEnglish)
    • descriptionInEnglish

      public BookingContractItem descriptionInEnglish(String descriptionInEnglish)
    • getDescriptionInEnglish

      @Nonnull @NotNull public @NotNull String getDescriptionInEnglish()
      Short description in English of item included in booking.
      Returns:
      descriptionInEnglish
    • setDescriptionInEnglish

      public void setDescriptionInEnglish(String descriptionInEnglish)
    • totalSourcePrice

      public BookingContractItem totalSourcePrice(Moneys totalSourcePrice)
    • getTotalSourcePrice

      @Nonnull @NotNull @Valid public @NotNull @Valid Moneys getTotalSourcePrice()
      Get totalSourcePrice
      Returns:
      totalSourcePrice
    • setTotalSourcePrice

      public void setTotalSourcePrice(Moneys totalSourcePrice)
    • totalDisplayPrice

      public BookingContractItem totalDisplayPrice(Moneys totalDisplayPrice)
    • getTotalDisplayPrice

      @Nonnull @NotNull @Valid public @NotNull @Valid Moneys getTotalDisplayPrice()
      Get totalDisplayPrice
      Returns:
      totalDisplayPrice
    • setTotalDisplayPrice

      public void setTotalDisplayPrice(Moneys totalDisplayPrice)
    • totalSupplierPrice

      public BookingContractItem totalSupplierPrice(Moneys totalSupplierPrice)
    • getTotalSupplierPrice

      @Nonnull @NotNull @Valid public @NotNull @Valid Moneys getTotalSupplierPrice()
      Get totalSupplierPrice
      Returns:
      totalSupplierPrice
    • setTotalSupplierPrice

      public void setTotalSupplierPrice(Moneys totalSupplierPrice)
    • totalInternalPrice

      public BookingContractItem totalInternalPrice(Moneys totalInternalPrice)
    • getTotalInternalPrice

      @Nonnull @NotNull @Valid public @NotNull @Valid Moneys getTotalInternalPrice()
      Get totalInternalPrice
      Returns:
      totalInternalPrice
    • setTotalInternalPrice

      public void setTotalInternalPrice(Moneys totalInternalPrice)
    • totalCapturePrice

      public BookingContractItem totalCapturePrice(Moneys totalCapturePrice)
    • getTotalCapturePrice

      @Nonnull @NotNull @Valid public @NotNull @Valid Moneys getTotalCapturePrice()
      Get totalCapturePrice
      Returns:
      totalCapturePrice
    • setTotalCapturePrice

      public void setTotalCapturePrice(Moneys totalCapturePrice)
    • itinerary

      public BookingContractItem itinerary(Itinerary itinerary)
    • getItinerary

      @Nonnull @NotNull @Valid public @NotNull @Valid Itinerary getItinerary()
      Get itinerary
      Returns:
      itinerary
    • setItinerary

      public void setItinerary(Itinerary itinerary)
    • pricingType

      public BookingContractItem pricingType(BookingContractItem.PricingTypeEnum pricingType)
    • getPricingType

      @Nonnull @NotNull public @NotNull BookingContractItem.PricingTypeEnum getPricingType()
      How to calculate the total amount.
      Returns:
      pricingType
    • setPricingType

      public void setPricingType(BookingContractItem.PricingTypeEnum pricingType)
    • type

    • getType

      @Nonnull @NotNull public @NotNull BookingContractItem.TypeEnum getType()
      Type of item this is.
      Returns:
      type
    • setType

      public void setType(BookingContractItem.TypeEnum type)
    • beneficiaryList

      public BookingContractItem beneficiaryList(List<Beneficiary> beneficiaryList)
    • addBeneficiaryListItem

      public BookingContractItem addBeneficiaryListItem(Beneficiary beneficiaryListItem)
    • getBeneficiaryList

      @Nonnull @NotNull @Valid @Size(min=1, max=2147483647) public @NotNull @Valid @Size(min=1,max=2147483647) List<Beneficiary> getBeneficiaryList()
      Get beneficiaryList
      Returns:
      beneficiaryList
    • setBeneficiaryList

      public void setBeneficiaryList(List<Beneficiary> beneficiaryList)
    • payable

    • getPayable

      @Nonnull @NotNull public @NotNull BookingContractItem.PayableEnum getPayable()
      When to charge for this item.
      Returns:
      payable
    • setPayable

      public void setPayable(BookingContractItem.PayableEnum payable)
    • policy

    • getPolicy

      @Nullable @Valid public @Valid SupplierContractItemPolicy getPolicy()
      Get policy
      Returns:
      policy
    • setPolicy

      public void setPolicy(SupplierContractItemPolicy policy)
    • externalIdentifier

      public BookingContractItem externalIdentifier(String externalIdentifier)
    • getExternalIdentifier

      @Nullable public String getExternalIdentifier()
      Optional geoname externalIdentifier to remote inventory.
      Returns:
      externalIdentifier
    • setExternalIdentifier

      public void setExternalIdentifier(String externalIdentifier)
    • tokensEarned

      public BookingContractItem tokensEarned(Long tokensEarned)
    • getTokensEarned

      @Nullable public Long getTokensEarned()
      Tokens minted for this item
      Returns:
      tokensEarned
    • setTokensEarned

      public void setTokensEarned(Long tokensEarned)
    • dailyRateList

      public BookingContractItem dailyRateList(List<DailyRate> dailyRateList)
    • addDailyRateListItem

      public BookingContractItem addDailyRateListItem(DailyRate dailyRateListItem)
    • getDailyRateList

      @Nullable @Valid public @Valid List<DailyRate> getDailyRateList()
      Get dailyRateList
      Returns:
      dailyRateList
    • setDailyRateList

      public void setDailyRateList(List<DailyRate> dailyRateList)
    • cancelled

      public BookingContractItem cancelled(Boolean cancelled)
    • getCancelled

      @Nullable public Boolean getCancelled()
      Optional geoname externalIdentifier to remote inventory.
      Returns:
      cancelled
    • setCancelled

      public void setCancelled(Boolean cancelled)
    • totalSourcePriceAfterRefund

      public BookingContractItem totalSourcePriceAfterRefund(Moneys totalSourcePriceAfterRefund)
    • getTotalSourcePriceAfterRefund

      @Nullable @Valid public @Valid Moneys getTotalSourcePriceAfterRefund()
      Get totalSourcePriceAfterRefund
      Returns:
      totalSourcePriceAfterRefund
    • setTotalSourcePriceAfterRefund

      public void setTotalSourcePriceAfterRefund(Moneys totalSourcePriceAfterRefund)
    • totalDisplayPriceAfterRefund

      public BookingContractItem totalDisplayPriceAfterRefund(Moneys totalDisplayPriceAfterRefund)
    • getTotalDisplayPriceAfterRefund

      @Nullable @Valid public @Valid Moneys getTotalDisplayPriceAfterRefund()
      Get totalDisplayPriceAfterRefund
      Returns:
      totalDisplayPriceAfterRefund
    • setTotalDisplayPriceAfterRefund

      public void setTotalDisplayPriceAfterRefund(Moneys totalDisplayPriceAfterRefund)
    • totalSupplierPriceAfterRefund

      public BookingContractItem totalSupplierPriceAfterRefund(Moneys totalSupplierPriceAfterRefund)
    • getTotalSupplierPriceAfterRefund

      @Nullable @Valid public @Valid Moneys getTotalSupplierPriceAfterRefund()
      Get totalSupplierPriceAfterRefund
      Returns:
      totalSupplierPriceAfterRefund
    • setTotalSupplierPriceAfterRefund

      public void setTotalSupplierPriceAfterRefund(Moneys totalSupplierPriceAfterRefund)
    • totalInternalPriceAfterRefund

      public BookingContractItem totalInternalPriceAfterRefund(Moneys totalInternalPriceAfterRefund)
    • getTotalInternalPriceAfterRefund

      @Nullable @Valid public @Valid Moneys getTotalInternalPriceAfterRefund()
      Get totalInternalPriceAfterRefund
      Returns:
      totalInternalPriceAfterRefund
    • setTotalInternalPriceAfterRefund

      public void setTotalInternalPriceAfterRefund(Moneys totalInternalPriceAfterRefund)
    • totalCapturePriceAfterRefund

      public BookingContractItem totalCapturePriceAfterRefund(Moneys totalCapturePriceAfterRefund)
    • getTotalCapturePriceAfterRefund

      @Nullable @Valid public @Valid Moneys getTotalCapturePriceAfterRefund()
      Get totalCapturePriceAfterRefund
      Returns:
      totalCapturePriceAfterRefund
    • setTotalCapturePriceAfterRefund

      public void setTotalCapturePriceAfterRefund(Moneys totalCapturePriceAfterRefund)
    • cancellableByTraveler

      public BookingContractItem cancellableByTraveler(Boolean cancellableByTraveler)
    • getCancellableByTraveler

      @Nullable public Boolean getCancellableByTraveler()
      Whether the booking can still be cancelled by the traveller.
      Returns:
      cancellableByTraveler
    • setCancellableByTraveler

      public void setCancellableByTraveler(Boolean cancellableByTraveler)
    • cancellableBySupplier

      public BookingContractItem cancellableBySupplier(Boolean cancellableBySupplier)
    • getCancellableBySupplier

      @Nullable public Boolean getCancellableBySupplier()
      Whether the booking can still be cancelled by the supplier. A supplier cancellation overrides the refundable
      Returns:
      cancellableBySupplier
    • setCancellableBySupplier

      public void setCancellableBySupplier(Boolean cancellableBySupplier)
    • cancellableWithNoCharges

      public BookingContractItem cancellableWithNoCharges(Boolean cancellableWithNoCharges)
    • getCancellableWithNoCharges

      @Nullable public Boolean getCancellableWithNoCharges()
      Whether the booking can still be cancelled and whether cancellation charges might still occur.
      Returns:
      cancellableWithNoCharges
    • setCancellableWithNoCharges

      public void setCancellableWithNoCharges(Boolean cancellableWithNoCharges)
    • 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