Struct stripe::Company

source ·
pub struct Company {
Show 18 fields pub address: Option<Address>, pub address_kana: Option<Address>, pub address_kanji: Option<Address>, pub directors_provided: Option<bool>, 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<LegalEntityUboDeclaration>, pub phone: Option<String>, pub structure: Option<CompanyStructure>, pub tax_id_provided: Option<bool>, pub tax_id_registrar: Option<String>, pub vat_id_provided: Option<bool>, pub verification: Option<CompanyVerification>,
}

Fields§

§address: Option<Address>§address_kana: Option<Address>

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

§address_kanji: Option<Address>

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

§directors_provided: Option<bool>

Whether the company’s directors have been provided.

This Boolean will be true if you’ve manually indicated that all directors are provided via the directors_provided parameter.

§executives_provided: Option<bool>

Whether the company’s executives have been provided.

This Boolean will be true if you’ve manually indicated that all executives are provided via the executives_provided parameter, or if Stripe determined that sufficient executives were provided.

§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.

This Boolean will be true if you’ve manually indicated that all owners are provided via the owners_provided parameter, or if Stripe determined that sufficient owners were provided. Stripe determines ownership requirements using both the number of owners provided and their total percent ownership (calculated by adding the percent_ownership of each owner together).

§ownership_declaration: Option<LegalEntityUboDeclaration>

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

§phone: Option<String>

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

§structure: Option<CompanyStructure>

The category identifying the legal structure of the company or legal entity.

See Business structure for more details.

§tax_id_provided: Option<bool>

Whether the company’s business ID number was provided.

§tax_id_registrar: Option<String>

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

§vat_id_provided: Option<bool>

Whether the company’s business VAT number was provided.

§verification: Option<CompanyVerification>

Information on the verification state of the company.

Trait Implementations§

source§

impl Clone for Company

source§

fn clone(&self) -> Company

Returns a copy 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 Company

source§

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

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

impl Default for Company

source§

fn default() -> Company

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

impl<'de> Deserialize<'de> for Company

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for Company

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> 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> Same for T

§

type Output = T

Should always be Self
source§

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

§

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>,

§

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>,

§

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<V, T> VZip<V> for T
where V: MultiLane<T>,

source§

fn vzip(self) -> V

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
source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,