diff --git a/src/main/java/com/ning/billing/recurly/model/Plan.java b/src/main/java/com/ning/billing/recurly/model/Plan.java index 95729ab5..d14a022e 100644 --- a/src/main/java/com/ning/billing/recurly/model/Plan.java +++ b/src/main/java/com/ning/billing/recurly/model/Plan.java @@ -52,6 +52,9 @@ public class Plan extends RecurlyObject { @XmlElement(name = "description") private String description; + @XmlElement(name = "vertex_transaction_type") + private String vertexTransactionType; + @XmlElement(name = "success_url") private String successLink; @@ -192,6 +195,14 @@ public void setDescription(final Object description) { this.description = stringOrNull(description); } + public String getVertexTransactionType() { + return vertexTransactionType; + } + + public void setVertexTransactionType(final Object vertexTransactionType) { + this.vertexTransactionType = stringOrNull(vertexTransactionType); + } + public String getSuccessLink() { return successLink; } @@ -473,6 +484,7 @@ public String toString() { sb.append(", planCode='").append(planCode).append('\''); sb.append(", name='").append(name).append('\''); sb.append(", description='").append(description).append('\''); + sb.append(", vertexTransactionType='").append(vertexTransactionType).append('\''); sb.append(", successLink='").append(successLink).append('\''); sb.append(", cancelLink='").append(cancelLink).append('\''); sb.append(", displayDonationAmounts=").append(displayDonationAmounts); @@ -541,6 +553,9 @@ public boolean equals(final Object o) { if (description != null ? !description.equals(plan.description) : plan.description != null) { return false; } + if (vertexTransactionType != null ? !vertexTransactionType.equals(plan.vertexTransactionType) : plan.vertexTransactionType != null) { + return false; + } if (displayDonationAmounts != null ? !displayDonationAmounts.equals(plan.displayDonationAmounts) : plan.displayDonationAmounts != null) { return false; } @@ -650,6 +665,7 @@ public int hashCode() { pricingModel, rampIntervals, description, + vertexTransactionType, successLink, cancelLink, displayDonationAmounts,