Skip to content

Commit 48879a1

Browse files
Merge pull request #783 from recurly/v3-v2021-02-25-6786635673
Generated Latest Changes for v2021-02-25
2 parents 5cf7498 + 902e44c commit 48879a1

File tree

6 files changed

+128
-7
lines changed

6 files changed

+128
-7
lines changed

lib/recurly/resources/account.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@ public function setId(string $id): void
563563

564564
/**
565565
* Getter method for the invoice_template_id attribute.
566-
* 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.
566+
* 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.
567567
*
568568
* @return ?string
569569
*/

lib/recurly/resources/address.php

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ class Address extends RecurlyResource
1414
{
1515
private $_city;
1616
private $_country;
17+
private $_geo_code;
1718
private $_phone;
1819
private $_postal_code;
1920
private $_region;
@@ -70,6 +71,29 @@ public function setCountry(string $country): void
7071
$this->_country = $country;
7172
}
7273

74+
/**
75+
* Getter method for the geo_code attribute.
76+
* Code that represents a geographic entity (location or object). Only returned for Sling Vertex Integration
77+
*
78+
* @return ?string
79+
*/
80+
public function getGeoCode(): ?string
81+
{
82+
return $this->_geo_code;
83+
}
84+
85+
/**
86+
* Setter method for the geo_code attribute.
87+
*
88+
* @param string $geo_code
89+
*
90+
* @return void
91+
*/
92+
public function setGeoCode(string $geo_code): void
93+
{
94+
$this->_geo_code = $geo_code;
95+
}
96+
7397
/**
7498
* Getter method for the phone attribute.
7599
* Phone number

lib/recurly/resources/address_with_name.php

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ class AddressWithName extends RecurlyResource
1515
private $_city;
1616
private $_country;
1717
private $_first_name;
18+
private $_geo_code;
1819
private $_last_name;
1920
private $_phone;
2021
private $_postal_code;
@@ -95,6 +96,29 @@ public function setFirstName(string $first_name): void
9596
$this->_first_name = $first_name;
9697
}
9798

99+
/**
100+
* Getter method for the geo_code attribute.
101+
* Code that represents a geographic entity (location or object). Only returned for Sling Vertex Integration
102+
*
103+
* @return ?string
104+
*/
105+
public function getGeoCode(): ?string
106+
{
107+
return $this->_geo_code;
108+
}
109+
110+
/**
111+
* Setter method for the geo_code attribute.
112+
*
113+
* @param string $geo_code
114+
*
115+
* @return void
116+
*/
117+
public function setGeoCode(string $geo_code): void
118+
{
119+
$this->_geo_code = $geo_code;
120+
}
121+
98122
/**
99123
* Getter method for the last_name attribute.
100124
* Last name

lib/recurly/resources/invoice_address.php

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ class InvoiceAddress extends RecurlyResource
1616
private $_company;
1717
private $_country;
1818
private $_first_name;
19+
private $_geo_code;
1920
private $_last_name;
2021
private $_name_on_account;
2122
private $_phone;
@@ -120,6 +121,29 @@ public function setFirstName(string $first_name): void
120121
$this->_first_name = $first_name;
121122
}
122123

124+
/**
125+
* Getter method for the geo_code attribute.
126+
* Code that represents a geographic entity (location or object). Only returned for Sling Vertex Integration
127+
*
128+
* @return ?string
129+
*/
130+
public function getGeoCode(): ?string
131+
{
132+
return $this->_geo_code;
133+
}
134+
135+
/**
136+
* Setter method for the geo_code attribute.
137+
*
138+
* @param string $geo_code
139+
*
140+
* @return void
141+
*/
142+
public function setGeoCode(string $geo_code): void
143+
{
144+
$this->_geo_code = $geo_code;
145+
}
146+
123147
/**
124148
* Getter method for the last_name attribute.
125149
* Last name

lib/recurly/resources/shipping_address.php

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ class ShippingAddress extends RecurlyResource
1919
private $_created_at;
2020
private $_email;
2121
private $_first_name;
22+
private $_geo_code;
2223
private $_id;
2324
private $_last_name;
2425
private $_nickname;
@@ -196,6 +197,29 @@ public function setFirstName(string $first_name): void
196197
$this->_first_name = $first_name;
197198
}
198199

200+
/**
201+
* Getter method for the geo_code attribute.
202+
* Code that represents a geographic entity (location or object). Only returned for Sling Vertex Integration
203+
*
204+
* @return ?string
205+
*/
206+
public function getGeoCode(): ?string
207+
{
208+
return $this->_geo_code;
209+
}
210+
211+
/**
212+
* Setter method for the geo_code attribute.
213+
*
214+
* @param string $geo_code
215+
*
216+
* @return void
217+
*/
218+
public function setGeoCode(string $geo_code): void
219+
{
220+
$this->_geo_code = $geo_code;
221+
}
222+
199223
/**
200224
* Getter method for the id attribute.
201225
* Shipping Address ID

openapi/api.yaml

Lines changed: 31 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17256,8 +17256,8 @@ components:
1725617256
type: string
1725717257
title: Invoice Template ID
1725817258
description: Unique ID to identify an invoice template. Available when
17259-
the site is on a Pro or Enterprise plan. Used to specify which invoice
17260-
template, if any, should be used to generate invoices for the account.
17259+
the site is on a Pro or Elite plan. Used to specify which invoice template,
17260+
if any, should be used to generate invoices for the account.
1726117261
address:
1726217262
"$ref": "#/components/schemas/Address"
1726317263
billing_info:
@@ -17355,10 +17355,10 @@ components:
1735517355
type: string
1735617356
title: Invoice Template ID
1735717357
description: Unique ID to identify an invoice template. Available when the
17358-
site is on a Pro or Enterprise plan. Used to specify if a non-default
17359-
invoice template will be used to generate invoices for the account. For
17360-
sites without multiple invoice templates enabled, the default template
17361-
will always be used.
17358+
site is on a Pro or Elite plan. Used to specify if a non-default invoice
17359+
template will be used to generate invoices for the account. For sites
17360+
without multiple invoice templates enabled, the default template will
17361+
always be used.
1736217362
address:
1736317363
"$ref": "#/components/schemas/Address"
1736417364
billing_info:
@@ -17511,6 +17511,11 @@ components:
1751117511
type: string
1751217512
title: Country
1751317513
description: Country, 2-letter ISO 3166-1 alpha-2 code.
17514+
geo_code:
17515+
type: string
17516+
maxLength: 20
17517+
description: Code that represents a geographic entity (location or object).
17518+
Only returned for Sling Vertex Integration
1751417519
AddressWithName:
1751517520
allOf:
1751617521
- "$ref": "#/components/schemas/Address"
@@ -18215,6 +18220,9 @@ components:
1821518220
paypal_billing_agreement_id:
1821618221
type: string
1821718222
title: PayPal billing agreement ID
18223+
roku_billing_agreement_id:
18224+
type: string
18225+
title: Roku's CIB if billing through Roku
1821818226
fraud_session_id:
1821918227
type: string
1822018228
title: Fraud Session ID
@@ -21107,6 +21115,11 @@ components:
2110721115
type: string
2110821116
maxLength: 50
2110921117
description: Country, 2-letter ISO 3166-1 alpha-2 code.
21118+
geo_code:
21119+
type: string
21120+
maxLength: 20
21121+
description: Code that represents a geographic entity (location or object).
21122+
Only returned for Sling Vertex Integration
2111021123
created_at:
2111121124
type: string
2111221125
title: Created at
@@ -21158,6 +21171,11 @@ components:
2115821171
type: string
2115921172
maxLength: 20
2116021173
description: Zip or postal code.
21174+
geo_code:
21175+
type: string
21176+
maxLength: 20
21177+
description: Code that represents a geographic entity (location or object).
21178+
Only returned for Sling Vertex Integration
2116121179
country:
2116221180
type: string
2116321181
maxLength: 50
@@ -21412,6 +21430,11 @@ components:
2141221430
type: string
2141321431
maxLength: 50
2141421432
description: Country, 2-letter ISO 3166-1 alpha-2 code.
21433+
geo_code:
21434+
type: string
21435+
maxLength: 20
21436+
description: Code that represents a geographic entity (location or object).
21437+
Only returned for Sling Vertex Integration
2141521438
Site:
2141621439
type: object
2141721440
properties:
@@ -24979,6 +25002,7 @@ components:
2497925002
- check
2498025003
- credit_card
2498125004
- eft
25005+
- google_pay
2498225006
- money_order
2498325007
- other
2498425008
- paypal
@@ -25172,6 +25196,7 @@ components:
2517225196
- credit_card
2517325197
- eft
2517425198
- gateway_token
25199+
- google_pay
2517525200
- iban_bank_account
2517625201
- money_order
2517725202
- other

0 commit comments

Comments
 (0)