Class RefundBooker

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-04-12T17:36:27.832341431+07:00[Asia/Bangkok]") public class RefundBooker extends Object
Refund objects allow you to refund a charge that has previously been created but not yet refunded. Funds will be refunded to the credit or debit card that was originally charged.
  • Field Details

  • Constructor Details

    • RefundBooker

      public RefundBooker()
  • Method Details

    • identifier

      public RefundBooker identifier(String identifier)
    • getIdentifier

      @Nonnull @NotNull public @NotNull String getIdentifier()
      A unique identifier
      Returns:
      identifier
    • setIdentifier

      public void setIdentifier(String identifier)
    • acquirerRefundIdentifier

      public RefundBooker acquirerRefundIdentifier(String acquirerRefundIdentifier)
    • getAcquirerRefundIdentifier

      @Nullable public String getAcquirerRefundIdentifier()
      The acquirer refund identifier. Will get attached once it comes in on the webhook.
      Returns:
      acquirerRefundIdentifier
    • setAcquirerRefundIdentifier

      public void setAcquirerRefundIdentifier(String acquirerRefundIdentifier)
    • refund

      public RefundBooker refund(MoneysBooker refund)
    • getRefund

      @Nonnull @NotNull @Valid public @NotNull @Valid MoneysBooker getRefund()
      Get refund
      Returns:
      refund
    • setRefund

      public void setRefund(MoneysBooker refund)
    • created

      public RefundBooker created(LocalDateTime created)
    • getCreated

      @Nonnull @NotNull @Valid public LocalDateTime getCreated()
      When the amount was refunded
      Returns:
      created
    • setCreated

      public void setCreated(LocalDateTime created)
    • description

      public RefundBooker description(String description)
    • getDescription

      @Nonnull @NotNull public @NotNull String getDescription()
      A description of the refund that can be displayed to booker
      Returns:
      description
    • setDescription

      public void setDescription(String description)
    • reasonType

      public RefundBooker reasonType(RefundBooker.ReasonTypeEnum reasonType)
    • getReasonType

      @Nonnull @NotNull public @NotNull RefundBooker.ReasonTypeEnum getReasonType()
      A description of the refund that can be displayed to booker
      Returns:
      reasonType
    • setReasonType

      public void setReasonType(RefundBooker.ReasonTypeEnum reasonType)
    • statusType

      public RefundBooker statusType(RefundBooker.StatusTypeEnum statusType)
    • getStatusType

      @Nonnull @NotNull public @NotNull RefundBooker.StatusTypeEnum getStatusType()
      Status of the refund
      Returns:
      statusType
    • setStatusType

      public void setStatusType(RefundBooker.StatusTypeEnum statusType)
    • requestType

      public RefundBooker requestType(RefundBooker.RequestTypeEnum requestType)
    • getRequestType

      @Nonnull @NotNull public @NotNull RefundBooker.RequestTypeEnum getRequestType()
      The entity making the refund request
      Returns:
      requestType
    • setRequestType

      public void setRequestType(RefundBooker.RequestTypeEnum requestType)
    • requestStatus

      public RefundBooker requestStatus(RefundBooker.RequestStatusEnum requestStatus)
    • getRequestStatus

      @Nonnull @NotNull public @NotNull RefundBooker.RequestStatusEnum getRequestStatus()
      Status of the refund request
      Returns:
      requestStatus
    • setRequestStatus

      public void setRequestStatus(RefundBooker.RequestStatusEnum requestStatus)
    • requestResponse

      public RefundBooker requestResponse(String requestResponse)
    • getRequestResponse

      @Nonnull @NotNull public @NotNull String getRequestResponse()
      Admin may choose to respond to the refund request made by the hotel
      Returns:
      requestResponse
    • setRequestResponse

      public void setRequestResponse(String requestResponse)
    • receiptUrl

      public RefundBooker receiptUrl(String receiptUrl)
    • getReceiptUrl

      @Nullable public String getReceiptUrl()
      This is the receipt url that contains a friendly web confirmation page. Comes in on the webhook.
      Returns:
      receiptUrl
    • setReceiptUrl

      public void setReceiptUrl(String receiptUrl)
    • 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