Class RefundSupplier

java.lang.Object
travel.wink.sdk.extranet.model.RefundSupplier

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-06T15:46:48.127304372+07:00[Asia/Bangkok]") public class RefundSupplier 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

    • RefundSupplier

      public RefundSupplier()
  • Method Details

    • identifier

      public RefundSupplier identifier(String identifier)
    • getIdentifier

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

      public void setIdentifier(String identifier)
    • acquirerRefundIdentifier

      public RefundSupplier 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)
    • requestedByIdentifier

      public RefundSupplier requestedByIdentifier(String requestedByIdentifier)
    • getRequestedByIdentifier

      @Nullable public String getRequestedByIdentifier()
      The SSO person / entity that requested the refund.
      Returns:
      requestedByIdentifier
    • setRequestedByIdentifier

      public void setRequestedByIdentifier(String requestedByIdentifier)
    • refund

      public RefundSupplier refund(CustomMonetaryAmount refund)
    • getRefund

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

      public void setRefund(CustomMonetaryAmount refund)
    • created

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

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

      public void setReasonType(RefundSupplier.ReasonTypeEnum reasonType)
    • statusType

      public RefundSupplier statusType(RefundSupplier.StatusTypeEnum statusType)
    • getStatusType

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

      public void setStatusType(RefundSupplier.StatusTypeEnum statusType)
    • requestType

      public RefundSupplier requestType(RefundSupplier.RequestTypeEnum requestType)
    • getRequestType

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

      public void setRequestType(RefundSupplier.RequestTypeEnum requestType)
    • requestStatus

      public RefundSupplier requestStatus(RefundSupplier.RequestStatusEnum requestStatus)
    • getRequestStatus

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

      public void setRequestStatus(RefundSupplier.RequestStatusEnum requestStatus)
    • requestResponse

      public RefundSupplier 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 RefundSupplier 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)
    • retries

      public RefundSupplier retries(Integer retries)
    • getRetries

      @Nullable public Integer getRetries()
      In case a TripPay admin has to go in and re-send the refund request to Stripe, we want to not to the same calculations again when a retry is executed so we keep track of retries here.
      Returns:
      retries
    • setRetries

      public void setRetries(Integer retries)
    • 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