Class PayoutAgent

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-10-16T10:17:55.121544913+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

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

      public void setVendor(PayoutAgent.VendorEnum vendor)
    • vendorIdentifier

      public PayoutAgent vendorIdentifier(String vendorIdentifier)
    • getVendorIdentifier

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

      public void setVendorIdentifier(String vendorIdentifier)
    • vendorName

      public PayoutAgent vendorName(String vendorName)
    • getVendorName

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

      public void setVendorName(String vendorName)
    • vendorTokenKey

      public PayoutAgent vendorTokenKey(String vendorTokenKey)
    • getVendorTokenKey

      @Nullable public String getVendorTokenKey()
      Key to help load Stripe for the correct region. Could be helpful for other vendors as well.
      Returns:
      vendorTokenKey
    • setVendorTokenKey

      public void setVendorTokenKey(String vendorTokenKey)
    • identifier

      public PayoutAgent identifier(UUID identifier)
    • getIdentifier

      @Nullable @Valid public @Valid UUID getIdentifier()
      Unique system ID.
      Returns:
      identifier
    • setIdentifier

      public void setIdentifier(UUID identifier)
    • beneficiaryIdentifier

      public PayoutAgent beneficiaryIdentifier(UUID beneficiaryIdentifier)
    • getBeneficiaryIdentifier

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

      public void setBeneficiaryIdentifier(UUID beneficiaryIdentifier)
    • externalPayeeIdentifier

      public PayoutAgent externalPayeeIdentifier(String externalPayeeIdentifier)
    • getExternalPayeeIdentifier

      @Nullable public String getExternalPayeeIdentifier()
      This would be the cardholder ID for VCCs.
      Returns:
      externalPayeeIdentifier
    • setExternalPayeeIdentifier

      public void setExternalPayeeIdentifier(String externalPayeeIdentifier)
    • type

      public PayoutAgent type(PayoutAgent.TypeEnum type)
    • getType

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

      public void setType(PayoutAgent.TypeEnum type)
    • entry

      public PayoutAgent entry(CustomMonetaryAmount entry)
    • getEntry

      @Nullable @Valid public @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)
    • created

      public PayoutAgent created(LocalDateTime created)
    • getCreated

      @Nullable @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 identifier 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

      @Nullable public 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