diff --git a/openapi/api.yaml b/openapi/api.yaml index 0e0dbda..fe2608a 100644 --- a/openapi/api.yaml +++ b/openapi/api.yaml @@ -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: @@ -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: @@ -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" @@ -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 @@ -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 @@ -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 @@ -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: @@ -24979,6 +25002,7 @@ components: - check - credit_card - eft + - google_pay - money_order - other - paypal @@ -25172,6 +25196,7 @@ components: - credit_card - eft - gateway_token + - google_pay - iban_bank_account - money_order - other diff --git a/src/main/java/com/recurly/v3/Constants.java b/src/main/java/com/recurly/v3/Constants.java index ef7ab0e..68c971a 100644 --- a/src/main/java/com/recurly/v3/Constants.java +++ b/src/main/java/com/recurly/v3/Constants.java @@ -847,6 +847,9 @@ public enum ExternalPaymentMethod { @SerializedName("eft") EFT, + @SerializedName("google_pay") + GOOGLE_PAY, + @SerializedName("money_order") MONEY_ORDER, @@ -1346,6 +1349,9 @@ public enum PaymentMethod { @SerializedName("gateway_token") GATEWAY_TOKEN, + @SerializedName("google_pay") + GOOGLE_PAY, + @SerializedName("iban_bank_account") IBAN_BANK_ACCOUNT, diff --git a/src/main/java/com/recurly/v3/requests/AccountCreate.java b/src/main/java/com/recurly/v3/requests/AccountCreate.java index 1dced69..b776572 100644 --- a/src/main/java/com/recurly/v3/requests/AccountCreate.java +++ b/src/main/java/com/recurly/v3/requests/AccountCreate.java @@ -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 @@ -363,9 +363,9 @@ 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; @@ -373,8 +373,8 @@ public String getInvoiceTemplateId() { /** * @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; diff --git a/src/main/java/com/recurly/v3/requests/AccountPurchase.java b/src/main/java/com/recurly/v3/requests/AccountPurchase.java index 6a04360..bfde17b 100644 --- a/src/main/java/com/recurly/v3/requests/AccountPurchase.java +++ b/src/main/java/com/recurly/v3/requests/AccountPurchase.java @@ -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 @@ -368,9 +368,9 @@ 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; @@ -378,8 +378,8 @@ public String getInvoiceTemplateId() { /** * @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; diff --git a/src/main/java/com/recurly/v3/requests/AccountUpdate.java b/src/main/java/com/recurly/v3/requests/AccountUpdate.java index eef3187..33f7501 100644 --- a/src/main/java/com/recurly/v3/requests/AccountUpdate.java +++ b/src/main/java/com/recurly/v3/requests/AccountUpdate.java @@ -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 @@ -313,9 +313,9 @@ 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; @@ -323,8 +323,8 @@ public String getInvoiceTemplateId() { /** * @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; diff --git a/src/main/java/com/recurly/v3/requests/Address.java b/src/main/java/com/recurly/v3/requests/Address.java index e1dce20..b1f67f3 100644 --- a/src/main/java/com/recurly/v3/requests/Address.java +++ b/src/main/java/com/recurly/v3/requests/Address.java @@ -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 @@ -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; diff --git a/src/main/java/com/recurly/v3/requests/BillingInfoCreate.java b/src/main/java/com/recurly/v3/requests/BillingInfoCreate.java index bed98d9..2e5712c 100644 --- a/src/main/java/com/recurly/v3/requests/BillingInfoCreate.java +++ b/src/main/java/com/recurly/v3/requests/BillingInfoCreate.java @@ -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 @@ -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; diff --git a/src/main/java/com/recurly/v3/requests/InvoiceAddress.java b/src/main/java/com/recurly/v3/requests/InvoiceAddress.java index fe3edce..af469b8 100644 --- a/src/main/java/com/recurly/v3/requests/InvoiceAddress.java +++ b/src/main/java/com/recurly/v3/requests/InvoiceAddress.java @@ -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 @@ -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; diff --git a/src/main/java/com/recurly/v3/requests/ShippingAddressCreate.java b/src/main/java/com/recurly/v3/requests/ShippingAddressCreate.java index db09335..9542cd9 100644 --- a/src/main/java/com/recurly/v3/requests/ShippingAddressCreate.java +++ b/src/main/java/com/recurly/v3/requests/ShippingAddressCreate.java @@ -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; @@ -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; } diff --git a/src/main/java/com/recurly/v3/requests/ShippingAddressUpdate.java b/src/main/java/com/recurly/v3/requests/ShippingAddressUpdate.java index af54f2e..8e58ada 100644 --- a/src/main/java/com/recurly/v3/requests/ShippingAddressUpdate.java +++ b/src/main/java/com/recurly/v3/requests/ShippingAddressUpdate.java @@ -33,6 +33,14 @@ public class ShippingAddressUpdate 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; + /** Shipping Address ID */ @SerializedName("id") @Expose @@ -118,6 +126,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; + } + /** Shipping Address ID */ public String getId() { return this.id; diff --git a/src/main/java/com/recurly/v3/resources/Account.java b/src/main/java/com/recurly/v3/resources/Account.java index 525f8e1..c3f2fd9 100644 --- a/src/main/java/com/recurly/v3/resources/Account.java +++ b/src/main/java/com/recurly/v3/resources/Account.java @@ -148,10 +148,10 @@ public class Account extends Resource { private String id; /** - * 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. + * Unique ID to identify an invoice template. Available when the 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. */ @SerializedName("invoice_template_id") @Expose @@ -509,10 +509,10 @@ 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 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. + * Unique ID to identify an invoice template. Available when the 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. */ public String getInvoiceTemplateId() { return this.invoiceTemplateId; @@ -520,8 +520,8 @@ public String getInvoiceTemplateId() { /** * @param invoiceTemplateId 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, + * 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. */ public void setInvoiceTemplateId(final String invoiceTemplateId) { diff --git a/src/main/java/com/recurly/v3/resources/Address.java b/src/main/java/com/recurly/v3/resources/Address.java index 0ac9444..d4515e8 100644 --- a/src/main/java/com/recurly/v3/resources/Address.java +++ b/src/main/java/com/recurly/v3/resources/Address.java @@ -21,6 +21,14 @@ public class Address extends Resource { @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 @@ -66,6 +74,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; diff --git a/src/main/java/com/recurly/v3/resources/AddressWithName.java b/src/main/java/com/recurly/v3/resources/AddressWithName.java index 27313a0..9ecd20a 100644 --- a/src/main/java/com/recurly/v3/resources/AddressWithName.java +++ b/src/main/java/com/recurly/v3/resources/AddressWithName.java @@ -26,6 +26,14 @@ public class AddressWithName extends Resource { @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 @@ -86,6 +94,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; diff --git a/src/main/java/com/recurly/v3/resources/InvoiceAddress.java b/src/main/java/com/recurly/v3/resources/InvoiceAddress.java index 8ce5d96..716202d 100644 --- a/src/main/java/com/recurly/v3/resources/InvoiceAddress.java +++ b/src/main/java/com/recurly/v3/resources/InvoiceAddress.java @@ -31,6 +31,14 @@ public class InvoiceAddress extends Resource { @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 @@ -106,6 +114,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; diff --git a/src/main/java/com/recurly/v3/resources/ShippingAddress.java b/src/main/java/com/recurly/v3/resources/ShippingAddress.java index fc65634..799ea1c 100644 --- a/src/main/java/com/recurly/v3/resources/ShippingAddress.java +++ b/src/main/java/com/recurly/v3/resources/ShippingAddress.java @@ -43,6 +43,14 @@ public class ShippingAddress extends Resource { @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; + /** Shipping Address ID */ @SerializedName("id") @Expose @@ -158,6 +166,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; + } + /** Shipping Address ID */ public String getId() { return this.id;