Package io.trippay.sdk.payment.model
Class RawBeneficiary
java.lang.Object
io.trippay.sdk.payment.model.RawBeneficiary
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-06-08T09:18:59.196133021+07:00[Asia/Bangkok]")
public class RawBeneficiary
extends Object
RawBeneficiary is a registered account with rights to compensation within a booking.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe identifierType tells us what type of identifier this isstatic enumThe type of beneficiary payment. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionamountDue(BeneficiaryCharge amountDue) boolean@NotNull @Valid BeneficiaryChargeGet amountDue@NotNull Stringidentifier of beneficiary that can map to an account with us@NotNull RawBeneficiary.IdentifierTypeEnumThe identifierType tells us what type of identifier this isPlace to add more data related to the booking contract.@NotNull RawBeneficiary.TypeEnumgetType()The type of beneficiary payment.inthashCode()identifier(String identifier) identifierType(RawBeneficiary.IdentifierTypeEnum identifierType) putMetadataItem(String key, String metadataItem) voidsetAmountDue(BeneficiaryCharge amountDue) voidsetIdentifier(String identifier) voidsetIdentifierType(RawBeneficiary.IdentifierTypeEnum identifierType) voidsetMetadata(Map<String, String> metadata) voidtoString()type(RawBeneficiary.TypeEnum type)
-
Field Details
-
JSON_PROPERTY_IDENTIFIER
- See Also:
-
JSON_PROPERTY_IDENTIFIER_TYPE
- See Also:
-
JSON_PROPERTY_AMOUNT_DUE
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_METADATA
- See Also:
-
-
Constructor Details
-
RawBeneficiary
public RawBeneficiary()
-
-
Method Details
-
identifier
-
getIdentifier
identifier of beneficiary that can map to an account with us- Returns:
- identifier
-
setIdentifier
-
identifierType
-
getIdentifierType
The identifierType tells us what type of identifier this is- Returns:
- identifierType
-
setIdentifierType
-
amountDue
-
getAmountDue
Get amountDue- Returns:
- amountDue
-
setAmountDue
-
type
-
getType
The type of beneficiary payment.- Returns:
- type
-
setType
-
metadata
-
putMetadataItem
-
getMetadata
-
setMetadata
-
equals
-
hashCode
-
toString
-