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 Nov 7, 2023
1 parent 5cf7498 commit 902e44c
Show file tree
Hide file tree
Showing 6 changed files with 128 additions and 7 deletions.
2 changes: 1 addition & 1 deletion lib/recurly/resources/account.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down
24 changes: 24 additions & 0 deletions lib/recurly/resources/address.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ class Address extends RecurlyResource
{
private $_city;
private $_country;
private $_geo_code;
private $_phone;
private $_postal_code;
private $_region;
Expand Down Expand Up @@ -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
Expand Down
24 changes: 24 additions & 0 deletions lib/recurly/resources/address_with_name.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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
Expand Down
24 changes: 24 additions & 0 deletions lib/recurly/resources/invoice_address.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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
Expand Down
24 changes: 24 additions & 0 deletions lib/recurly/resources/shipping_address.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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
Expand Down
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

0 comments on commit 902e44c

Please sign in to comment.