pyocf.types.address

Type representation of an address

pydantic model pyocf.types.address.Address

Type representation of an address

field address_type: Annotated[AddressType, FieldInfo(annotation=NoneType, required=True, description='What type of address is this (e.g. legal address, contact address, etc.)')] [Required]

What type of address is this (e.g. legal address, contact address, etc.)

field city: Annotated[str, FieldInfo(annotation=NoneType, required=True, description='City')] | None = None
field country: Annotated[CountryCode, FieldInfo(annotation=NoneType, required=True, description='Country code for this address (ISO 3166-1 alpha-2)')] [Required]

Country code for this address (ISO 3166-1 alpha-2)

field country_subdivision: Annotated[CountrySubdivisionCode, FieldInfo(annotation=NoneType, required=True, description='State, province, or equivalent identifier required for an address in thiscountry')] | None = None
field postal_code: Annotated[str, FieldInfo(annotation=NoneType, required=True, description='Address postal code')] | None = None
field street_suite: Annotated[str, FieldInfo(annotation=NoneType, required=True, description='Street address (multi-line string)')] | None = None