Struct CreateTokenAccountCompany

Source
pub struct CreateTokenAccountCompany {
Show 23 fields pub address: Option<CreateTokenAccountCompanyAddress>, pub address_kana: Option<CreateTokenAccountCompanyAddressKana>, pub address_kanji: Option<CreateTokenAccountCompanyAddressKanji>, pub directors_provided: Option<bool>, pub directorship_declaration: Option<CreateTokenAccountCompanyDirectorshipDeclaration>, pub executives_provided: Option<bool>, pub export_license_id: Option<String>, pub export_purpose_code: Option<String>, pub name: Option<String>, pub name_kana: Option<String>, pub name_kanji: Option<String>, pub owners_provided: Option<bool>, pub ownership_declaration: Option<CreateTokenAccountCompanyOwnershipDeclaration>, pub ownership_declaration_shown_and_signed: Option<bool>, pub ownership_exemption_reason: Option<CreateTokenAccountCompanyOwnershipExemptionReason>, pub phone: Option<String>, pub registration_date: Option<CreateTokenAccountCompanyRegistrationDate>, pub registration_number: Option<String>, pub structure: Option<CreateTokenAccountCompanyStructure>, pub tax_id: Option<String>, pub tax_id_registrar: Option<String>, pub vat_id: Option<String>, pub verification: Option<CreateTokenAccountCompanyVerification>,
}
Expand description

Information about the company or business.

Fields§

§address: Option<CreateTokenAccountCompanyAddress>

The company’s primary address.

§address_kana: Option<CreateTokenAccountCompanyAddressKana>

The Kana variation of the company’s primary address (Japan only).

§address_kanji: Option<CreateTokenAccountCompanyAddressKanji>

The Kanji variation of the company’s primary address (Japan only).

§directors_provided: Option<bool>

Whether the company’s directors have been provided. Set this Boolean to true after creating all the company’s directors with the Persons API for accounts with a relationship.director requirement. This value is not automatically set to true after creating directors, so it needs to be updated to indicate all directors have been provided.

§directorship_declaration: Option<CreateTokenAccountCompanyDirectorshipDeclaration>

This hash is used to attest that the directors information provided to Stripe is both current and correct.

§executives_provided: Option<bool>

Whether the company’s executives have been provided. Set this Boolean to true after creating all the company’s executives with the Persons API for accounts with a relationship.executive requirement.

§export_license_id: Option<String>

The export license ID number of the company, also referred as Import Export Code (India only).

§export_purpose_code: Option<String>

The purpose code to use for export transactions (India only).

§name: Option<String>

The company’s legal name.

§name_kana: Option<String>

The Kana variation of the company’s legal name (Japan only).

§name_kanji: Option<String>

The Kanji variation of the company’s legal name (Japan only).

§owners_provided: Option<bool>

Whether the company’s owners have been provided. Set this Boolean to true after creating all the company’s owners with the Persons API for accounts with a relationship.owner requirement.

§ownership_declaration: Option<CreateTokenAccountCompanyOwnershipDeclaration>

This hash is used to attest that the beneficial owner information provided to Stripe is both current and correct.

§ownership_declaration_shown_and_signed: Option<bool>

Whether the user described by the data in the token has been shown the Ownership Declaration and indicated that it is correct.

§ownership_exemption_reason: Option<CreateTokenAccountCompanyOwnershipExemptionReason>

This value is used to determine if a business is exempt from providing ultimate beneficial owners. See this support article and changelog for more details.

§phone: Option<String>

The company’s phone number (used for verification).

§registration_date: Option<CreateTokenAccountCompanyRegistrationDate>§registration_number: Option<String>

The identification number given to a company when it is registered or incorporated, if distinct from the identification number used for filing taxes. (Examples are the CIN for companies and LLP IN for partnerships in India, and the Company Registration Number in Hong Kong).

§structure: Option<CreateTokenAccountCompanyStructure>

The category identifying the legal structure of the company or legal entity. See Business structure for more details. Pass an empty string to unset this value.

§tax_id: Option<String>

The business ID number of the company, as appropriate for the company’s country. (Examples are an Employer ID Number in the U.S., a Business Number in Canada, or a Company Number in the UK.).

§tax_id_registrar: Option<String>

The jurisdiction in which the tax_id is registered (Germany-based companies only).

§vat_id: Option<String>

The VAT number of the company.

§verification: Option<CreateTokenAccountCompanyVerification>

Information on the verification state of the company.

Implementations§

Trait Implementations§

Source§

impl Clone for CreateTokenAccountCompany

Source§

fn clone(&self) -> CreateTokenAccountCompany

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for CreateTokenAccountCompany

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for CreateTokenAccountCompany

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Serialize for CreateTokenAccountCompany

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more