Skip to content

Commit

Permalink
adds support for plan vertex_transaction_type
Browse files Browse the repository at this point in the history
  • Loading branch information
epagerecurly committed Oct 31, 2024
1 parent 6b710b4 commit 0814177
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/main/java/com/ning/billing/recurly/model/Plan.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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;
}
Expand Down Expand Up @@ -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);
Expand Down Expand Up @@ -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;
}
Expand Down Expand Up @@ -650,6 +665,7 @@ public int hashCode() {
pricingModel,
rampIntervals,
description,
vertexTransactionType,
successLink,
cancelLink,
displayDonationAmounts,
Expand Down

0 comments on commit 0814177

Please sign in to comment.