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

io.logicdrop.openapi.models.SubscriberDetails Maven / Gradle / Ivy

There is a newer version: 4.10.0
Show newest version
/*
 * Sparks OpenAPI
 * Generated documentation for the Logicdrop Sparks API and OpenAPI clients.  Logicdrop Sparks lets users build rules, analyze data, and automate documents.  Use it to make decisions faster, generate documents better, and learn from your data.  ### Documentation - [User Documentation](https://docs.logicdrop.com)  ### Modules - [Sparks Compute](https://docs.logicdrop.com/rules/introduction) - [Sparks Decision Tables](https://docs.logicdrop.com/rules/authoring-decision-tables) - [Sparks Documents](https://docs.logicdrop.com/documents/introduction)  ### Clients - [OpenAPI Clients](https://docs.logicdrop.com/development/sample-clients)  ### Security - [Authorizing API Requests](https://docs.logicdrop.com/development/authorization) 
 *
 * The version of the OpenAPI document: v_VERSION_, build# _BUILD_
 * Contact: [email protected]
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */


package io.logicdrop.openapi.models;

import java.util.Objects;
import java.util.Arrays;
import com.fasterxml.jackson.annotation.JsonInclude;
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;
import java.time.OffsetDateTime;
import java.util.ArrayList;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;

/**
 * SubscriberDetails
 */
@JsonPropertyOrder({
  SubscriberDetails.JSON_PROPERTY_SUBSCRIPTION_ID,
  SubscriberDetails.JSON_PROPERTY_CUSTOMER_ID,
  SubscriberDetails.JSON_PROPERTY_CLIENT,
  SubscriberDetails.JSON_PROPERTY_EMAIL,
  SubscriberDetails.JSON_PROPERTY_PHONE,
  SubscriberDetails.JSON_PROPERTY_NAME,
  SubscriberDetails.JSON_PROPERTY_LOCALE,
  SubscriberDetails.JSON_PROPERTY_PAYMENT_METHOD,
  SubscriberDetails.JSON_PROPERTY_COUPON_CODE,
  SubscriberDetails.JSON_PROPERTY_STATUS,
  SubscriberDetails.JSON_PROPERTY_ERROR,
  SubscriberDetails.JSON_PROPERTY_SUCCESS,
  SubscriberDetails.JSON_PROPERTY_REQUIRES_ACTION,
  SubscriberDetails.JSON_PROPERTY_DELINQUENT,
  SubscriberDetails.JSON_PROPERTY_INVOICE_ID,
  SubscriberDetails.JSON_PROPERTY_INVOICE_URL,
  SubscriberDetails.JSON_PROPERTY_BALANCE,
  SubscriberDetails.JSON_PROPERTY_ACCOUNT_BALANCE,
  SubscriberDetails.JSON_PROPERTY_PLAN,
  SubscriberDetails.JSON_PROPERTY_PLAN_QUANTITY,
  SubscriberDetails.JSON_PROPERTY_SUPPORT_PLAN,
  SubscriberDetails.JSON_PROPERTY_BILLING_INTERVAL,
  SubscriberDetails.JSON_PROPERTY_RENEWAL_DATE,
  SubscriberDetails.JSON_PROPERTY_ITEMS,
  SubscriberDetails.JSON_PROPERTY_PAYMENT_METHODS,
  SubscriberDetails.JSON_PROPERTY_PAYMENT_INTENT,
  SubscriberDetails.JSON_PROPERTY_ADDRESS,
  SubscriberDetails.JSON_PROPERTY_DISCOUNT
})

public class SubscriberDetails {
  public static final String JSON_PROPERTY_SUBSCRIPTION_ID = "subscriptionId";
  private String subscriptionId;

  public static final String JSON_PROPERTY_CUSTOMER_ID = "customerId";
  private String customerId;

  public static final String JSON_PROPERTY_CLIENT = "client";
  private String client;

  public static final String JSON_PROPERTY_EMAIL = "email";
  private String email;

  public static final String JSON_PROPERTY_PHONE = "phone";
  private String phone;

  public static final String JSON_PROPERTY_NAME = "name";
  private String name;

  public static final String JSON_PROPERTY_LOCALE = "locale";
  private String locale;

  public static final String JSON_PROPERTY_PAYMENT_METHOD = "paymentMethod";
  private String paymentMethod;

  public static final String JSON_PROPERTY_COUPON_CODE = "couponCode";
  private String couponCode;

  public static final String JSON_PROPERTY_STATUS = "status";
  private String status;

  public static final String JSON_PROPERTY_ERROR = "error";
  private String error;

