Skip to content

Commit

Permalink
Generated Latest Changes for v2021-02-25
Browse files Browse the repository at this point in the history
  • Loading branch information
Recurly Integrations authored Dec 2, 2024
1 parent 48c3662 commit d3b80aa
Show file tree
Hide file tree
Showing 4 changed files with 69 additions and 0 deletions.
15 changes: 15 additions & 0 deletions openapi/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21353,6 +21353,11 @@ components:
title: Tax exempt?
description: "`true` exempts tax on the plan, `false` applies tax on the
plan."
vertex_transaction_type:
type: string
title: Vertex Transaction Type
description: Used by Vertex for tax calculations. Possible values are `sale`,
`rental`, `lease`.
currencies:
type: array
title: Pricing
Expand Down Expand Up @@ -21568,6 +21573,11 @@ components:
title: Tax exempt?
description: "`true` exempts tax on the plan, `false` applies tax on the
plan."
vertex_transaction_type:
type: string
title: Vertex Transaction Type
description: Used by Vertex for tax calculations. Possible values are `sale`,
`rental`, `lease`.
currencies:
type: array
title: Pricing
Expand Down Expand Up @@ -21832,6 +21842,11 @@ components:
title: Tax exempt?
description: "`true` exempts tax on the plan, `false` applies tax on the
plan."
vertex_transaction_type:
type: string
title: Vertex Transaction Type
description: Used by Vertex for tax calculations. Possible values are `sale`,
`rental`, `lease`.
currencies:
type: array
title: Pricing
Expand Down
18 changes: 18 additions & 0 deletions src/main/java/com/recurly/v3/requests/PlanCreate.java
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,11 @@ public class PlanCreate extends Request {
@Expose
private Constants.IntervalUnit trialUnit;

/** Used by Vertex for tax calculations. Possible values are `sale`, `rental`, `lease`. */
@SerializedName("vertex_transaction_type")
@Expose
private String vertexTransactionType;

/**
* Accounting code for invoice line items for the plan. If no value is provided, it defaults to
* plan's code.
Expand Down Expand Up @@ -710,4 +715,17 @@ public Constants.IntervalUnit getTrialUnit() {
public void setTrialUnit(final Constants.IntervalUnit trialUnit) {
this.trialUnit = trialUnit;
}

/** Used by Vertex for tax calculations. Possible values are `sale`, `rental`, `lease`. */
public String getVertexTransactionType() {
return this.vertexTransactionType;
}

/**
* @param vertexTransactionType Used by Vertex for tax calculations. Possible values are `sale`,
* `rental`, `lease`.
*/
public void setVertexTransactionType(final String vertexTransactionType) {
this.vertexTransactionType = vertexTransactionType;
}
}
18 changes: 18 additions & 0 deletions src/main/java/com/recurly/v3/requests/PlanUpdate.java
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,11 @@ public class PlanUpdate extends Request {
@Expose
private Constants.IntervalUnit trialUnit;

/** Used by Vertex for tax calculations. Possible values are `sale`, `rental`, `lease`. */
@SerializedName("vertex_transaction_type")
@Expose
private String vertexTransactionType;

/**
* Accounting code for invoice line items for the plan. If no value is provided, it defaults to
* plan's code.
Expand Down Expand Up @@ -653,4 +658,17 @@ public Constants.IntervalUnit getTrialUnit() {
public void setTrialUnit(final Constants.IntervalUnit trialUnit) {
this.trialUnit = trialUnit;
}

/** Used by Vertex for tax calculations. Possible values are `sale`, `rental`, `lease`. */
public String getVertexTransactionType() {
return this.vertexTransactionType;
}

/**
* @param vertexTransactionType Used by Vertex for tax calculations. Possible values are `sale`,
* `rental`, `lease`.
*/
public void setVertexTransactionType(final String vertexTransactionType) {
this.vertexTransactionType = vertexTransactionType;
}
}
18 changes: 18 additions & 0 deletions src/main/java/com/recurly/v3/resources/Plan.java
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,11 @@ public class Plan extends Resource {
@Expose
private DateTime updatedAt;

/** Used by Vertex for tax calculations. Possible values are `sale`, `rental`, `lease`. */
@SerializedName("vertex_transaction_type")
@Expose
private String vertexTransactionType;

/**
* Accounting code for invoice line items for the plan. If no value is provided, it defaults to
* plan's code.
Expand Down Expand Up @@ -645,4 +650,17 @@ public DateTime getUpdatedAt() {
public void setUpdatedAt(final DateTime updatedAt) {
this.updatedAt = updatedAt;
}

/** Used by Vertex for tax calculations. Possible values are `sale`, `rental`, `lease`. */
public String getVertexTransactionType() {
return this.vertexTransactionType;
}

/**
* @param vertexTransactionType Used by Vertex for tax calculations. Possible values are `sale`,
* `rental`, `lease`.
*/
public void setVertexTransactionType(final String vertexTransactionType) {
this.vertexTransactionType = vertexTransactionType;
}
}

0 comments on commit d3b80aa

Please sign in to comment.