Class BeneficiaryBooker

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2025-01-26T12:29:20.072836560+07:00[Asia/Bangkok]") public class BeneficiaryBooker extends Object
Beneficiary is a registered account with rights to compensation within a booking.
  • Field Details

  • Constructor Details

    • BeneficiaryBooker

      public BeneficiaryBooker()
  • Method Details

    • accountIdentifier

      public BeneficiaryBooker accountIdentifier(String accountIdentifier)
    • getAccountIdentifier

      @Nonnull @NotNull public @NotNull String getAccountIdentifier()
      accountIdentifier of beneficiary that can map to an account with us
      Returns:
      accountIdentifier
    • setAccountIdentifier

      public void setAccountIdentifier(String accountIdentifier)
    • accountName

      public BeneficiaryBooker accountName(String accountName)
    • getAccountName

      @Nonnull @NotNull public @NotNull String getAccountName()
      accountName of beneficiary that can map to an account with us
      Returns:
      accountName
    • setAccountName

      public void setAccountName(String accountName)
    • accountEmail

      public BeneficiaryBooker accountEmail(String accountEmail)
    • getAccountEmail

      @Nonnull @NotNull public @NotNull String getAccountEmail()
      accountEmail of beneficiary that can map to an account with us
      Returns:
      accountEmail
    • setAccountEmail

      public void setAccountEmail(String accountEmail)
    • accountUrl

      public BeneficiaryBooker accountUrl(String accountUrl)
    • getAccountUrl

      @Nullable public String getAccountUrl()
      accountUrl of beneficiary that can map to an account with us
      Returns:
      accountUrl
    • setAccountUrl

      public void setAccountUrl(String accountUrl)
    • type

    • getType

      @Nonnull @NotNull public @NotNull BeneficiaryBooker.TypeEnum getType()
      The type of beneficiary payment.
      Returns:
      type
    • setType

      public void setType(BeneficiaryBooker.TypeEnum type)
    • amountDue

      public BeneficiaryBooker amountDue(BeneficiaryChargeBooker amountDue)
    • getAmountDue

      @Nullable @Valid public @Valid BeneficiaryChargeBooker getAmountDue()
      Get amountDue
      Returns:
      amountDue
    • setAmountDue

      public void setAmountDue(BeneficiaryChargeBooker amountDue)
    • sourceCurrency

      public BeneficiaryBooker sourceCurrency(String sourceCurrency)
    • getSourceCurrency

      @Nonnull @NotNull public @NotNull String getSourceCurrency()
      The source currency
      Returns:
      sourceCurrency
    • setSourceCurrency

      public void setSourceCurrency(String sourceCurrency)
    • displayCurrency

      public BeneficiaryBooker displayCurrency(String displayCurrency)
    • getDisplayCurrency

      @Nonnull @NotNull public @NotNull String getDisplayCurrency()
      The display currency
      Returns:
      displayCurrency
    • setDisplayCurrency

      public void setDisplayCurrency(String displayCurrency)
    • supplierCurrency

      public BeneficiaryBooker supplierCurrency(String supplierCurrency)
    • getSupplierCurrency

      @Nonnull @NotNull public @NotNull String getSupplierCurrency()
      The supplier currency
      Returns:
      supplierCurrency
    • setSupplierCurrency

      public void setSupplierCurrency(String supplierCurrency)
    • internalCurrency

      public BeneficiaryBooker internalCurrency(String internalCurrency)
    • getInternalCurrency

      @Nonnull @NotNull public @NotNull String getInternalCurrency()
      The internal currency
      Returns:
      internalCurrency
    • setInternalCurrency

      public void setInternalCurrency(String internalCurrency)
    • captureCurrency

      public BeneficiaryBooker captureCurrency(String captureCurrency)
    • getCaptureCurrency

      @Nonnull @NotNull public @NotNull String getCaptureCurrency()
      The capture currency
      Returns:
      captureCurrency
    • setCaptureCurrency

      public void setCaptureCurrency(String captureCurrency)
    • sourceAmount

      public BeneficiaryBooker sourceAmount(BigDecimal sourceAmount)
    • getSourceAmount

      @Nonnull @NotNull @Valid @DecimalMin("0") public @NotNull @Valid @DecimalMin("0") BigDecimal getSourceAmount()
      Amount in source currency minimum: 0
      Returns:
      sourceAmount
    • setSourceAmount

      public void setSourceAmount(BigDecimal sourceAmount)
    • displayAmount

      public BeneficiaryBooker displayAmount(BigDecimal displayAmount)
    • getDisplayAmount

      @Nonnull @NotNull @Valid @DecimalMin("0") public @NotNull @Valid @DecimalMin("0") BigDecimal getDisplayAmount()
      Amount in display currency minimum: 0
      Returns:
      displayAmount
    • setDisplayAmount

      public void setDisplayAmount(BigDecimal displayAmount)
    • supplierAmount

      public BeneficiaryBooker supplierAmount(BigDecimal supplierAmount)
    • getSupplierAmount

      @Nonnull @NotNull @Valid @DecimalMin("0") public @NotNull @Valid @DecimalMin("0") BigDecimal getSupplierAmount()
      Amount in supplier currency minimum: 0
      Returns:
      supplierAmount
    • setSupplierAmount

      public void setSupplierAmount(BigDecimal supplierAmount)
    • internalAmount

      public BeneficiaryBooker internalAmount(BigDecimal internalAmount)
    • getInternalAmount

      @Nonnull @NotNull @Valid @DecimalMin("0") public @NotNull @Valid @DecimalMin("0") BigDecimal getInternalAmount()
      Amount in internal currency minimum: 0
      Returns:
      internalAmount
    • setInternalAmount

      public void setInternalAmount(BigDecimal internalAmount)
    • captureAmount

      public BeneficiaryBooker captureAmount(BigDecimal captureAmount)
    • getCaptureAmount

      @Nonnull @NotNull @Valid @DecimalMin("0") public @NotNull @Valid @DecimalMin("0") BigDecimal getCaptureAmount()
      Amount in capture currency minimum: 0
      Returns:
      captureAmount
    • setCaptureAmount

      public void setCaptureAmount(BigDecimal captureAmount)
    • sourceAmountRefundModifier

      public BeneficiaryBooker sourceAmountRefundModifier(BigDecimal sourceAmountRefundModifier)
    • getSourceAmountRefundModifier

      @Nonnull @NotNull @Valid @DecimalMin("0") public @NotNull @Valid @DecimalMin("0") BigDecimal getSourceAmountRefundModifier()
      The delta from the original source amount after a refund occurred minimum: 0
      Returns:
      sourceAmountRefundModifier
    • setSourceAmountRefundModifier

      public void setSourceAmountRefundModifier(BigDecimal sourceAmountRefundModifier)
    • displayAmountRefundModifier

      public BeneficiaryBooker displayAmountRefundModifier(BigDecimal displayAmountRefundModifier)
    • getDisplayAmountRefundModifier

      @Nonnull @NotNull @Valid @DecimalMin("0") public @NotNull @Valid @DecimalMin("0") BigDecimal getDisplayAmountRefundModifier()
      The delta from the original display amount after a refund occurred minimum: 0
      Returns:
      displayAmountRefundModifier
    • setDisplayAmountRefundModifier

      public void setDisplayAmountRefundModifier(BigDecimal displayAmountRefundModifier)
    • supplierAmountRefundModifier

      public BeneficiaryBooker supplierAmountRefundModifier(BigDecimal supplierAmountRefundModifier)
    • getSupplierAmountRefundModifier

      @Nonnull @NotNull @Valid @DecimalMin("0") public @NotNull @Valid @DecimalMin("0") BigDecimal getSupplierAmountRefundModifier()
      The delta from the original supplier amount after a refund occurred minimum: 0
      Returns:
      supplierAmountRefundModifier
    • setSupplierAmountRefundModifier

      public void setSupplierAmountRefundModifier(BigDecimal supplierAmountRefundModifier)
    • internalAmountRefundModifier

      public BeneficiaryBooker internalAmountRefundModifier(BigDecimal internalAmountRefundModifier)
    • getInternalAmountRefundModifier

      @Nonnull @NotNull @Valid @DecimalMin("0") public @NotNull @Valid @DecimalMin("0") BigDecimal getInternalAmountRefundModifier()
      The delta from the original internal amount after a refund occurred minimum: 0
      Returns:
      internalAmountRefundModifier
    • setInternalAmountRefundModifier

      public void setInternalAmountRefundModifier(BigDecimal internalAmountRefundModifier)
    • captureAmountRefundModifier

      public BeneficiaryBooker captureAmountRefundModifier(BigDecimal captureAmountRefundModifier)
    • getCaptureAmountRefundModifier

      @Nonnull @NotNull @Valid @DecimalMin("0") public @NotNull @Valid @DecimalMin("0") BigDecimal getCaptureAmountRefundModifier()
      The delta from the original capture amount after a refund occurred minimum: 0
      Returns:
      captureAmountRefundModifier
    • setCaptureAmountRefundModifier

      public void setCaptureAmountRefundModifier(BigDecimal captureAmountRefundModifier)
    • pendingRefunds

      public BeneficiaryBooker pendingRefunds(List<PendingRefundBooker> pendingRefunds)
    • addPendingRefundsItem

      public BeneficiaryBooker addPendingRefundsItem(PendingRefundBooker pendingRefundsItem)
    • getPendingRefunds

      @Nullable @Valid public @Valid List<PendingRefundBooker> getPendingRefunds()
      Get pendingRefunds
      Returns:
      pendingRefunds
    • setPendingRefunds

      public void setPendingRefunds(List<PendingRefundBooker> pendingRefunds)
    • netSourceAmount

      public BeneficiaryBooker netSourceAmount(BigDecimal netSourceAmount)
    • getNetSourceAmount

      @Nonnull @NotNull @Valid @DecimalMin("0") public @NotNull @Valid @DecimalMin("0") BigDecimal getNetSourceAmount()
      Source amount minus source modifier. minimum: 0
      Returns:
      netSourceAmount
    • setNetSourceAmount

      public void setNetSourceAmount(BigDecimal netSourceAmount)
    • netDisplayAmount

      public BeneficiaryBooker netDisplayAmount(BigDecimal netDisplayAmount)
    • getNetDisplayAmount

      @Nonnull @NotNull @Valid @DecimalMin("0") public @NotNull @Valid @DecimalMin("0") BigDecimal getNetDisplayAmount()
      Display amount minus display modifier. minimum: 0
      Returns:
      netDisplayAmount
    • setNetDisplayAmount

      public void setNetDisplayAmount(BigDecimal netDisplayAmount)
    • netSupplierAmount

      public BeneficiaryBooker netSupplierAmount(BigDecimal netSupplierAmount)
    • getNetSupplierAmount

      @Nonnull @NotNull @Valid @DecimalMin("0") public @NotNull @Valid @DecimalMin("0") BigDecimal getNetSupplierAmount()
      Supplier amount minus supplier modifier. minimum: 0
      Returns:
      netSupplierAmount
    • setNetSupplierAmount

      public void setNetSupplierAmount(BigDecimal netSupplierAmount)
    • netInternalAmount

      public BeneficiaryBooker netInternalAmount(BigDecimal netInternalAmount)
    • getNetInternalAmount

      @Nonnull @NotNull @Valid @DecimalMin("0") public @NotNull @Valid @DecimalMin("0") BigDecimal getNetInternalAmount()
      Internal amount minus internal modifier. minimum: 0
      Returns:
      netInternalAmount
    • setNetInternalAmount

      public void setNetInternalAmount(BigDecimal netInternalAmount)
    • netCaptureAmount

      public BeneficiaryBooker netCaptureAmount(BigDecimal netCaptureAmount)
    • getNetCaptureAmount

      @Nonnull @NotNull @Valid @DecimalMin("0") public @NotNull @Valid @DecimalMin("0") BigDecimal getNetCaptureAmount()
      Capture amount minus capture modifier. minimum: 0
      Returns:
      netCaptureAmount
    • setNetCaptureAmount

      public void setNetCaptureAmount(BigDecimal netCaptureAmount)
    • reconciled

      public BeneficiaryBooker reconciled(Boolean reconciled)
    • getReconciled

      @Nullable public Boolean getReconciled()
      Whether a funds transfer has occurred for this booking.
      Returns:
      reconciled
    • setReconciled

      public void setReconciled(Boolean reconciled)
    • metadata

      public BeneficiaryBooker metadata(Map<String,String> metadata)
    • putMetadataItem

      public BeneficiaryBooker putMetadataItem(String key, String metadataItem)
    • getMetadata

      @Nullable public Map<String,String> getMetadata()
      Place to add more data related to the beneficiary.
      Returns:
      metadata
    • setMetadata

      public void setMetadata(Map<String,String> metadata)
    • 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