Package io.trippay.sdk.payment.model
Class BeneficiaryCharge
java.lang.Object
io.trippay.sdk.payment.model.BeneficiaryCharge
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-07-13T14:29:35.079434733+07:00[Asia/Bangkok]")
public class BeneficiaryCharge
extends Object
A variable charge can be a fixed amount or a percentage.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean@Valid BigDecimalA percentage of the total stay amount for an early checkin or late checkout@NotNull BeneficiaryCharge.TypeEnumgetType()The type of chargeinthashCode()percent(BigDecimal percent) voidsetPercent(BigDecimal percent) voidtoString()
-
Field Details
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_PERCENT
- See Also:
-
-
Constructor Details
-
BeneficiaryCharge
public BeneficiaryCharge()
-
-
Method Details
-
type
-
getType
The type of charge- Returns:
- type
-
setType
-
percent
-
getPercent
A percentage of the total stay amount for an early checkin or late checkout- Returns:
- percent
-
setPercent
-
equals
-
hashCode
-
toString
-