  public static final String JSON_PROPERTY_SUCCESS = "success";
  private Boolean success;

  public static final String JSON_PROPERTY_REQUIRES_ACTION = "requiresAction";
  private Boolean requiresAction;

  public static final String JSON_PROPERTY_DELINQUENT = "delinquent";
  private Boolean delinquent;

  public static final String JSON_PROPERTY_INVOICE_ID = "invoiceId";
  private String invoiceId;

  public static final String JSON_PROPERTY_INVOICE_URL = "invoiceUrl";
  private String invoiceUrl;

  public static final String JSON_PROPERTY_BALANCE = "balance";
  private Long balance;

  public static final String JSON_PROPERTY_ACCOUNT_BALANCE = "accountBalance";
  private Long accountBalance;

  public static final String JSON_PROPERTY_PLAN = "plan";
  private String plan;

  public static final String JSON_PROPERTY_PLAN_QUANTITY = "planQuantity";
  private Long planQuantity;

  public static final String JSON_PROPERTY_SUPPORT_PLAN = "supportPlan";
  private String supportPlan;

  public static final String JSON_PROPERTY_BILLING_INTERVAL = "billingInterval";
  private String billingInterval;

  public static final String JSON_PROPERTY_RENEWAL_DATE = "renewalDate";
  private OffsetDateTime renewalDate;

  public static final String JSON_PROPERTY_ITEMS = "items";
  private List items = null;

  public static final String JSON_PROPERTY_PAYMENT_METHODS = "paymentMethods";
  private List paymentMethods = null;

  public static final String JSON_PROPERTY_PAYMENT_INTENT = "paymentIntent";
  private Object paymentIntent;

  public static final String JSON_PROPERTY_ADDRESS = "address";
  private Object address;

  public static final String JSON_PROPERTY_DISCOUNT = "discount";
  private Object discount;


  public SubscriberDetails subscriptionId(String subscriptionId) {
    
    this.subscriptionId = subscriptionId;
    return this;
  }

