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

com.tinypass.client.publisher.model.LinkedTermConfigurationRequest 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.LinkedTermCustomData;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

public class LinkedTermConfigurationRequest {

  /* The ID you use to address the Linked term in the external system (used to map the Linked term with a term analog in the external system). */
  private String externalTermId = null;
  

  /* The name of your Linked term. */
  private String termName = null;
  

  /* An optional description of your Linked term. */
  private String description = null;
  

  /* “External products\" are entities of the external system accessed by users. If you enter multiple values (separated by a comma), Piano will create a standard resource for each product and also a bundled resource that will group them. Example: \"digital_prod,print_sub_access,main_articles\". */
  private String externalProductIds = null;
  

  /* A link to the external system where users can manage their subscriptions (similar to Piano’s MyAccount). */
  private String subscriptionManagementUrl = null;
  

  /* The custom fields similar to those filled in PD on Linked term creation. */
  private LinkedTermCustomData customData = null;
  


  public String getExternalTermId() {
    return externalTermId;
  }
  public void setExternalTermId(String externalTermId) {
    this.externalTermId = externalTermId;
  }


  public String getTermName() {
    return termName;
  }
  public void setTermName(String termName) {
    this.termName = termName;
  }


  public String getDescription() {
    return description;
  }
  public void setDescription(String description) {
    this.description = description;
  }


  public String getExternalProductIds() {
    return externalProductIds;
  }
  public void setExternalProductIds(String externalProductIds) {
    this.externalProductIds = externalProductIds;
  }


  public String getSubscriptionManagementUrl() {
    return subscriptionManagementUrl;
  }
  public void setSubscriptionManagementUrl(String subscriptionManagementUrl) {
    this.subscriptionManagementUrl = subscriptionManagementUrl;
  }


  public LinkedTermCustomData getCustomData() {
    return customData;
  }
  public void setCustomData(LinkedTermCustomData customData) {
    this.customData = customData;
  }


  @Override
  public String toString()  {
    StringBuilder sb = new StringBuilder();
    sb.append("class LinkedTermConfigurationRequest {\n");
    sb.append("  externalTermId: ").append(externalTermId).append("\n");
    sb.append("  termName: ").append(termName).append("\n");
    sb.append("  description: ").append(description).append("\n");
    sb.append("  externalProductIds: ").append(externalProductIds).append("\n");
    sb.append("  subscriptionManagementUrl: ").append(subscriptionManagementUrl).append("\n");
    sb.append("  customData: ").append(customData).append("\n");
    sb.append("}\n");
    return sb.toString();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy