diff --git a/lib/recurly/resources/account.php b/lib/recurly/resources/account.php index f922a856..d503370b 100644 --- a/lib/recurly/resources/account.php +++ b/lib/recurly/resources/account.php @@ -563,7 +563,7 @@ public function setId(string $id): void /** * Getter method for the invoice_template_id attribute. - * 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. * * @return ?string */ diff --git a/lib/recurly/resources/address.php b/lib/recurly/resources/address.php index 3de1c81c..51bed7cd 100644 --- a/lib/recurly/resources/address.php +++ b/lib/recurly/resources/address.php @@ -14,6 +14,7 @@ class Address extends RecurlyResource { private $_city; private $_country; + private $_geo_code; private $_phone; private $_postal_code; private $_region; @@ -70,6 +71,29 @@ public function setCountry(string $country): void $this->_country = $country; } + /** + * Getter method for the geo_code attribute. + * Code that represents a geographic entity (location or object). Only returned for Sling Vertex Integration + * + * @return ?string + */ + public function getGeoCode(): ?string + { + return $this->_geo_code; + } + + /** + * Setter method for the geo_code attribute. + * + * @param string $geo_code + * + * @return void + */ + public function setGeoCode(string $geo_code): void + { + $this->_geo_code = $geo_code; + } + /** * Getter method for the phone attribute. * Phone number diff --git a/lib/recurly/resources/address_with_name.php b/lib/recurly/resources/address_with_name.php index fc0b7071..eb27e56b 100644 --- a/lib/recurly/resources/address_with_name.php +++ b/lib/recurly/resources/address_with_name.php @@ -15,6 +15,7 @@ class AddressWithName extends RecurlyResource private $_city; private $_country; private $_first_name; + private $_geo_code; private $_last_name; private $_phone; private $_postal_code; @@ -95,6 +96,29 @@ public function setFirstName(string $first_name): void $this->_first_name = $first_name; } + /** + * Getter method for the geo_code attribute. + * Code that represents a geographic entity (location or object). Only returned for Sling Vertex Integration + * + * @return ?string + */ + public function getGeoCode(): ?string + { + return $this->_geo_code; + } + + /** + * Setter method for the geo_code attribute. + * + * @param string $geo_code + * + * @return void + */ + public function setGeoCode(string $geo_code): void + { + $this->_geo_code = $geo_code; + } + /** * Getter method for the last_name attribute. * Last name diff --git a/lib/recurly/resources/invoice_address.php b/lib/recurly/resources/invoice_address.php index 5ded46b2..ee05fe06 100644 --- a/lib/recurly/resources/invoice_address.php +++ b/lib/recurly/resources/invoice_address.php @@ -16,6 +16,7 @@ class InvoiceAddress extends RecurlyResource private $_company; private $_country; private $_first_name; + private $_geo_code; private $_last_name; private $_name_on_account; private $_phone; @@ -120,6 +121,29 @@ public function setFirstName(string $first_name): void $this->_first_name = $first_name; } + /** + * Getter method for the geo_code attribute. + * Code that represents a geographic entity (location or object). Only returned for Sling Vertex Integration + * + * @return ?string + */ + public function getGeoCode(): ?string + { + return $this->_geo_code; + } + + /** + * Setter method for the geo_code attribute. + * + * @param string $geo_code + * + * @return void + */ + public function setGeoCode(string $geo_code): void + { + $this->_geo_code = $geo_code; + } + /** * Getter method for the last_name attribute. * Last name diff --git a/lib/recurly/resources/shipping_address.php b/lib/recurly/resources/shipping_address.php index fd789105..e12f361f 100644 --- a/lib/recurly/resources/shipping_address.php +++ b/lib/recurly/resources/shipping_address.php @@ -19,6 +19,7 @@ class ShippingAddress extends RecurlyResource private $_created_at; private $_email; private $_first_name; + private $_geo_code; private $_id; private $_last_name; private $_nickname; @@ -196,6 +197,29 @@ public function setFirstName(string $first_name): void $this->_first_name = $first_name; } + /** + * Getter method for the geo_code attribute. + * Code that represents a geographic entity (location or object). Only returned for Sling Vertex Integration + * + * @return ?string + */ + public function getGeoCode(): ?string + { + return $this->_geo_code; + } + + /** + * Setter method for the geo_code attribute. + * + * @param string $geo_code + * + * @return void + */ + public function setGeoCode(string $geo_code): void + { + $this->_geo_code = $geo_code; + } + /** * Getter method for the id attribute. * Shipping Address ID diff --git a/openapi/api.yaml b/openapi/api.yaml index 0e0dbda9..fe2608a2 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