Class PayoutAgent

java.lang.Object
travel.wink.sdk.travel.agent.model.PayoutAgent

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-12-27T09:39:31.477717564+07:00[Asia/Bangkok]") public class PayoutAgent extends Object
Payout keeps track of all outgoing funds for a certain account.
  • Field Details

  • Constructor Details

    • PayoutAgent

      public PayoutAgent()
  • Method Details

    • vendor

      public PayoutAgent vendor(PayoutAgent.VendorEnum vendor)
    • getVendor

      @Nonnull @NotNull public @NotNull PayoutAgent.VendorEnum getVendor()
      Name of integration vendor
      Returns:
      vendor
    • setVendor

      public void setVendor(PayoutAgent.VendorEnum vendor)
    • vendorIdentifier

      public PayoutAgent vendorIdentifier(String vendorIdentifier)
    • getVendorIdentifier

      @Nonnull @NotNull public @NotNull String getVendorIdentifier()
      Which acquirer account we return fund from.
      Returns:
      vendorIdentifier
    • setVendorIdentifier

      public void setVendorIdentifier(String vendorIdentifier)
    • vendorName

      public PayoutAgent vendorName(String vendorName)
    • getVendorName

      @Nonnull @NotNull public @NotNull String getVendorName()
      Name of regional acquirer account.
      Returns:
      vendorName
    • setVendorName

      public void setVendorName(String vendorName)
    • ledgerIdentifier

      public PayoutAgent ledgerIdentifier(UUID ledgerIdentifier)
    • getLedgerIdentifier

      @Nonnull @NotNull @Valid public @NotNull @Valid UUID getLedgerIdentifier()
      Unique system ID.
      Returns:
      ledgerIdentifier
    • setLedgerIdentifier

      public void setLedgerIdentifier(UUID ledgerIdentifier)
    • beneficiaryIdentifier

      public PayoutAgent beneficiaryIdentifier(UUID beneficiaryIdentifier)
    • getBeneficiaryIdentifier

      @Nonnull @NotNull @Valid public @NotNull @Valid UUID getBeneficiaryIdentifier()
      Beneficiary ID.
      Returns:
      beneficiaryIdentifier
    • setBeneficiaryIdentifier

      public void setBeneficiaryIdentifier(UUID beneficiaryIdentifier)
    • externalPayeeIdentifier

      public PayoutAgent externalPayeeIdentifier(String externalPayeeIdentifier)
    • getExternalPayeeIdentifier

      @Nonnull @NotNull public @NotNull String getExternalPayeeIdentifier()
      This would be the Wise recipient ID.
      Returns:
      externalPayeeIdentifier
    • setExternalPayeeIdentifier

      public void setExternalPayeeIdentifier(String externalPayeeIdentifier)
    • type

      public PayoutAgent type(PayoutAgent.TypeEnum type)
    • getType

      @Nonnull @NotNull public @NotNull PayoutAgent.TypeEnum getType()
      Type of withdrawal.
      Returns:
      type
    • setType

      public void setType(PayoutAgent.TypeEnum type)
    • entry

      public PayoutAgent entry(CustomMonetaryAmount entry)
    • getEntry

      @Nonnull @NotNull @Valid public @NotNull @Valid CustomMonetaryAmount getEntry()
      Get entry
      Returns:
      entry
    • setEntry

      public void setEntry(CustomMonetaryAmount entry)
    • fees

      public PayoutAgent fees(List<PayoutFeeAgent> fees)
    • addFeesItem

      public PayoutAgent addFeesItem(PayoutFeeAgent feesItem)
    • getFees

      @Nullable @Valid public @Valid List<PayoutFeeAgent> getFees()
      Fees incurred when making the withdrawal.
      Returns:
      fees
    • setFees

      public void setFees(List<PayoutFeeAgent> fees)
    • quote

      public PayoutAgent quote(QuoteAgent quote)
    • getQuote

      @Nullable @Valid public @Valid QuoteAgent getQuote()
      Get quote
      Returns:
      quote
    • setQuote

      public void setQuote(QuoteAgent quote)
    • created

      public PayoutAgent created(LocalDateTime created)
    • getCreated

      @Nonnull @NotNull @Valid public LocalDateTime getCreated()
      When the payout record was created.
      Returns:
      created
    • setCreated

      public void setCreated(LocalDateTime created)
    • description

      public PayoutAgent description(String description)
    • getDescription

      @Nullable public String getDescription()
      Textual response from provider
      Returns:
      description
    • setDescription

      public void setDescription(String description)
    • payoutId

      public PayoutAgent payoutId(String payoutId)
    • getPayoutId

      @Nullable public String getPayoutId()
      The ledgerIdentifier that was generated when scheduling the payout. This will come from the payout provider such as Stripe.
      Returns:
      payoutId
    • setPayoutId

      public void setPayoutId(String payoutId)
    • referenceCode

      public PayoutAgent referenceCode(String referenceCode)
    • getReferenceCode

      @Nullable public String getReferenceCode()
      The transaction code that was generated when the funds move out of TripPay's account. This will come from the payout provider such as Stripe. E.g. For VCCs, it will occur when an authorization takes place.
      Returns:
      referenceCode
    • setReferenceCode

      public void setReferenceCode(String referenceCode)
    • referenceCodeDate

      public PayoutAgent referenceCodeDate(LocalDateTime referenceCodeDate)
    • getReferenceCodeDate

      @Nullable @Valid public LocalDateTime getReferenceCodeDate()
      The time the funds were withdrawn
      Returns:
      referenceCodeDate
    • setReferenceCodeDate

      public void setReferenceCodeDate(LocalDateTime referenceCodeDate)
    • status

      public PayoutAgent status(PayoutAgent.StatusEnum status)
    • getStatus

      @Nonnull @NotNull public @NotNull PayoutAgent.StatusEnum getStatus()
      Status of withdrawal.
      Returns:
      status
    • setStatus

      public void setStatus(PayoutAgent.StatusEnum status)
    • 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