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

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

public class UserSubscriptionDto {

  /* The subscription term name */
  private String termName = null;
  

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

  /* The term type */
  private String type = null;
    //public enum typeEnum {  payment,  adview,  registration,  newsletter,  external,  custom,  grant_access,  gift,  specific_email_addresses_contract,  email_domain_contract,  ip_range_contract,  dynamic,  linked,  };


  /* The billing plan for the term */
  private String paymentBillingPlan = null;
  

  /* The billing plan of the subscription */
  private String billingPlan = null;
  

  /* The URL of the resource image */
  private String imageUrl = null;
  

  /* The subscription resource name */
  private String resourceName = null;
  

  /* The resource ID */
  private String rid = null;
  

  /* The next bill date of the subscription */
  private String nextBillDate = null;
  

  /* The date of the last payment for the subscription */
  private String subscriptionLastPayment = null;
  

  /* The subscription status */
  private String status = null;
    //public enum statusEnum {  A,  C,  FAR,  EWE,  E,  END,  D,  WC,  UPGRD,  P,  NS,  };


  /* The label of the subscription status */
  private String statusLabel = null;
    //public enum statusLabelEnum {  Na,  Active,  Cancelled,  Payment Failure,  Expired,  Won't Renew,  Deleted,  Wait Confirmed,  Upgraded,  Pending,  Not Started,  Expired,  };


  /* When the credit card expires */
  private String creaditCardExpire = null;
  

  /* Whether the credit card expires soon */
  private Boolean creaditCardExpireSoon = null;
  

  /* The user subscription ID */
  private String subscriptionId = null;
  

  /* The payment method of the subscription */
  private String paymentMethod = null;
  

  /* The access item expired */
  private Boolean accessExpired = null;
  

  /* Whether an in-app payment method is used */
  private Boolean inAppPayment = null;
  

  /* The PSC subscriber number */
  private String pscSubscriberNumber = null;
  

  /* The conversion result */
  private String conversionResult = null;
    //public enum conversionResultEnum {  NOT_CHECKED,  ACCEPTED,  REJECTED,  CANCELLED,  EXPIRED,  FAILED,  };


  /* The name of the external API configuration */
  private String externalApiName = null;
    //public enum externalApiNameEnum {  CDS,  VESTDB,  APPLE_ITUNES,  PSC_PROVIDER,  GOOGLE_PLAY,  ABRIL,  ABRIL_ADDRESS,  SWG,  NEWSCYCLE,  PAYPAL_SUBSCRIPTION,  };


  /* The user subscription charge count */
  private Integer chargeCount = null;
  

  /* The displayed text of the subscription status */
  private String statusDisplay = null;
  

  /* Subscription auto renew */
  private Boolean autoRenew = null;
  

  /* The user payment info ID */
  private String userPaymentInfoId = null;
  

  /* The access ID */
  private String accessId = null;
  


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


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


  public String getType() {
    return type;
  }
  public void setType(String type) {
    this.type = type;
  }


  public String getPaymentBillingPlan() {
    return paymentBillingPlan;
  }
  public void setPaymentBillingPlan(String paymentBillingPlan) {
    this.paymentBillingPlan = paymentBillingPlan;
  }


  public String getBillingPlan() {
    return billingPlan;
  }
  public void setBillingPlan(String billingPlan) {
    this.billingPlan = billingPlan;
  }


  public String getImageUrl() {
    return imageUrl;
  }
  public void setImageUrl(String imageUrl) {
    this.imageUrl = imageUrl;
  }


  public String getResourceName() {
    return resourceName;
  }
  public void setResourceName(String resourceName) {
    this.resourceName = resourceName;
  }


  public String getRid() {
    return rid;
  }
  public void setRid(String rid) {
    this.rid = rid;
  }


  public String getNextBillDate() {
    return nextBillDate;
  }
  public void setNextBillDate(String nextBillDate) {
    this.nextBillDate = nextBillDate;
  }


  public String getSubscriptionLastPayment() {
    return subscriptionLastPayment;
  }
  public void setSubscriptionLastPayment(String subscriptionLastPayment) {
    this.subscriptionLastPayment = subscriptionLastPayment;
  }


  public String getStatus() {
    return status;
  }
  public void setStatus(String status) {
    this.status = status;
  }


  public String getStatusLabel() {
    return statusLabel;
  }
  public void setStatusLabel(String statusLabel) {
    this.statusLabel = statusLabel;
  }


