Package io.trippay.sdk.payment.model
Class PayoutFee
java.lang.Object
io.trippay.sdk.payment.model.PayoutFee
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-06-23T16:25:07.961871385+07:00[Asia/Bangkok]")
public class PayoutFee
extends Object
Fees incurred when making the withdrawal.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumWho pays for this feestatic enumType of fee -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncandidate(PayoutFee.CandidateEnum candidate) description(String description) booleanfee(CustomMonetaryAmount fee) @NotNull PayoutFee.CandidateEnumWho pays for this fee@NotNull StringWithdrawal fee description@NotNull @Valid CustomMonetaryAmountgetFee()Get fee@NotNull @Valid UUIDUnique system ID.@NotNull PayoutFee.TypeEnumgetType()Type of feeinthashCode()identifier(UUID identifier) voidsetCandidate(PayoutFee.CandidateEnum candidate) voidsetDescription(String description) voidvoidsetIdentifier(UUID identifier) voidsetType(PayoutFee.TypeEnum type) toString()type(PayoutFee.TypeEnum type)
-
Field Details
-
JSON_PROPERTY_IDENTIFIER
- See Also:
-
JSON_PROPERTY_FEE
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_CANDIDATE
- See Also:
-
JSON_PROPERTY_DESCRIPTION
- See Also:
-
-
Constructor Details
-
PayoutFee
public PayoutFee()
-
-
Method Details
-
identifier
-
getIdentifier
Unique system ID.- Returns:
- identifier
-
setIdentifier
-
fee
-
getFee
-
setFee
-
type
-
getType
-
setType
-
candidate
-
getCandidate
Who pays for this fee- Returns:
- candidate
-
setCandidate
-
description
-
getDescription
Withdrawal fee description- Returns:
- description
-
setDescription
-
equals
-
hashCode
-
toString
-