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 v2core_account.go
Original file line number Diff line number Diff line change
Expand Up @@ -4400,7 +4400,7 @@ type V2CoreAccountIdentityIndividualRelationship struct {
// Whether the individual is an owner of the Account's identity.
Owner bool `json:"owner,omitempty"`
// The percentage of the Account's identity that the individual owns.
PercentOwnership string `json:"percent_ownership,omitempty"`
PercentOwnership float64 `json:"percent_ownership,string,omitempty"`
// Whether the individual is authorized as the primary representative of the Account. This is the person nominated by the business to provide information about themselves, and general information about the account. There can only be one representative at any given time. At the time the account is created, this person should be set to the person responsible for opening the account.
Representative bool `json:"representative,omitempty"`
// The individual's title (e.g., CEO, Support Engineer).
Expand Down
6 changes: 3 additions & 3 deletions v2core_account_params.go
Original file line number Diff line number Diff line change
Expand Up @@ -1148,7 +1148,7 @@ type V2CoreAccountIdentityIndividualRelationshipParams struct {
// Whether the person is an owner of the account's identity.
Owner *bool `form:"owner" json:"owner,omitempty"`
// The percent owned by the person of the account's legal entity.
PercentOwnership *string `form:"percent_ownership" json:"percent_ownership,omitempty"`
PercentOwnership *float64 `form:"percent_ownership,high_precision" json:"percent_ownership,string,omitempty"`
// The person's title (e.g., CEO, Support Engineer).
Title *string `form:"title" json:"title,omitempty"`
}
Expand Down Expand Up @@ -2458,7 +2458,7 @@ type V2CoreAccountCreateIdentityIndividualRelationshipParams struct {
// Whether the person is an owner of the account's identity.
Owner *bool `form:"owner" json:"owner,omitempty"`
// The percent owned by the person of the account's legal entity.
PercentOwnership *string `form:"percent_ownership" json:"percent_ownership,omitempty"`
PercentOwnership *float64 `form:"percent_ownership,high_precision" json:"percent_ownership,string,omitempty"`
// The person's title (e.g., CEO, Support Engineer).
Title *string `form:"title" json:"title,omitempty"`
}
Expand Down Expand Up @@ -3782,7 +3782,7 @@ type V2CoreAccountUpdateIdentityIndividualRelationshipParams struct {
// Whether the person is an owner of the account's identity.
Owner *bool `form:"owner" json:"owner,omitempty"`
// The percent owned by the person of the account's legal entity.
PercentOwnership *string `form:"percent_ownership" json:"percent_ownership,omitempty"`
PercentOwnership *float64 `form:"percent_ownership,high_precision" json:"percent_ownership,string,omitempty"`
// The person's title (e.g., CEO, Support Engineer).
Title *string `form:"title" json:"title,omitempty"`
}
Expand Down
2 changes: 1 addition & 1 deletion v2core_accountperson.go
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ type V2CoreAccountPersonRelationship struct {
// Whether the individual is an owner of the Account's identity.
Owner bool `json:"owner,omitempty"`
// The percentage of the Account's identity that the individual owns.
PercentOwnership string `json:"percent_ownership,omitempty"`
PercentOwnership float64 `json:"percent_ownership,string,omitempty"`
// Whether the individual is authorized as the primary representative of the Account. This is the person nominated by the business to provide information about themselves, and general information about the account. There can only be one representative at any given time. At the time the account is created, this person should be set to the person responsible for opening the account.
Representative bool `json:"representative,omitempty"`
// The individual's title (e.g., CEO, Support Engineer).
Expand Down
4 changes: 2 additions & 2 deletions v2core_accounttoken_params.go
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ type V2CoreAccountTokenIdentityIndividualRelationshipParams struct {
// Whether the person is an owner of the account's identity.
Owner *bool `form:"owner" json:"owner,omitempty"`
// The percent owned by the person of the account's legal entity.
PercentOwnership *string `form:"percent_ownership" json:"percent_ownership,omitempty"`
PercentOwnership *float64 `form:"percent_ownership,high_precision" json:"percent_ownership,string,omitempty"`
// The person's title (e.g., CEO, Support Engineer).
Title *string `form:"title" json:"title,omitempty"`
}
Expand Down Expand Up @@ -1069,7 +1069,7 @@ type V2CoreAccountTokenCreateIdentityIndividualRelationshipParams struct {
// Whether the person is an owner of the account's identity.
Owner *bool `form:"owner" json:"owner,omitempty"`
// The percent owned by the person of the account's legal entity.
PercentOwnership *string `form:"percent_ownership" json:"percent_ownership,omitempty"`
PercentOwnership *float64 `form:"percent_ownership,high_precision" json:"percent_ownership,string,omitempty"`
// The person's title (e.g., CEO, Support Engineer).
Title *string `form:"title" json:"title,omitempty"`
}
Expand Down
6 changes: 3 additions & 3 deletions v2coreaccounts_person_params.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ type V2CoreAccountsPersonRelationshipParams struct {
// Indicates whether the person is an owner of the associated legal entity.
Owner *bool `form:"owner" json:"owner,omitempty"`
// The percentage of ownership the person has in the associated legal entity.
PercentOwnership *string `form:"percent_ownership" json:"percent_ownership,omitempty"`
PercentOwnership *float64 `form:"percent_ownership,high_precision" json:"percent_ownership,string,omitempty"`
// Indicates whether the person is a representative of the associated legal entity.
Representative *bool `form:"representative" json:"representative,omitempty"`
// The title or position the person holds in the associated legal entity.
Expand Down Expand Up @@ -480,7 +480,7 @@ type V2CoreAccountsPersonCreateRelationshipParams struct {
// Indicates whether the person is an owner of the associated legal entity.
Owner *bool `form:"owner" json:"owner,omitempty"`
// The percentage of ownership the person has in the associated legal entity.
PercentOwnership *string `form:"percent_ownership" json:"percent_ownership,omitempty"`
PercentOwnership *float64 `form:"percent_ownership,high_precision" json:"percent_ownership,string,omitempty"`
// Indicates whether the person is a representative of the associated legal entity.
Representative *bool `form:"representative" json:"representative,omitempty"`
// The title or position the person holds in the associated legal entity.
Expand Down Expand Up @@ -790,7 +790,7 @@ type V2CoreAccountsPersonUpdateRelationshipParams struct {
// Indicates whether the person is an owner of the associated legal entity.
Owner *bool `form:"owner" json:"owner,omitempty"`
// The percentage of ownership the person has in the associated legal entity.
PercentOwnership *string `form:"percent_ownership" json:"percent_ownership,omitempty"`
PercentOwnership *float64 `form:"percent_ownership,high_precision" json:"percent_ownership,string,omitempty"`
// Indicates whether the person is a representative of the associated legal entity.
Representative *bool `form:"representative" json:"representative,omitempty"`
// The title or position the person holds in the associated legal entity.
Expand Down
4 changes: 2 additions & 2 deletions v2coreaccounts_persontoken_params.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ type V2CoreAccountsPersonTokenRelationshipParams struct {
// Indicates whether the person is an owner of the associated legal entity.
Owner *bool `form:"owner" json:"owner,omitempty"`
// The percentage of ownership the person has in the associated legal entity.
PercentOwnership *string `form:"percent_ownership" json:"percent_ownership,omitempty"`
PercentOwnership *float64 `form:"percent_ownership,high_precision" json:"percent_ownership,string,omitempty"`
// Indicates whether the person is a representative of the associated legal entity.
Representative *bool `form:"representative" json:"representative,omitempty"`
// The title or position the person holds in the associated legal entity.
Expand Down Expand Up @@ -459,7 +459,7 @@ type V2CoreAccountsPersonTokenCreateRelationshipParams struct {
// Indicates whether the person is an owner of the associated legal entity.
Owner *bool `form:"owner" json:"owner,omitempty"`
// The percentage of ownership the person has in the associated legal entity.
PercentOwnership *string `form:"percent_ownership" json:"percent_ownership,omitempty"`
PercentOwnership *float64 `form:"percent_ownership,high_precision" json:"percent_ownership,string,omitempty"`
// Indicates whether the person is a representative of the associated legal entity.
Representative *bool `form:"representative" json:"representative,omitempty"`
// The title or position the person holds in the associated legal entity.
Expand Down
Loading