Class BookingContractItemCancellableResponse

java.lang.Object
io.trippay.sdk.payment.model.BookingContractItemCancellableResponse

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-04-12T17:32:17.983408277+07:00[Asia/Bangkok]") public class BookingContractItemCancellableResponse extends Object
Contract item cancellable object
  • Field Details

  • Constructor Details

    • BookingContractItemCancellableResponse

      public BookingContractItemCancellableResponse()
  • Method Details

    • supplierItemBookingCode

      public BookingContractItemCancellableResponse supplierItemBookingCode(String supplierItemBookingCode)
    • getSupplierItemBookingCode

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

      public void setSupplierItemBookingCode(String supplierItemBookingCode)
    • nameInEnglish

      public BookingContractItemCancellableResponse nameInEnglish(String nameInEnglish)
    • getNameInEnglish

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

      public void setNameInEnglish(String nameInEnglish)
    • policy

    • getPolicy

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

      public void setPolicy(SupplierContractItemPolicy policy)
    • type

    • getType

      Type of item this is.
      Returns:
      type
    • setType

    • sourcePrice

      public BookingContractItemCancellableResponse sourcePrice(Moneys sourcePrice)
    • getSourcePrice

      @Nullable @Valid public @Valid Moneys getSourcePrice()
      Get sourcePrice
      Returns:
      sourcePrice
    • setSourcePrice

      public void setSourcePrice(Moneys sourcePrice)
    • supplierPrice

      public BookingContractItemCancellableResponse supplierPrice(Moneys supplierPrice)
    • getSupplierPrice

      @Nullable @Valid public @Valid Moneys getSupplierPrice()
      Get supplierPrice
      Returns:
      supplierPrice
    • setSupplierPrice

      public void setSupplierPrice(Moneys supplierPrice)
    • displayPrice

      public BookingContractItemCancellableResponse displayPrice(Moneys displayPrice)
    • getDisplayPrice

      @Nullable @Valid public @Valid Moneys getDisplayPrice()
      Get displayPrice
      Returns:
      displayPrice
    • setDisplayPrice

      public void setDisplayPrice(Moneys displayPrice)
    • internalPrice

      public BookingContractItemCancellableResponse internalPrice(Moneys internalPrice)
    • getInternalPrice

      @Nullable @Valid public @Valid Moneys getInternalPrice()
      Get internalPrice
      Returns:
      internalPrice
    • setInternalPrice

      public void setInternalPrice(Moneys internalPrice)
    • capturePrice

      public BookingContractItemCancellableResponse capturePrice(Moneys capturePrice)
    • getCapturePrice

      @Nullable @Valid public @Valid Moneys getCapturePrice()
      Get capturePrice
      Returns:
      capturePrice
    • setCapturePrice

      public void setCapturePrice(Moneys capturePrice)
    • cancellableByTraveler

      public BookingContractItemCancellableResponse cancellableByTraveler(Boolean cancellableByTraveler)
    • getCancellableByTraveler

      @Nullable public Boolean getCancellableByTraveler()
      Whether this item can be cancelled by traveler either fully or partially.
      Returns:
      cancellableByTraveler
    • setCancellableByTraveler

      public void setCancellableByTraveler(Boolean cancellableByTraveler)
    • cancellableBySupplier

      public BookingContractItemCancellableResponse cancellableBySupplier(Boolean cancellableBySupplier)
    • getCancellableBySupplier

      @Nullable public Boolean getCancellableBySupplier()
      Whether this item can be cancelled by supplier either fully or partially.
      Returns:
      cancellableBySupplier
    • setCancellableBySupplier

      public void setCancellableBySupplier(Boolean cancellableBySupplier)
    • cancellableWithCharges

      public BookingContractItemCancellableResponse cancellableWithCharges(Boolean cancellableWithCharges)
    • getCancellableWithCharges

      @Nullable public Boolean getCancellableWithCharges()
      Whether this item can be cancelled by supplier either fully or partially.
      Returns:
      cancellableWithCharges
    • setCancellableWithCharges

      public void setCancellableWithCharges(Boolean cancellableWithCharges)
    • sourcePriceAfterRefund

      public BookingContractItemCancellableResponse sourcePriceAfterRefund(Moneys sourcePriceAfterRefund)
    • getSourcePriceAfterRefund

      @Nullable @Valid public @Valid Moneys getSourcePriceAfterRefund()
      Get sourcePriceAfterRefund
      Returns:
      sourcePriceAfterRefund
    • setSourcePriceAfterRefund

      public void setSourcePriceAfterRefund(Moneys sourcePriceAfterRefund)
    • supplierPriceAfterRefund

      public BookingContractItemCancellableResponse supplierPriceAfterRefund(Moneys supplierPriceAfterRefund)
    • getSupplierPriceAfterRefund

      @Nullable @Valid public @Valid Moneys getSupplierPriceAfterRefund()
      Get supplierPriceAfterRefund
      Returns:
      supplierPriceAfterRefund
    • setSupplierPriceAfterRefund

      public void setSupplierPriceAfterRefund(Moneys supplierPriceAfterRefund)
    • displayPriceAfterRefund

      public BookingContractItemCancellableResponse displayPriceAfterRefund(Moneys displayPriceAfterRefund)
    • getDisplayPriceAfterRefund

      @Nullable @Valid public @Valid Moneys getDisplayPriceAfterRefund()
      Get displayPriceAfterRefund
      Returns:
      displayPriceAfterRefund
    • setDisplayPriceAfterRefund

      public void setDisplayPriceAfterRefund(Moneys displayPriceAfterRefund)
    • internalPriceAfterRefund

      public BookingContractItemCancellableResponse internalPriceAfterRefund(Moneys internalPriceAfterRefund)
    • getInternalPriceAfterRefund

      @Nullable @Valid public @Valid Moneys getInternalPriceAfterRefund()
      Get internalPriceAfterRefund
      Returns:
      internalPriceAfterRefund
    • setInternalPriceAfterRefund

      public void setInternalPriceAfterRefund(Moneys internalPriceAfterRefund)
    • capturePriceAfterRefund

      public BookingContractItemCancellableResponse capturePriceAfterRefund(Moneys capturePriceAfterRefund)
    • getCapturePriceAfterRefund

      @Nullable @Valid public @Valid Moneys getCapturePriceAfterRefund()
      Get capturePriceAfterRefund
      Returns:
      capturePriceAfterRefund
    • setCapturePriceAfterRefund

      public void setCapturePriceAfterRefund(Moneys capturePriceAfterRefund)
    • 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