Package io.trippay.sdk.payment.model
Class Payout
java.lang.Object
io.trippay.sdk.payment.model.Payout
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-06-04T22:21:19.072173344+07:00[Asia/Bangkok]")
public class Payout
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(PayoutFee feesItem) beneficiaryIdentifier(UUID beneficiaryIdentifier) created(LocalDateTime created) description(String description) entry(CustomMonetaryAmount entry) booleanexternalPayeeIdentifier(String externalPayeeIdentifier) @NotNull @Valid UUIDBeneficiary ID.When the payout record was created.Textual response from provider@NotNull @Valid CustomMonetaryAmountgetEntry()Get entry@NotNull StringThis would be the cardholder ID for VCCs.getFees()Fees incurred when making the withdrawal.@NotNull @Valid UUIDUnique system ID.The identifier that was generated when scheduling the payout.The transaction code that was generated when the funds move out of TripPay's account.The time the funds were withdrawn@NotNull Payout.StatusEnumStatus of withdrawal.@NotNull Payout.TypeEnumgetType()Type of withdrawal.@NotNull Payout.VendorEnumName of integration vendor@NotNull StringWhich acquirer account we return fund from.@NotNull StringName of regional acquirer account.@NotNull StringKey to help load Stripe for the correct region.inthashCode()identifier(UUID identifier) referenceCode(String referenceCode) referenceCodeDate(LocalDateTime referenceCodeDate) voidsetBeneficiaryIdentifier(UUID beneficiaryIdentifier) voidsetCreated(LocalDateTime created) voidsetDescription(String description) voidsetEntry(CustomMonetaryAmount entry) voidsetExternalPayeeIdentifier(String externalPayeeIdentifier) voidvoidsetIdentifier(UUID identifier) voidsetPayoutId(String payoutId) voidsetReferenceCode(String referenceCode) voidsetReferenceCodeDate(LocalDateTime referenceCodeDate) voidsetStatus(Payout.StatusEnum status) voidsetType(Payout.TypeEnum type) voidsetVendor(Payout.VendorEnum vendor) voidsetVendorIdentifier(String vendorIdentifier) voidsetVendorName(String vendorName) voidsetVendorTokenKey(String vendorTokenKey) status(Payout.StatusEnum status) toString()type(Payout.TypeEnum type) vendor(Payout.VendorEnum vendor) vendorIdentifier(String vendorIdentifier) vendorName(String vendorName) vendorTokenKey(String vendorTokenKey)
-
Field Details
-
JSON_PROPERTY_VENDOR
- See Also:
-
JSON_PROPERTY_VENDOR_IDENTIFIER
- See Also:
-
JSON_PROPERTY_VENDOR_NAME
- See Also:
-
JSON_PROPERTY_VENDOR_TOKEN_KEY
- See Also:
-
JSON_PROPERTY_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_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
-
Payout
public Payout()
-
-
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
-
vendorTokenKey
-
getVendorTokenKey
Key to help load Stripe for the correct region. Could be helpful for other vendors as well.- Returns:
- vendorTokenKey
-
setVendorTokenKey
-
identifier
-
getIdentifier
Unique system ID.- Returns:
- identifier
-
setIdentifier
-
beneficiaryIdentifier
-
getBeneficiaryIdentifier
Beneficiary ID.- Returns:
- beneficiaryIdentifier
-
setBeneficiaryIdentifier
-
externalPayeeIdentifier
-
getExternalPayeeIdentifier
This would be the cardholder ID for VCCs.- Returns:
- externalPayeeIdentifier
-
setExternalPayeeIdentifier
-
type
-
getType
-
setType
-
entry
-
getEntry
Get entry- Returns:
- entry
-
setEntry
-
fees
-
addFeesItem
-
getFees
-
setFees
-
created
-
getCreated
When the payout record was created.- Returns:
- created
-
setCreated
-
description
-
getDescription
-
setDescription
-
payoutId
-
getPayoutId
The identifier 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
-