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

com.tinypass.client.publisher.model.SharedSubscription 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.UserSubscriptionAccount;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.ArrayList;
import java.util.List;

public class SharedSubscription {

  /* Subscription id */
  private String subscriptionId = null;
  

  /* The term ID */
  private String termId = null;
  

  /* The user's ID */
  private String uid = null;
  

  /* total tokens */
  private Integer totalTokens = null;
  

  /* The number of unused tokens */
  private Integer unusedTokens = null;
  

  /* The number of redeemed tokens */
  private Integer redeemedTokens = null;
  

    private List sharedAccounts = new ArrayList();
  


  public String getSubscriptionId() {
    return subscriptionId;
  }
  public void setSubscriptionId(String subscriptionId) {
    this.subscriptionId = subscriptionId;
  }


  public String getTermId() {
    return termId;
  }
  public void setTermId(String termId) {
    this.termId = termId;
  }


  public String getUid() {
    return uid;
  }
  public void setUid(String uid) {
    this.uid = uid;
  }


  public Integer getTotalTokens() {
    return totalTokens;
  }
  public void setTotalTokens(Integer totalTokens) {
    this.totalTokens = totalTokens;
  }


  public Integer getUnusedTokens() {
    return unusedTokens;
  }
  public void setUnusedTokens(Integer unusedTokens) {
    this.unusedTokens = unusedTokens;
  }


  public Integer getRedeemedTokens() {
    return redeemedTokens;
  }
  public void setRedeemedTokens(Integer redeemedTokens) {
    this.redeemedTokens = redeemedTokens;
  }


  public List getSharedAccounts() {
    return sharedAccounts;
  }
  public void setSharedAccounts(List sharedAccounts) {
    this.sharedAccounts = sharedAccounts;
  }


  @Override
  public String toString()  {
    StringBuilder sb = new StringBuilder();
    sb.append("class SharedSubscription {\n");
    sb.append("  subscriptionId: ").append(subscriptionId).append("\n");
    sb.append("  termId: ").append(termId).append("\n");
    sb.append("  uid: ").append(uid).append("\n");
    sb.append("  totalTokens: ").append(totalTokens).append("\n");
    sb.append("  unusedTokens: ").append(unusedTokens).append("\n");
    sb.append("  redeemedTokens: ").append(redeemedTokens).append("\n");
    sb.append("  sharedAccounts: ").append(sharedAccounts).append("\n");
    sb.append("}\n");
    return sb.toString();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy