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

com.tinypass.client.publisher.model.UpgradeOption Maven / Gradle / Ivy

There is a newer version: 16.331.0
Show newest version
package com.tinypass.client.publisher.model;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import com.tinypass.client.publisher.model.TermInfo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.ArrayList;
import java.util.List;

public class UpgradeOption {

  /* Upgrade option id */
  private String id = null;
  

    private TermInfo termFrom = null;
  

    private TermInfo termTo = null;
  

  /* The localized billing timing name */
  private String billTiming = null;
  

  /* Whether the Prorate billing amount function is enabled */
  private Boolean prorateAccess = null;
  

  /* Whether the access begins immediately */
  private Boolean immediateAccess = null;
  

    private List showOptionInChannels = new ArrayList();
  


  public String getId() {
    return id;
  }
  public void setId(String id) {
    this.id = id;
  }


  public TermInfo getTermFrom() {
    return termFrom;
  }
  public void setTermFrom(TermInfo termFrom) {
    this.termFrom = termFrom;
  }


  public TermInfo getTermTo() {
    return termTo;
  }
  public void setTermTo(TermInfo termTo) {
    this.termTo = termTo;
  }


  public String getBillTiming() {
    return billTiming;
  }
  public void setBillTiming(String billTiming) {
    this.billTiming = billTiming;
  }


  public Boolean getProrateAccess() {
    return prorateAccess;
  }
  public void setProrateAccess(Boolean prorateAccess) {
    this.prorateAccess = prorateAccess;
  }


  public Boolean getImmediateAccess() {
    return immediateAccess;
  }
  public void setImmediateAccess(Boolean immediateAccess) {
    this.immediateAccess = immediateAccess;
  }


  public List getShowOptionInChannels() {
    return showOptionInChannels;
  }
  public void setShowOptionInChannels(List showOptionInChannels) {
    this.showOptionInChannels = showOptionInChannels;
  }


  @Override
  public String toString()  {
    StringBuilder sb = new StringBuilder();
    sb.append("class UpgradeOption {\n");
    sb.append("  id: ").append(id).append("\n");
    sb.append("  termFrom: ").append(termFrom).append("\n");
    sb.append("  termTo: ").append(termTo).append("\n");
    sb.append("  billTiming: ").append(billTiming).append("\n");
    sb.append("  prorateAccess: ").append(prorateAccess).append("\n");
    sb.append("  immediateAccess: ").append(immediateAccess).append("\n");
    sb.append("  showOptionInChannels: ").append(showOptionInChannels).append("\n");
    sb.append("}\n");
    return sb.toString();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy