Skip to content

Commit

Permalink
Merge pull request #256 from recurly/v3-v2021-02-25-6786635673
Browse files Browse the repository at this point in the history
Generated Latest Changes for v2021-02-25
  • Loading branch information
jsanderson1130 authored Nov 7, 2023
2 parents 643078b + 5124b19 commit c146dc7
Show file tree
Hide file tree
Showing 15 changed files with 278 additions and 40 deletions.
37 changes: 31 additions & 6 deletions openapi/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17256,8 +17256,8 @@ components:
type: string
title: Invoice Template ID
description: Unique ID to identify an invoice template. Available when
the site is on a Pro or Enterprise plan. Used to specify which invoice
template, if any, should be used to generate invoices for the account.
the site is on a Pro or Elite plan. Used to specify which invoice template,
if any, should be used to generate invoices for the account.
address:
"$ref": "#/components/schemas/Address"
billing_info:
Expand Down Expand Up @@ -17355,10 +17355,10 @@ components:
type: string
title: Invoice Template ID
description: Unique ID to identify an invoice template. Available when the
site is on a Pro or Enterprise plan. Used to specify if a non-default
invoice template will be used to generate invoices for the account. For
sites without multiple invoice templates enabled, the default template
will always be used.
site is on a Pro or Elite plan. Used to specify if a non-default invoice
template will be used to generate invoices for the account. For sites
without multiple invoice templates enabled, the default template will
always be used.
address:
"$ref": "#/components/schemas/Address"
billing_info:
Expand Down Expand Up @@ -17511,6 +17511,11 @@ components:
type: string
title: Country
description: Country, 2-letter ISO 3166-1 alpha-2 code.
geo_code:
type: string
maxLength: 20
description: Code that represents a geographic entity (location or object).
Only returned for Sling Vertex Integration
AddressWithName:
allOf:
- "$ref": "#/components/schemas/Address"
Expand Down Expand Up @@ -18215,6 +18220,9 @@ components:
paypal_billing_agreement_id:
type: string
title: PayPal billing agreement ID
roku_billing_agreement_id:
type: string
title: Roku's CIB if billing through Roku
fraud_session_id:
type: string
title: Fraud Session ID
Expand Down Expand Up @@ -21107,6 +21115,11 @@ components:
type: string
maxLength: 50
description: Country, 2-letter ISO 3166-1 alpha-2 code.
geo_code:
type: string
maxLength: 20
description: Code that represents a geographic entity (location or object).
Only returned for Sling Vertex Integration
created_at:
type: string
title: Created at
Expand Down Expand Up @@ -21158,6 +21171,11 @@ components:
type: string
maxLength: 20
description: Zip or postal code.
geo_code:
type: string
maxLength: 20
description: Code that represents a geographic entity (location or object).
Only returned for Sling Vertex Integration
country:
type: string
maxLength: 50
Expand Down Expand Up @@ -21412,6 +21430,11 @@ components:
type: string
maxLength: 50
description: Country, 2-letter ISO 3166-1 alpha-2 code.
geo_code:
type: string
maxLength: 20
description: Code that represents a geographic entity (location or object).
Only returned for Sling Vertex Integration
Site:
type: object
properties:
Expand Down Expand Up @@ -24979,6 +25002,7 @@ components:
- check
- credit_card
- eft
- google_pay
- money_order
- other
- paypal
Expand Down Expand Up @@ -25172,6 +25196,7 @@ components:
- credit_card
- eft
- gateway_token
- google_pay
- iban_bank_account
- money_order
- other
Expand Down
6 changes: 6 additions & 0 deletions src/main/java/com/recurly/v3/Constants.java
Original file line number Diff line number Diff line change
Expand Up @@ -847,6 +847,9 @@ public enum ExternalPaymentMethod {
@SerializedName("eft")
EFT,

@SerializedName("google_pay")
GOOGLE_PAY,

@SerializedName("money_order")
MONEY_ORDER,

Expand Down Expand Up @@ -1346,6 +1349,9 @@ public enum PaymentMethod {
@SerializedName("gateway_token")
GATEWAY_TOKEN,

@SerializedName("google_pay")
GOOGLE_PAY,

@SerializedName("iban_bank_account")
IBAN_BANK_ACCOUNT,

Expand Down
16 changes: 8 additions & 8 deletions src/main/java/com/recurly/v3/requests/AccountCreate.java
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,9 @@ public class AccountCreate extends Request {
private String firstName;

/**
* Unique ID to identify an invoice template. Available when the site is on a Pro or Enterprise
* plan. Used to specify which invoice template, if any, should be used to generate invoices for
* the account.
* Unique ID to identify an invoice template. Available when the site is on a Pro or Elite plan.
* Used to specify which invoice template, if any, should be used to generate invoices for the
* account.
*/
@SerializedName("invoice_template_id")
@Expose
Expand Down Expand Up @@ -363,18 +363,18 @@ public void setFirstName(final String firstName) {
}

/**
* Unique ID to identify an invoice template. Available when the site is on a Pro or Enterprise
* plan. Used to specify which invoice template, if any, should be used to generate invoices for
* the account.
* Unique ID to identify an invoice template. Available when the site is on a Pro or Elite plan.
* Used to specify which invoice template, if any, should be used to generate invoices for the
* account.
*/
public String getInvoiceTemplateId() {
return this.invoiceTemplateId;
}

/**
* @param invoiceTemplateId Unique ID to identify an invoice template. Available when the site is
* on a Pro or Enterprise plan. Used to specify which invoice template, if any, should be used
* to generate invoices for the account.
* on a Pro or Elite plan. Used to specify which invoice template, if any, should be used to
* generate invoices for the account.
*/
public void setInvoiceTemplateId(final String invoiceTemplateId) {
this.invoiceTemplateId = invoiceTemplateId;
Expand Down
16 changes: 8 additions & 8 deletions src/main/java/com/recurly/v3/requests/AccountPurchase.java
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,9 @@ public class AccountPurchase extends Request {
private String id;

/**
* Unique ID to identify an invoice template. Available when the site is on a Pro or Enterprise
* plan. Used to specify which invoice template, if any, should be used to generate invoices for
* the account.
* Unique ID to identify an invoice template. Available when the site is on a Pro or Elite plan.
* Used to specify which invoice template, if any, should be used to generate invoices for the
* account.
*/
@SerializedName("invoice_template_id")
@Expose
Expand Down Expand Up @@ -368,18 +368,18 @@ public void setId(final String id) {
}

/**
* Unique ID to identify an invoice template. Available when the site is on a Pro or Enterprise
* plan. Used to specify which invoice template, if any, should be used to generate invoices for
* the account.
* Unique ID to identify an invoice template. Available when the site is on a Pro or Elite plan.
* Used to specify which invoice template, if any, should be used to generate invoices for the
* account.
*/
public String getInvoiceTemplateId() {
return this.invoiceTemplateId;
}

/**
* @param invoiceTemplateId Unique ID to identify an invoice template. Available when the site is
* on a Pro or Enterprise plan. Used to specify which invoice template, if any, should be used
* to generate invoices for the account.
* on a Pro or Elite plan. Used to specify which invoice template, if any, should be used to
* generate invoices for the account.
*/
public void setInvoiceTemplateId(final String invoiceTemplateId) {
this.invoiceTemplateId = invoiceTemplateId;
Expand Down
16 changes: 8 additions & 8 deletions src/main/java/com/recurly/v3/requests/AccountUpdate.java
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ public class AccountUpdate extends Request {
private String firstName;

/**
* Unique ID to identify an invoice template. Available when the site is on a Pro or Enterprise
* plan. Used to specify which invoice template, if any, should be used to generate invoices for
* the account.
* Unique ID to identify an invoice template. Available when the site is on a Pro or Elite plan.
* Used to specify which invoice template, if any, should be used to generate invoices for the
* account.
*/
@SerializedName("invoice_template_id")
@Expose
Expand Down Expand Up @@ -313,18 +313,18 @@ public void setFirstName(final String firstName) {
}

/**
* Unique ID to identify an invoice template. Available when the site is on a Pro or Enterprise
* plan. Used to specify which invoice template, if any, should be used to generate invoices for
* the account.
* Unique ID to identify an invoice template. Available when the site is on a Pro or Elite plan.
* Used to specify which invoice template, if any, should be used to generate invoices for the
* account.
*/
public String getInvoiceTemplateId() {
return this.invoiceTemplateId;
}

/**
* @param invoiceTemplateId Unique ID to identify an invoice template. Available when the site is
* on a Pro or Enterprise plan. Used to specify which invoice template, if any, should be used
* to generate invoices for the account.
* on a Pro or Elite plan. Used to specify which invoice template, if any, should be used to
* generate invoices for the account.
*/
public void setInvoiceTemplateId(final String invoiceTemplateId) {
this.invoiceTemplateId = invoiceTemplateId;
Expand Down
24 changes: 24 additions & 0 deletions src/main/java/com/recurly/v3/requests/Address.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@ public class Address extends Request {
@Expose
private String country;

/**
* Code that represents a geographic entity (location or object). Only returned for Sling Vertex
* Integration
*/
@SerializedName("geo_code")
@Expose
private String geoCode;

/** Phone number */
@SerializedName("phone")
@Expose
Expand Down Expand Up @@ -67,6 +75,22 @@ public void setCountry(final String country) {
this.country = country;
}

/**
* Code that represents a geographic entity (location or object). Only returned for Sling Vertex
* Integration
*/
public String getGeoCode() {
return this.geoCode;
}

/**
* @param geoCode Code that represents a geographic entity (location or object). Only returned for
* Sling Vertex Integration
*/
public void setGeoCode(final String geoCode) {
this.geoCode = geoCode;
}

/** Phone number */
public String getPhone() {
return this.phone;
Expand Down
15 changes: 15 additions & 0 deletions src/main/java/com/recurly/v3/requests/BillingInfoCreate.java
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,11 @@ public class BillingInfoCreate extends Request {
@Expose
private Boolean primaryPaymentMethod;

/** Roku's CIB if billing through Roku */
@SerializedName("roku_billing_agreement_id")
@Expose
private String rokuBillingAgreementId;

/** The bank's rounting number. (ACH only) */
@SerializedName("routing_number")
@Expose
Expand Down Expand Up @@ -530,6 +535,16 @@ public void setPrimaryPaymentMethod(final Boolean primaryPaymentMethod) {
this.primaryPaymentMethod = primaryPaymentMethod;
}

/** Roku's CIB if billing through Roku */
public String getRokuBillingAgreementId() {
return this.rokuBillingAgreementId;
}

/** @param rokuBillingAgreementId Roku's CIB if billing through Roku */
public void setRokuBillingAgreementId(final String rokuBillingAgreementId) {
this.rokuBillingAgreementId = rokuBillingAgreementId;
}

/** The bank's rounting number. (ACH only) */
public String getRoutingNumber() {
return this.routingNumber;
Expand Down
24 changes: 24 additions & 0 deletions src/main/java/com/recurly/v3/requests/InvoiceAddress.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,14 @@ public class InvoiceAddress extends Request {
@Expose
private String firstName;

/**
* Code that represents a geographic entity (location or object). Only returned for Sling Vertex
* Integration
*/
@SerializedName("geo_code")
@Expose
private String geoCode;

/** Last name */
@SerializedName("last_name")
@Expose
Expand Down Expand Up @@ -107,6 +115,22 @@ public void setFirstName(final String firstName) {
this.firstName = firstName;
}

/**
* Code that represents a geographic entity (location or object). Only returned for Sling Vertex
* Integration
*/
public String getGeoCode() {
return this.geoCode;
}

/**
* @param geoCode Code that represents a geographic entity (location or object). Only returned for
* Sling Vertex Integration
*/
public void setGeoCode(final String geoCode) {
this.geoCode = geoCode;
}

/** Last name */
public String getLastName() {
return this.lastName;
Expand Down
24 changes: 24 additions & 0 deletions src/main/java/com/recurly/v3/requests/ShippingAddressCreate.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,14 @@ public class ShippingAddressCreate extends Request {
@Expose
private String firstName;

/**
* Code that represents a geographic entity (location or object). Only returned for Sling Vertex
* Integration
*/
@SerializedName("geo_code")
@Expose
private String geoCode;

@SerializedName("last_name")
@Expose
private String lastName;
Expand Down Expand Up @@ -113,6 +121,22 @@ public void setFirstName(final String firstName) {
this.firstName = firstName;
}

/**
* Code that represents a geographic entity (location or object). Only returned for Sling Vertex
* Integration
*/
public String getGeoCode() {
return this.geoCode;
}

/**
* @param geoCode Code that represents a geographic entity (location or object). Only returned for
* Sling Vertex Integration
*/
public void setGeoCode(final String geoCode) {
this.geoCode = geoCode;
}

public String getLastName() {
return this.lastName;
}
Expand Down
Loading

0 comments on commit c146dc7

Please sign in to comment.