Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -8282,7 +8282,7 @@
},
"externalDocs": {
"description": "Address documentation",
"url": "https://backstage.sumup.net/docs/default/Component/merchants/merchant/#addresses"
"url": "https://developer.sumup.com/tools/glossary/address"
},
"required": [
"country"
Expand Down
12 changes: 6 additions & 6 deletions sumup/types/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class Address(pydantic.BaseModel):
"""
An address somewhere in the world. The address fields used depend on the country conventions. For example, inGreat Britain, `city` is `post_town`. In the United States, the top-level administrative unit used in addressesis `state`, whereas in Chile it's `region`.
Whether an address is valid or not depends on whether the locally required fields are present. Fields not supported ina country will be ignored.
Address documentation: https://backstage.sumup.net/docs/default/Component/merchants/merchant/#addresses
Address documentation: https://developer.sumup.com/tools/glossary/address
"""

country: CountryCode
Expand Down Expand Up @@ -324,7 +324,7 @@ class BasePerson(pydantic.BaseModel):
"""
An address somewhere in the world. The address fields used depend on the country conventions. For example, inGreat Britain, `city` is `post_town`. In the United States, the top-level administrative unit used in addressesis `state`, whereas in Chile it's `region`.
Whether an address is valid or not depends on whether the locally required fields are present. Fields not supported ina country will be ignored.
Address documentation: https://backstage.sumup.net/docs/default/Component/merchants/merchant/#addresses
Address documentation: https://developer.sumup.com/tools/glossary/address
"""

birthdate: typing.Optional[datetime.date] = None
Expand Down Expand Up @@ -470,7 +470,7 @@ class BusinessProfile(pydantic.BaseModel):
"""
An address somewhere in the world. The address fields used depend on the country conventions. For example, inGreat Britain, `city` is `post_town`. In the United States, the top-level administrative unit used in addressesis `state`, whereas in Chile it's `region`.
Whether an address is valid or not depends on whether the locally required fields are present. Fields not supported ina country will be ignored.
Address documentation: https://backstage.sumup.net/docs/default/Component/merchants/merchant/#addresses
Address documentation: https://developer.sumup.com/tools/glossary/address
"""

branding: typing.Optional[Branding] = None
Expand Down Expand Up @@ -1524,7 +1524,7 @@ class Company(pydantic.BaseModel):
"""
An address somewhere in the world. The address fields used depend on the country conventions. For example, inGreat Britain, `city` is `post_town`. In the United States, the top-level administrative unit used in addressesis `state`, whereas in Chile it's `region`.
Whether an address is valid or not depends on whether the locally required fields are present. Fields not supported ina country will be ignored.
Address documentation: https://backstage.sumup.net/docs/default/Component/merchants/merchant/#addresses
Address documentation: https://developer.sumup.com/tools/glossary/address
"""

attributes: typing.Optional[Attributes] = None
Expand Down Expand Up @@ -1568,7 +1568,7 @@ class Company(pydantic.BaseModel):
"""
An address somewhere in the world. The address fields used depend on the country conventions. For example, inGreat Britain, `city` is `post_town`. In the United States, the top-level administrative unit used in addressesis `state`, whereas in Chile it's `region`.
Whether an address is valid or not depends on whether the locally required fields are present. Fields not supported ina country will be ignored.
Address documentation: https://backstage.sumup.net/docs/default/Component/merchants/merchant/#addresses
Address documentation: https://developer.sumup.com/tools/glossary/address
"""

website: typing.Optional[str] = None
Expand Down Expand Up @@ -2501,7 +2501,7 @@ class Person(pydantic.BaseModel):
"""
An address somewhere in the world. The address fields used depend on the country conventions. For example, inGreat Britain, `city` is `post_town`. In the United States, the top-level administrative unit used in addressesis `state`, whereas in Chile it's `region`.
Whether an address is valid or not depends on whether the locally required fields are present. Fields not supported ina country will be ignored.
Address documentation: https://backstage.sumup.net/docs/default/Component/merchants/merchant/#addresses
Address documentation: https://developer.sumup.com/tools/glossary/address
"""

birthdate: typing.Optional[datetime.date] = None
Expand Down
Loading