Skip to content
Merged
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
26 changes: 13 additions & 13 deletions tastytrade/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,27 +192,16 @@ class Customer(TastytradeData):

id: str
first_name: str
first_surname: str
last_name: str
address: Address
customer_suitability: CustomerSuitability
mailing_address: Address
is_foreign: bool
regulatory_domain: str
usa_citizenship_type: str
home_phone_number: str
mobile_phone_number: str
work_phone_number: str
birth_date: date
email: str
external_id: str
tax_number: str
tax_number_type: str
citizenship_country: str
agreed_to_margining: bool
subject_to_tax_withholding: bool
agreed_to_terms: bool
ext_crm_id: str
has_industry_affiliation: bool
has_listed_affiliation: bool
has_political_affiliation: bool
Expand All @@ -221,8 +210,19 @@ class Customer(TastytradeData):
is_professional: bool
permitted_account_types: list[CustomerAccountType]
created_at: datetime
identifiable_type: str
person: CustomerPerson
first_surname: str | None = None
customer_suitability: CustomerSuitability | None = None
regulatory_domain: str | None = None
home_phone_number: str | None = None
work_phone_number: str | None = None
external_id: str | None = None
tax_number: str | None = None
citizenship_country: str | None = None
agreed_to_margining: bool | None = None
agreed_to_terms: bool | None = None
ext_crm_id: str | None = None
identifiable_type: str | None = None
person: CustomerPerson | None = None
gender: str | None = None
middle_name: str | None = None
prefix_name: str | None = None
Expand Down
Loading