Struct stripe::generated::issuing::issuing_cardholder::IssuingCardholder
source · pub struct IssuingCardholder {Show 15 fields
pub id: IssuingCardholderId,
pub billing: IssuingCardholderAddress,
pub company: Option<IssuingCardholderCompany>,
pub created: Timestamp,
pub email: Option<String>,
pub individual: Option<IssuingCardholderIndividual>,
pub livemode: bool,
pub metadata: Metadata,
pub name: String,
pub phone_number: Option<String>,
pub preferred_locales: Option<Vec<IssuingCardholderPreferredLocales>>,
pub requirements: IssuingCardholderRequirements,
pub spending_controls: Option<IssuingCardholderAuthorizationControls>,
pub status: IssuingCardholderStatus,
pub type_: IssuingCardholderType,
}
Expand description
The resource representing a Stripe “IssuingCardholder”.
For more details see https://stripe.com/docs/api/issuing/cardholders/object
Fields§
§id: IssuingCardholderId
Unique identifier for the object.
billing: IssuingCardholderAddress
§company: Option<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<String>
The cardholder’s email address.
individual: Option<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<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.
preferred_locales: Option<Vec<IssuingCardholderPreferredLocales>>
The cardholder’s preferred locales (languages), ordered by preference.
Locales can be de
, en
, es
, fr
, or it
. This changes the language of the 3D Secure flow and one-time password messages sent to the cardholder.
requirements: IssuingCardholderRequirements
§spending_controls: Option<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
.
See Choose a cardholder type for more details.
Trait Implementations§
source§impl Clone for IssuingCardholder
impl Clone for IssuingCardholder
source§fn clone(&self) -> IssuingCardholder
fn clone(&self) -> IssuingCardholder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for IssuingCardholder
impl Debug for IssuingCardholder
source§impl Default for IssuingCardholder
impl Default for IssuingCardholder
source§fn default() -> IssuingCardholder
fn default() -> IssuingCardholder
source§impl<'de> Deserialize<'de> for IssuingCardholder
impl<'de> Deserialize<'de> for IssuingCardholder
source§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>,
source§impl Object for IssuingCardholder
impl Object for IssuingCardholder
Auto Trait Implementations§
impl Freeze for IssuingCardholder
impl RefUnwindSafe for IssuingCardholder
impl Send for IssuingCardholder
impl Sync for IssuingCardholder
impl Unpin for IssuingCardholder
impl UnwindSafe for IssuingCardholder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)