   /**
   * Get subscriptionId
   * @return subscriptionId
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")
  @JsonProperty(JSON_PROPERTY_SUBSCRIPTION_ID)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public String getSubscriptionId() {
    return subscriptionId;
  }


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


  public SubscriberDetails customerId(String customerId) {
    
    this.customerId = customerId;
    return this;
  }

   /**
   * Get customerId
   * @return customerId
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")
  @JsonProperty(JSON_PROPERTY_CUSTOMER_ID)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public String getCustomerId() {
    return customerId;
  }


  public void setCustomerId(String customerId) {
    this.customerId = customerId;
  }


  public SubscriberDetails client(String client) {
    
    this.client = client;
    return this;
  }

   /**
   * Get client
   * @return client
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")
  @JsonProperty(JSON_PROPERTY_CLIENT)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public String getClient() {
    return client;
  }


  public void setClient(String client) {
    this.client = client;
  }


  public SubscriberDetails email(String email) {
    
    this.email = email;
    return this;
  }

   /**
   * Get email
   * @return email
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")
  @JsonProperty(JSON_PROPERTY_EMAIL)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public String getEmail() {
    return email;
  }


  public void setEmail(String email) {
    this.email = email;
  }


  public SubscriberDetails phone(String phone) {
    
    this.phone = phone;
    return this;
  }

   /**
   * Get phone
   * @return phone
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")
  @JsonProperty(JSON_PROPERTY_PHONE)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public String getPhone() {
    return phone;
  }


  public void setPhone(String phone) {
    this.phone = phone;
  }


  public SubscriberDetails name(String name) {
    
    this.name = name;
    return this;
  }

   /**
   * Get name
   * @return name
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")
  @JsonProperty(JSON_PROPERTY_NAME)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public String getName() {
    return name;
  }


  public void setName(String name) {
    this.name = name;
  }


  public SubscriberDetails locale(String locale) {
    
    this.locale = locale;
    return this;
  }

   /**
   * Get locale
   * @return locale
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")
  @JsonProperty(JSON_PROPERTY_LOCALE)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public String getLocale() {
    return locale;
  }


  public void setLocale(String locale) {
    this.locale = locale;
  }


  public SubscriberDetails paymentMethod(String paymentMethod) {
    
    this.paymentMethod = paymentMethod;
    return this;
  }

   /**
   * Get paymentMethod
   * @return paymentMethod
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")
  @JsonProperty(JSON_PROPERTY_PAYMENT_METHOD)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public String getPaymentMethod() {
    return paymentMethod;
  }


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


  public SubscriberDetails couponCode(String couponCode) {
    
    this.couponCode = couponCode;
    return this;
  }

   /**
   * Get couponCode
   * @return couponCode
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")
  @JsonProperty(JSON_PROPERTY_COUPON_CODE)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public String getCouponCode() {
    return couponCode;
  }


  public void setCouponCode(String couponCode) {
    this.couponCode = couponCode;
  }


  public SubscriberDetails status(String status) {
    
    this.status = status;
    return this;
  }

   /**
   * Get status
   * @return status
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")
  @JsonProperty(JSON_PROPERTY_STATUS)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public String getStatus() {
    return status;
  }


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


  public SubscriberDetails error(String error) {
    
    this.error = error;
    return this;
  }

   /**
   * Get error
   * @return error
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")
  @JsonProperty(JSON_PROPERTY_ERROR)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public String getError() {
    return error;
  }


  public void setError(String error) {
    this.error = error;
  }


  public SubscriberDetails success(Boolean success) {
    
    this.success = success;
    return this;
  }

   /**
   * Get success
   * @return success
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")
  @JsonProperty(JSON_PROPERTY_SUCCESS)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public Boolean getSuccess() {
    return success;
  }


  public void setSuccess(Boolean success) {
    this.success = success;
  }


  public SubscriberDetails requiresAction(Boolean requiresAction) {
    
    this.requiresAction = requiresAction;
    return this;
  }

   /**
   * Get requiresAction
   * @return requiresAction
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")
  @JsonProperty(JSON_PROPERTY_REQUIRES_ACTION)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public Boolean getRequiresAction() {
    return requiresAction;
  }


  public void setRequiresAction(Boolean requiresAction) {
    this.requiresAction = requiresAction;
  }


  public SubscriberDetails delinquent(Boolean delinquent) {
    
    this.delinquent = delinquent;
    return this;
  }

   /**
   * Get delinquent
   * @return delinquent
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")
  @JsonProperty(JSON_PROPERTY_DELINQUENT)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public Boolean getDelinquent() {
    return delinquent;
  }


  public void setDelinquent(Boolean delinquent) {
    this.delinquent = delinquent;
  }


  public SubscriberDetails invoiceId(String invoiceId) {
    
    this.invoiceId = invoiceId;
    return this;
  }

   /**
   * Get invoiceId
   * @return invoiceId
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")
  @JsonProperty(JSON_PROPERTY_INVOICE_ID)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public String getInvoiceId() {
    return invoiceId;
  }


  public void setInvoiceId(String invoiceId) {
    this.invoiceId = invoiceId;
  }


  public SubscriberDetails invoiceUrl(String invoiceUrl) {
    
    this.invoiceUrl = invoiceUrl;
    return this;
  }

   /**
   * Get invoiceUrl
   * @return invoiceUrl
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")
  @JsonProperty(JSON_PROPERTY_INVOICE_URL)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public String getInvoiceUrl() {
    return invoiceUrl;
  }


  public void setInvoiceUrl(String invoiceUrl) {
    this.invoiceUrl = invoiceUrl;
  }


  public SubscriberDetails balance(Long balance) {
    
    this.balance = balance;
    return this;
  }

   /**
   * Get balance
   * @return balance
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")
  @JsonProperty(JSON_PROPERTY_BALANCE)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public Long getBalance() {
    return balance;
  }


  public void setBalance(Long balance) {
    this.balance = balance;
  }


  public SubscriberDetails accountBalance(Long accountBalance) {
    
    this.accountBalance = accountBalance;
    return this;
  }

   /**
   * Get accountBalance
   * @return accountBalance
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")
  @JsonProperty(JSON_PROPERTY_ACCOUNT_BALANCE)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public Long getAccountBalance() {
    return accountBalance;
  }


  public void setAccountBalance(Long accountBalance) {
    this.accountBalance = accountBalance;
  }


  public SubscriberDetails plan(String plan) {
    
    this.plan = plan;
    return this;
  }

   /**
   * Get plan
   * @return plan
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")
  @JsonProperty(JSON_PROPERTY_PLAN)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public String getPlan() {
    return plan;
  }


  public void setPlan(String plan) {
    this.plan = plan;
  }


  public SubscriberDetails planQuantity(Long planQuantity) {
    
    this.planQuantity = planQuantity;
    return this;
  }

   /**
   * Get planQuantity
   * @return planQuantity
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")
  @JsonProperty(JSON_PROPERTY_PLAN_QUANTITY)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public Long getPlanQuantity() {
    return planQuantity;
  }


  public void setPlanQuantity(Long planQuantity) {
    this.planQuantity = planQuantity;
  }


  public SubscriberDetails supportPlan(String supportPlan) {
    
    this.supportPlan = supportPlan;
    return this;
  }

   /**
   * Get supportPlan
   * @return supportPlan
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")
  @JsonProperty(JSON_PROPERTY_SUPPORT_PLAN)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public String getSupportPlan() {
    return supportPlan;
  }


  public void setSupportPlan(String supportPlan) {
    this.supportPlan = supportPlan;
  }


  public SubscriberDetails billingInterval(String billingInterval) {
    
    this.billingInterval = billingInterval;
    return this;
  }

   /**
   * Get billingInterval
   * @return billingInterval
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")
  @JsonProperty(JSON_PROPERTY_BILLING_INTERVAL)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public String getBillingInterval() {
    return billingInterval;
  }


  public void setBillingInterval(String billingInterval) {
    this.billingInterval = billingInterval;
  }


  public SubscriberDetails renewalDate(OffsetDateTime renewalDate) {
    
    this.renewalDate = renewalDate;
    return this;
  }

   /**
   * Get renewalDate
   * @return renewalDate
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")
  @JsonProperty(JSON_PROPERTY_RENEWAL_DATE)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public OffsetDateTime getRenewalDate() {
    return renewalDate;
  }


  public void setRenewalDate(OffsetDateTime renewalDate) {
    this.renewalDate = renewalDate;
  }


  public SubscriberDetails items(List items) {
    
    this.items = items;
    return this;
  }

  public SubscriberDetails addItemsItem(Object itemsItem) {
    if (this.items == null) {
      this.items = new ArrayList<>();
    }
    this.items.add(itemsItem);
    return this;
  }

   /**
   * Get items
   * @return items
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")
  @JsonProperty(JSON_PROPERTY_ITEMS)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public List getItems() {
    return items;
  }


  public void setItems(List items) {
    this.items = items;
  }


  public SubscriberDetails paymentMethods(List paymentMethods) {
    
    this.paymentMethods = paymentMethods;
    return this;
  }

  public SubscriberDetails addPaymentMethodsItem(Object paymentMethodsItem) {
    if (this.paymentMethods == null) {
      this.paymentMethods = new ArrayList<>();
    }
    this.paymentMethods.add(paymentMethodsItem);
    return this;
  }

   /**
   * Get paymentMethods
   * @return paymentMethods
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")
  @JsonProperty(JSON_PROPERTY_PAYMENT_METHODS)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public List getPaymentMethods() {
    return paymentMethods;
  }


  public void setPaymentMethods(List paymentMethods) {
    this.paymentMethods = paymentMethods;
  }


  public SubscriberDetails paymentIntent(Object paymentIntent) {
    
    this.paymentIntent = paymentIntent;
    return this;
  }

   /**
   * Get paymentIntent
   * @return paymentIntent
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")
  @JsonProperty(JSON_PROPERTY_PAYMENT_INTENT)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public Object getPaymentIntent() {
    return paymentIntent;
  }


  public void setPaymentIntent(Object paymentIntent) {
    this.paymentIntent = paymentIntent;
  }


  public SubscriberDetails address(Object address) {
    
    this.address = address;
    return this;
  }

   /**
   * Get address
   * @return address
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")
  @JsonProperty(JSON_PROPERTY_ADDRESS)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public Object getAddress() {
    return address;
  }


  public void setAddress(Object address) {
    this.address = address;
  }


  public SubscriberDetails discount(Object discount) {
    
    this.discount = discount;
    return this;
  }

   /**
   * Get discount
   * @return discount
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")
  @JsonProperty(JSON_PROPERTY_DISCOUNT)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public Object getDiscount() {
    return discount;
  }


  public void setDiscount(Object discount) {
    this.discount = discount;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    SubscriberDetails subscriberDetails = (SubscriberDetails) o;
    return Objects.equals(this.subscriptionId, subscriberDetails.subscriptionId) &&
        Objects.equals(this.customerId, subscriberDetails.customerId) &&
        Objects.equals(this.client, subscriberDetails.client) &&
        Objects.equals(this.email, subscriberDetails.email) &&
        Objects.equals(this.phone, subscriberDetails.phone) &&
        Objects.equals(this.name, subscriberDetails.name) &&
        Objects.equals(this.locale, subscriberDetails.locale) &&
        Objects.equals(this.paymentMethod, subscriberDetails.paymentMethod) &&
        Objects.equals(this.couponCode, subscriberDetails.couponCode) &&
        Objects.equals(this.status, subscriberDetails.status) &&
        Objects.equals(this.error, subscriberDetails.error) &&
        Objects.equals(this.success, subscriberDetails.success) &&
        Objects.equals(this.requiresAction, subscriberDetails.requiresAction) &&
        Objects.equals(this.delinquent, subscriberDetails.delinquent) &&
        Objects.equals(this.invoiceId, subscriberDetails.invoiceId) &&
        Objects.equals(this.invoiceUrl, subscriberDetails.invoiceUrl) &&
        Objects.equals(this.balance, subscriberDetails.balance) &&
        Objects.equals(this.accountBalance, subscriberDetails.accountBalance) &&
        Objects.equals(this.plan, subscriberDetails.plan) &&
        Objects.equals(this.planQuantity, subscriberDetails.planQuantity) &&
        Objects.equals(this.supportPlan, subscriberDetails.supportPlan) &&
        Objects.equals(this.billingInterval, subscriberDetails.billingInterval) &&
        Objects.equals(this.renewalDate, subscriberDetails.renewalDate) &&
        Objects.equals(this.items, subscriberDetails.items) &&
        Objects.equals(this.paymentMethods, subscriberDetails.paymentMethods) &&
        Objects.equals(this.paymentIntent, subscriberDetails.paymentIntent) &&
        Objects.equals(this.address, subscriberDetails.address) &&
        Objects.equals(this.discount, subscriberDetails.discount);
  }

  @Override
  public int hashCode() {
    return Objects.hash(subscriptionId, customerId, client, email, phone, name, locale, paymentMethod, couponCode, status, error, success, requiresAction, delinquent, invoiceId, invoiceUrl, balance, accountBalance, plan, planQuantity, supportPlan, billingInterval, renewalDate, items, paymentMethods, paymentIntent, address, discount);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class SubscriberDetails {\n");
    sb.append("    subscriptionId: ").append(toIndentedString(subscriptionId)).append("\n");
    sb.append("    customerId: ").append(toIndentedString(customerId)).append("\n");
    sb.append("    client: ").append(toIndentedString(client)).append("\n");
    sb.append("    email: ").append(toIndentedString(email)).append("\n");
    sb.append("    phone: ").append(toIndentedString(phone)).append("\n");
    sb.append("    name: ").append(toIndentedString(name)).append("\n");
    sb.append("    locale: ").append(toIndentedString(locale)).append("\n");
    sb.append("    paymentMethod: ").append(toIndentedString(paymentMethod)).append("\n");
    sb.append("    couponCode: ").append(toIndentedString(couponCode)).append("\n");
    sb.append("    status: ").append(toIndentedString(status)).append("\n");
    sb.append("    error: ").append(toIndentedString(error)).append("\n");
    sb.append("    success: ").append(toIndentedString(success)).append("\n");
    sb.append("    requiresAction: ").append(toIndentedString(requiresAction)).append("\n");
    sb.append("    delinquent: ").append(toIndentedString(delinquent)).append("\n");
    sb.append("    invoiceId: ").append(toIndentedString(invoiceId)).append("\n");
    sb.append("    invoiceUrl: ").append(toIndentedString(invoiceUrl)).append("\n");
    sb.append("    balance: ").append(toIndentedString(balance)).append("\n");
    sb.append("    accountBalance: ").append(toIndentedString(accountBalance)).append("\n");
    sb.append("    plan: ").append(toIndentedString(plan)).append("\n");
    sb.append("    planQuantity: ").append(toIndentedString(planQuantity)).append("\n");
    sb.append("    supportPlan: ").append(toIndentedString(supportPlan)).append("\n");
    sb.append("    billingInterval: ").append(toIndentedString(billingInterval)).append("\n");
    sb.append("    renewalDate: ").append(toIndentedString(renewalDate)).append("\n");
    sb.append("    items: ").append(toIndentedString(items)).append("\n");
    sb.append("    paymentMethods: ").append(toIndentedString(paymentMethods)).append("\n");
    sb.append("    paymentIntent: ").append(toIndentedString(paymentIntent)).append("\n");
    sb.append("    address: ").append(toIndentedString(address)).append("\n");
    sb.append("    discount: ").append(toIndentedString(discount)).append("\n");
    sb.append("}");
    return sb.toString();
  }

  /**
   * Convert the given object to string with each line indented by 4 spaces
   * (except the first line).
   */
  private String toIndentedString(java.lang.Object o) {
    if (o == null) {
      return "null";
    }
    return o.toString().replace("\n", "\n    ");
  }

}