Class OrderRequestService

java.lang.Object
com.duffel.sdk.model.OrderRequestService

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-01-16T15:26:22.356688490+07:00[Asia/Bangkok]") public class OrderRequestService extends Object
OrderRequestService
  • Field Details

  • Constructor Details

    • OrderRequestService

      public OrderRequestService()
  • Method Details

    • id

      public OrderRequestService id(String id)
    • getId

      @Nonnull @NotNull public @NotNull String getId()
      The `id` of the service from the offer's `available_services` that you want to book
      Returns:
      id
    • setId

      public void setId(String id)
    • quantity

      public OrderRequestService quantity(Integer quantity)
    • getQuantity

      @Nonnull @NotNull @Min(1L) public @NotNull @Min(1L) Integer getQuantity()
      The quantity of the service to book. This will always be `1` for seat services. minimum: 1
      Returns:
      quantity
    • setQuantity

      public void setQuantity(Integer quantity)
    • 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