  public String getCreaditCardExpire() {
    return creaditCardExpire;
  }
  public void setCreaditCardExpire(String creaditCardExpire) {
    this.creaditCardExpire = creaditCardExpire;
  }


  public Boolean getCreaditCardExpireSoon() {
    return creaditCardExpireSoon;
  }
  public void setCreaditCardExpireSoon(Boolean creaditCardExpireSoon) {
    this.creaditCardExpireSoon = creaditCardExpireSoon;
  }


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


  public String getPaymentMethod() {
    return paymentMethod;
  }
  public void setPaymentMethod(String paymentMethod) {
    this.paymentMethod = paymentMethod;
  }


  public Boolean getAccessExpired() {
    return accessExpired;
  }
  public void setAccessExpired(Boolean accessExpired) {
    this.accessExpired = accessExpired;
  }


  public Boolean getInAppPayment() {
    return inAppPayment;
  }
  public void setInAppPayment(Boolean inAppPayment) {
    this.inAppPayment = inAppPayment;
  }


  public String getPscSubscriberNumber() {
    return pscSubscriberNumber;
  }
  public void setPscSubscriberNumber(String pscSubscriberNumber) {
    this.pscSubscriberNumber = pscSubscriberNumber;
  }


  public String getConversionResult() {
    return conversionResult;
  }
  public void setConversionResult(String conversionResult) {
    this.conversionResult = conversionResult;
  }


  public String getExternalApiName() {
    return externalApiName;
  }
  public void setExternalApiName(String externalApiName) {
    this.externalApiName = externalApiName;
  }


  public Integer getChargeCount() {
    return chargeCount;
  }
  public void setChargeCount(Integer chargeCount) {
    this.chargeCount = chargeCount;
  }


  public String getStatusDisplay() {
    return statusDisplay;
  }
  public void setStatusDisplay(String statusDisplay) {
    this.statusDisplay = statusDisplay;
  }


  public Boolean getAutoRenew() {
    return autoRenew;
  }
  public void setAutoRenew(Boolean autoRenew) {
    this.autoRenew = autoRenew;
  }


  public String getUserPaymentInfoId() {
    return userPaymentInfoId;
  }
  public void setUserPaymentInfoId(String userPaymentInfoId) {
    this.userPaymentInfoId = userPaymentInfoId;
  }


  public String getAccessId() {
    return accessId;
  }
  public void setAccessId(String accessId) {
    this.accessId = accessId;
  }


  @Override
  public String toString()  {
    StringBuilder sb = new StringBuilder();
    sb.append("class UserSubscriptionDto {\n");
    sb.append("  termName: ").append(termName).append("\n");
    sb.append("  termId: ").append(termId).append("\n");
    sb.append("  type: ").append(type).append("\n");
    sb.append("  paymentBillingPlan: ").append(paymentBillingPlan).append("\n");
    sb.append("  billingPlan: ").append(billingPlan).append("\n");
    sb.append("  imageUrl: ").append(imageUrl).append("\n");
    sb.append("  resourceName: ").append(resourceName).append("\n");
    sb.append("  rid: ").append(rid).append("\n");
    sb.append("  nextBillDate: ").append(nextBillDate).append("\n");
    sb.append("  subscriptionLastPayment: ").append(subscriptionLastPayment).append("\n");
    sb.append("  status: ").append(status).append("\n");
    sb.append("  statusLabel: ").append(statusLabel).append("\n");
    sb.append("  creaditCardExpire: ").append(creaditCardExpire).append("\n");
    sb.append("  creaditCardExpireSoon: ").append(creaditCardExpireSoon).append("\n");
    sb.append("  subscriptionId: ").append(subscriptionId).append("\n");
    sb.append("  paymentMethod: ").append(paymentMethod).append("\n");
    sb.append("  accessExpired: ").append(accessExpired).append("\n");
    sb.append("  inAppPayment: ").append(inAppPayment).append("\n");
    sb.append("  pscSubscriberNumber: ").append(pscSubscriberNumber).append("\n");
    sb.append("  conversionResult: ").append(conversionResult).append("\n");
    sb.append("  externalApiName: ").append(externalApiName).append("\n");
    sb.append("  chargeCount: ").append(chargeCount).append("\n");
    sb.append("  statusDisplay: ").append(statusDisplay).append("\n");
    sb.append("  autoRenew: ").append(autoRenew).append("\n");
    sb.append("  userPaymentInfoId: ").append(userPaymentInfoId).append("\n");
    sb.append("  accessId: ").append(accessId).append("\n");
    sb.append("}\n");
    return sb.toString();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy