Struct stripe::IssuingCardholder [−][src]
pub struct IssuingCardholder {Show 14 fields
pub id: IssuingCardholderId,
pub billing: IssuingCardholderAddress,
pub company: Option<Box<IssuingCardholderCompany>>,
pub created: Timestamp,
pub email: Option<Box<String>>,
pub individual: Option<Box<IssuingCardholderIndividual>>,
pub livemode: bool,
pub metadata: Metadata,
pub name: String,
pub phone_number: Option<Box<String>>,
pub requirements: IssuingCardholderRequirements,
pub spending_controls: Option<Box<IssuingCardholderAuthorizationControls>>,
pub status: IssuingCardholderStatus,
pub type_: IssuingCardholderType,
}
Expand description
The resource representing a Stripe “IssuingCardholder”.
Fields
id: IssuingCardholderId
Unique identifier for the object.
billing: IssuingCardholderAddress
company: Option<Box<IssuingCardholderCompany>>
Additional information about a company
cardholder.
created: Timestamp
Time at which the object was created.
Measured in seconds since the Unix epoch.
email: Option<Box<String>>
The cardholder’s email address.
individual: Option<Box<IssuingCardholderIndividual>>
Additional information about an individual
cardholder.
livemode: bool
Has the value true
if the object exists in live mode or the value false
if the object exists in test mode.
metadata: Metadata
Set of key-value pairs that you can attach to an object.
This can be useful for storing additional information about the object in a structured format.
name: String
The cardholder’s name.
This will be printed on cards issued to them.
phone_number: Option<Box<String>>
The cardholder’s phone number.
This is required for all cardholders who will be creating EU cards. See the 3D Secure documentation for more details.
requirements: IssuingCardholderRequirements
spending_controls: Option<Box<IssuingCardholderAuthorizationControls>>
Rules that control spending across this cardholder’s cards.
Refer to our documentation for more details.
status: IssuingCardholderStatus
Specifies whether to permit authorizations on this cardholder’s cards.
type_: IssuingCardholderType
One of individual
or company
.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for IssuingCardholder
impl Send for IssuingCardholder
impl Sync for IssuingCardholder
impl Unpin for IssuingCardholder
impl UnwindSafe for IssuingCardholder
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more