All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.bookeo.api.model.PriceRate Maven / Gradle / Ivy

The newest version!
package com.bookeo.api.model;

import com.bookeo.api.request.StringUtil;
import com.bookeo.api.model.Money;



import io.swagger.annotations.*;
import com.fasterxml.jackson.annotation.JsonProperty;


@ApiModel(description = "")
@javax.annotation.Generated(value = "class io.swagger.codegen.languages.JavaClientCodegen", date = "2015-12-03T18:48:57.986-05:00")
public class PriceRate   {
  
  private String peopleCategoryId = null;
  private Money price = null;

  
  /**
   * If no categoryName is present, this means that the price is PER BOOKING, regardless of the number of participants.\n To obtain a list of people category names for an account, call /settings/peoplecategories [read-only]
   **/
  @ApiModelProperty(value = "If no categoryName is present, this means that the price is PER BOOKING, regardless of the number of participants.\n To obtain a list of people category names for an account, call /settings/peoplecategories [read-only]")
  @JsonProperty("peopleCategoryId")
  public String getPeopleCategoryId() {
    return peopleCategoryId;
  }
  public void setPeopleCategoryId(String peopleCategoryId) {
    this.peopleCategoryId = peopleCategoryId;
  }

  
  /**
   * [read-only]
   **/
  @ApiModelProperty(value = "[read-only]")
  @JsonProperty("price")
  public Money getPrice() {
    return price;
  }
  public void setPrice(Money price) {
    this.price = price;
  }

  

  @Override
  public String toString()  {
    StringBuilder sb = new StringBuilder();
    sb.append("class PriceRate {\n");
    
    sb.append("    peopleCategoryId: ").append(StringUtil.toIndentedString(peopleCategoryId)).append("\n");
    sb.append("    price: ").append(StringUtil.toIndentedString(price)).append("\n");
    sb.append("}");
    return sb.toString();
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy