Class RefundAgent

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-03-24T11:13:07.607433685+07:00[Asia/Bangkok]") public class RefundAgent 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

    • RefundAgent

      public RefundAgent()
  • Method Details

    • identifier

      public RefundAgent identifier(String identifier)
    • getIdentifier

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

      public void setIdentifier(String identifier)
    • acquirerRefundIdentifier

      public RefundAgent 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 RefundAgent refund(MoneysAgent refund)
    • getRefund

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

      public void setRefund(MoneysAgent refund)
    • created

      public RefundAgent 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 RefundAgent 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 RefundAgent reasonType(RefundAgent.ReasonTypeEnum reasonType)
    • getReasonType

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

      public void setReasonType(RefundAgent.ReasonTypeEnum reasonType)
    • statusType

      public RefundAgent statusType(RefundAgent.StatusTypeEnum statusType)
    • getStatusType

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

      public void setStatusType(RefundAgent.StatusTypeEnum statusType)
    • requestType

      public RefundAgent requestType(RefundAgent.RequestTypeEnum requestType)
    • getRequestType

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

      public void setRequestType(RefundAgent.RequestTypeEnum requestType)
    • requestStatus

      public RefundAgent requestStatus(RefundAgent.RequestStatusEnum requestStatus)
    • getRequestStatus

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

      public void setRequestStatus(RefundAgent.RequestStatusEnum requestStatus)
    • requestResponse

      public RefundAgent 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 RefundAgent 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