Class Fee

java.lang.Object
io.trippay.sdk.payment.model.Fee

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-01-28T20:46:35.552782769+07:00[Asia/Bangkok]") public class Fee extends Object
Fees associated with this booking contract.
  • Field Details

  • Constructor Details

    • Fee

      public Fee()
  • Method Details

    • identifier

      public Fee identifier(UUID identifier)
    • getIdentifier

      @Nonnull @NotNull @Valid public @NotNull @Valid UUID getIdentifier()
      Unique system ID.
      Returns:
      identifier
    • setIdentifier

      public void setIdentifier(UUID identifier)
    • fee

      public Fee fee(CustomMonetaryAmount fee)
    • getFee

      @Nonnull @NotNull @Valid public @NotNull @Valid CustomMonetaryAmount getFee()
      Get fee
      Returns:
      fee
    • setFee

      public void setFee(CustomMonetaryAmount fee)
    • type

      public Fee type(Fee.TypeEnum type)
    • getType

      @Nonnull @NotNull public @NotNull Fee.TypeEnum getType()
      Type of fee
      Returns:
      type
    • setType

      public void setType(Fee.TypeEnum type)
    • description

      public Fee description(String description)
    • getDescription

      @Nonnull @NotNull public @NotNull String getDescription()
      Withdrawal fee description
      Returns:
      description
    • setDescription

      public void setDescription(String description)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object