Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds executives_provided to AccountCompany #1006

Merged
merged 1 commit into from
Dec 20, 2019
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
54 changes: 28 additions & 26 deletions account.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,19 +133,20 @@ type AccountCompanyVerificationParams struct {

// AccountCompanyParams are the parameters describing the company associated with the account.
type AccountCompanyParams struct {
Address *AccountAddressParams `form:"address"`
AddressKana *AccountAddressParams `form:"address_kana"`
AddressKanji *AccountAddressParams `form:"address_kanji"`
DirectorsProvided *bool `form:"directors_provided"`
Name *string `form:"name"`
NameKana *string `form:"name_kana"`
NameKanji *string `form:"name_kanji"`
OwnersProvided *bool `form:"owners_provided"`
Phone *string `form:"phone"`
TaxID *string `form:"tax_id"`
TaxIDRegistrar *string `form:"tax_id_registrar"`
VATID *string `form:"vat_id"`
Verification *AccountCompanyVerificationParams `form:"verification"`
Address *AccountAddressParams `form:"address"`
AddressKana *AccountAddressParams `form:"address_kana"`
AddressKanji *AccountAddressParams `form:"address_kanji"`
DirectorsProvided *bool `form:"directors_provided"`
ExecutivesProvided *bool `form:"executives_provided"`
Name *string `form:"name"`
NameKana *string `form:"name_kana"`
NameKanji *string `form:"name_kanji"`
OwnersProvided *bool `form:"owners_provided"`
Phone *string `form:"phone"`
TaxID *string `form:"tax_id"`
TaxIDRegistrar *string `form:"tax_id_registrar"`
VATID *string `form:"vat_id"`
Verification *AccountCompanyVerificationParams `form:"verification"`
}

// AccountDeclineSettingsParams represents the parameters allowed for configuring
Expand Down Expand Up @@ -328,19 +329,20 @@ type AccountCompanyVerification struct {

// AccountCompany represents details about the company or business associated with the account.
type AccountCompany struct {
Address *AccountAddress `json:"address"`
AddressKana *AccountAddress `json:"address_kana"`
AddressKanji *AccountAddress `json:"address_kanji"`
DirectorsProvided bool `json:"directors_provided"`
Name string `json:"name"`
NameKana string `json:"name_kana"`
NameKanji string `json:"name_kanji"`
OwnersProvided bool `json:"owners_provided"`
Phone string `json:"phone"`
TaxIDProvided bool `json:"tax_id_provided"`
TaxIDRegistrar string `json:"tax_id_registrar"`
VATIDProvided bool `json:"vat_id_provided"`
Verification *AccountCompanyVerification `json:"verification"`
Address *AccountAddress `json:"address"`
AddressKana *AccountAddress `json:"address_kana"`
AddressKanji *AccountAddress `json:"address_kanji"`
DirectorsProvided bool `json:"directors_provided"`
ExecutivesProvided bool `json:"executives_provided"`
Name string `json:"name"`
NameKana string `json:"name_kana"`
NameKanji string `json:"name_kanji"`
OwnersProvided bool `json:"owners_provided"`
Phone string `json:"phone"`
TaxIDProvided bool `json:"tax_id_provided"`
TaxIDRegistrar string `json:"tax_id_registrar"`
VATIDProvided bool `json:"vat_id_provided"`
Verification *AccountCompanyVerification `json:"verification"`
}

// AccountDeclineOn represents card charges decline behavior for that account.
Expand Down