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.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumStatus of withdrawal.static enumType of withdrawal.static enumName of integration vendor -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddFeesItem(PayoutFeeAgent feesItem) beneficiaryIdentifier(UUID beneficiaryIdentifier) created(LocalDateTime created) description(String description) entry(CustomMonetaryAmount entry) booleanexternalPayeeIdentifier(String externalPayeeIdentifier) fees(List<PayoutFeeAgent> fees) @NotNull @Valid UUIDBeneficiary ID.When the payout record was created.Textual response from provider@NotNull @Valid CustomMonetaryAmountgetEntry()Get entry@NotNull StringThis would be the Wise recipient ID.@Valid List<PayoutFeeAgent> getFees()Fees incurred when making the withdrawal.@NotNull @Valid UUIDUnique system ID.The ledgerIdentifier that was generated when scheduling the payout.@Valid QuoteAgentgetQuote()Get quoteThe transaction code that was generated when the funds move out of TripPay's account.The time the funds were withdrawn@NotNull PayoutAgent.StatusEnumStatus of withdrawal.@NotNull PayoutAgent.TypeEnumgetType()Type of withdrawal.@NotNull PayoutAgent.VendorEnumName of integration vendor@NotNull StringWhich acquirer account we return fund from.@NotNull StringName of regional acquirer account.inthashCode()ledgerIdentifier(UUID ledgerIdentifier) quote(QuoteAgent quote) referenceCode(String referenceCode) referenceCodeDate(LocalDateTime referenceCodeDate) voidsetBeneficiaryIdentifier(UUID beneficiaryIdentifier) voidsetCreated(LocalDateTime created) voidsetDescription(String description) voidsetEntry(CustomMonetaryAmount entry) voidsetExternalPayeeIdentifier(String externalPayeeIdentifier) voidsetFees(List<PayoutFeeAgent> fees) voidsetLedgerIdentifier(UUID ledgerIdentifier) voidsetPayoutId(String payoutId) voidsetQuote(QuoteAgent quote) voidsetReferenceCode(String referenceCode) voidsetReferenceCodeDate(LocalDateTime referenceCodeDate) voidsetStatus(PayoutAgent.StatusEnum status) voidsetType(PayoutAgent.TypeEnum type) voidsetVendor(PayoutAgent.VendorEnum vendor) voidsetVendorIdentifier(String vendorIdentifier) voidsetVendorName(String vendorName) status(PayoutAgent.StatusEnum status) toString()type(PayoutAgent.TypeEnum type) vendor(PayoutAgent.VendorEnum vendor) vendorIdentifier(String vendorIdentifier) vendorName(String vendorName)
-
Field Details
-
JSON_PROPERTY_VENDOR
- See Also:
-
JSON_PROPERTY_VENDOR_IDENTIFIER
- See Also:
-
JSON_PROPERTY_VENDOR_NAME
- See Also:
-
JSON_PROPERTY_LEDGER_IDENTIFIER
- See Also:
-
JSON_PROPERTY_BENEFICIARY_IDENTIFIER
- See Also:
-
JSON_PROPERTY_EXTERNAL_PAYEE_IDENTIFIER
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_ENTRY
- See Also:
-
JSON_PROPERTY_FEES
- See Also:
-
JSON_PROPERTY_QUOTE
- See Also:
-
JSON_PROPERTY_CREATED
- See Also:
-
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_PAYOUT_ID
- See Also:
-
JSON_PROPERTY_REFERENCE_CODE
- See Also:
-
JSON_PROPERTY_REFERENCE_CODE_DATE
- See Also:
-
JSON_PROPERTY_STATUS
- See Also:
-
-
Constructor Details
-
PayoutAgent
public PayoutAgent()
-
-
Method Details
-
vendor
-
getVendor
Name of integration vendor- Returns:
- vendor
-
setVendor
-
vendorIdentifier
-
getVendorIdentifier
Which acquirer account we return fund from.- Returns:
- vendorIdentifier
-
setVendorIdentifier
-
vendorName
-
getVendorName
Name of regional acquirer account.- Returns:
- vendorName
-
setVendorName
-
ledgerIdentifier
-
getLedgerIdentifier
Unique system ID.- Returns:
- ledgerIdentifier
-
setLedgerIdentifier
-
beneficiaryIdentifier
-
getBeneficiaryIdentifier
Beneficiary ID.- Returns:
- beneficiaryIdentifier
-
setBeneficiaryIdentifier
-
externalPayeeIdentifier
-
getExternalPayeeIdentifier
This would be the Wise recipient ID.- Returns:
- externalPayeeIdentifier
-
setExternalPayeeIdentifier
-
type
-
getType
-
setType
-
entry
-
getEntry
Get entry- Returns:
- entry
-
setEntry
-
fees
-
addFeesItem
-
getFees
Fees incurred when making the withdrawal.- Returns:
- fees
-
setFees
-
quote
-
getQuote
-
setQuote
-
created
-
getCreated
When the payout record was created.- Returns:
- created
-
setCreated
-
description
-
getDescription
-
setDescription
-
payoutId
-
getPayoutId
The ledgerIdentifier that was generated when scheduling the payout. This will come from the payout provider such as Stripe.- Returns:
- payoutId
-
setPayoutId
-
referenceCode
-
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
-
referenceCodeDate
-
getReferenceCodeDate
The time the funds were withdrawn- Returns:
- referenceCodeDate
-
setReferenceCodeDate
-
status
-
getStatus
Status of withdrawal.- Returns:
- status
-
setStatus
-
equals
-
hashCode
-
toString
-