package com.stripe.model;

import com.stripe.net.APIResource;


public class Subscription extends APIResource {
	Long currentPeriodEnd;
	Long currentPeriodStart;
	String customer;
	Long start;
	String status;
	Long trialStart;
	Long trialEnd;
	Plan plan;
	Long canceledAt;
	Long endedAt;
	
	public Long getCurrentPeriodEnd() {
		return currentPeriodEnd;
	}
	public void setCurrentPeriodEnd(Long currentPeriodEnd) {
		this.currentPeriodEnd = currentPeriodEnd;
	}
	public Long getCurrentPeriodStart() {
		return currentPeriodStart;
	}
	public void setCurrentPeriodStart(Long currentPeriodStart) {
		this.currentPeriodStart = currentPeriodStart;
	}
	public String getCustomer() {
		return customer;
	}
	public void setCustomer(String customer) {
		this.customer = customer;
	}
	public Long getStart() {
		return start;
	}
	public void setStart(Long start) {
		this.start = start;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public Long getTrialStart() {
		return trialStart;
	}
	public void setTrialStart(Long trialStart) {
		this.trialStart = trialStart;
	}
	public Long getTrialEnd() {
		return trialEnd;
	}
	public void setTrialEnd(Long trialEnd) {
		this.trialEnd = trialEnd;
	}
	public Plan getPlan() {
		return plan;
	}
	public void setPlan(Plan plan) {
		this.plan = plan;
	}
	public Long getCanceledAt() {
		return canceledAt;
	}
	public void setCanceledAt(Long canceledAt) {
		this.canceledAt = canceledAt;
	}
	public Long getEndedAt() {
		return endedAt;
	}
	public void setEndedAt(Long endedAt) {
		this.endedAt = endedAt;
	}
}
@@ -151,24 +151,52 @@
 eriodStart;%0A
+%09Boolean cancelAtPeriodEnd;%0A
 %09String cust
@@ -659,32 +659,216 @@
 PeriodStart;%0A%09%7D%0A
+%09public Boolean getCancelAtPeriodEnd() %7B%0A%09%09return cancelAtPeriodEnd;%0A%09%7D%0A%09public void setCancelAtPeriodEnd(Boolean cancelAtPeriodEnd) %7B%0A%09%09this.cancelAtPeriodEnd = cancelAtPeriodEnd;%0A%09%7D%0A
 %09public String g

Add missing cancel_at_period_end property to Subscription objects