Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generated Latest Changes for v2021-02-25 #275

Merged
merged 1 commit into from
May 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions openapi/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19877,6 +19877,11 @@ components:
maximum: 999
address:
"$ref": "#/components/schemas/InvoiceAddress"
gateway_code:
type: string
description: An alphanumeric code shown per gateway on your site's payment
gateways page. Set this code to ensure that a given invoice targets a
given gateway.
InvoiceMini:
type: object
title: Invoice mini details
Expand Down Expand Up @@ -24309,8 +24314,8 @@ components:
minimum: 0
state:
type: string
description: External subscriptions can be active, canceled, expired, or
past_due.
description: External subscriptions can be active, canceled, expired, past_due,
voided, revoked, or paused.
default: active
activated_at:
type: string
Expand Down Expand Up @@ -25626,6 +25631,7 @@ components:
- wire_transfer
- braintree_v_zero
- boleto
- cash_app
CardTypeEnum:
type: string
enum:
Expand Down
3 changes: 3 additions & 0 deletions src/main/java/com/recurly/v3/Constants.java
Original file line number Diff line number Diff line change
Expand Up @@ -1430,6 +1430,9 @@ public enum PaymentMethod {
@SerializedName("boleto")
BOLETO,

@SerializedName("cash_app")
CASH_APP,

};

public enum CardType {
Expand Down
24 changes: 24 additions & 0 deletions src/main/java/com/recurly/v3/requests/InvoiceUpdate.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@ public class InvoiceUpdate extends Request {
@Expose
private String customerNotes;

/**
* An alphanumeric code shown per gateway on your site's payment gateways page. Set this code to
* ensure that a given invoice targets a given gateway.
*/
@SerializedName("gateway_code")
@Expose
private String gatewayCode;

/**
* Integer representing the number of days after an invoice's creation that the invoice will
* become past due. Changing Net terms changes due_on, and the invoice could move between past due
Expand Down Expand Up @@ -69,6 +77,22 @@ public void setCustomerNotes(final String customerNotes) {
this.customerNotes = customerNotes;
}

/**
* An alphanumeric code shown per gateway on your site's payment gateways page. Set this code to
* ensure that a given invoice targets a given gateway.
*/
public String getGatewayCode() {
return this.gatewayCode;
}

/**
* @param gatewayCode An alphanumeric code shown per gateway on your site's payment gateways page.
* Set this code to ensure that a given invoice targets a given gateway.
*/
public void setGatewayCode(final String gatewayCode) {
this.gatewayCode = gatewayCode;
}

/**
* Integer representing the number of days after an invoice's creation that the invoice will
* become past due. Changing Net terms changes due_on, and the invoice could move between past due
Expand Down
13 changes: 10 additions & 3 deletions src/main/java/com/recurly/v3/resources/ExternalSubscription.java
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,9 @@ public class ExternalSubscription extends Resource {
@Expose
private Integer quantity;

/** External subscriptions can be active, canceled, expired, or past_due. */
/**
* External subscriptions can be active, canceled, expired, past_due, voided, revoked, or paused.
*/
@SerializedName("state")
@Expose
private String state;
Expand Down Expand Up @@ -282,12 +284,17 @@ public void setQuantity(final Integer quantity) {
this.quantity = quantity;
}

/** External subscriptions can be active, canceled, expired, or past_due. */
/**
* External subscriptions can be active, canceled, expired, past_due, voided, revoked, or paused.
*/
public String getState() {
return this.state;
}

/** @param state External subscriptions can be active, canceled, expired, or past_due. */
/**
* @param state External subscriptions can be active, canceled, expired, past_due, voided,
* revoked, or paused.
*/
public void setState(final String state) {
this.state = state;
}
Expand Down
Loading