Package io.trippay.sdk.payment.model
Class PayableContractSupplierItemBeneficiary
java.lang.Object
io.trippay.sdk.payment.model.PayableContractSupplierItemBeneficiary
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-09-28T10:57:49.471826100+07:00[Asia/Bangkok]")
public class PayableContractSupplierItemBeneficiary
extends Object
PayableContractSupplierItemBeneficiary 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 usThe identifierType tells us what type of identifier this isPlace to add more data related to the booking contract.getType()The type of beneficiary payment.inthashCode()identifier(String identifier) putMetadataItem(String key, String metadataItem) voidsetAmountDue(BeneficiaryCharge amountDue) voidsetIdentifier(String identifier) voidvoidsetMetadata(Map<String, String> metadata) voidtoString()
-
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
-
PayableContractSupplierItemBeneficiary
public PayableContractSupplierItemBeneficiary()
-
-
Method Details
-
identifier
-
getIdentifier
identifier of beneficiary that can map to an account with us- Returns:
- identifier
-
setIdentifier
-
identifierType
public PayableContractSupplierItemBeneficiary identifierType(PayableContractSupplierItemBeneficiary.IdentifierTypeEnum identifierType) -
getIdentifierType
@Nonnull @NotNull public @NotNull PayableContractSupplierItemBeneficiary.IdentifierTypeEnum getIdentifierType()The identifierType tells us what type of identifier this is- Returns:
- identifierType
-
setIdentifierType
public void setIdentifierType(PayableContractSupplierItemBeneficiary.IdentifierTypeEnum identifierType) -
amountDue
-
getAmountDue
Get amountDue- Returns:
- amountDue
-
setAmountDue
-
type
-
getType
The type of beneficiary payment.- Returns:
- type
-
setType
-
metadata
-
putMetadataItem
-
getMetadata
-
setMetadata
-
equals
-
hashCode
-
toString
-