StripeKit 0.1.1
Stripe integration toolkit for C++
Loading...
Searching...
No Matches
stripekit::Customer Struct Reference

A Stripe customer: the account everything else is billed against. More...

#include <Models.h>

Public Attributes

std::string id
 Stripe-assigned customer identifier.
std::string email
 Customer email address.
std::string name
 Customer display name.
bool livemode = false
 True when the object belongs to a live Stripe account.
std::unordered_map< std::string, std::string > metadata
 Free-form metadata key/value pairs attached to this customer.

Detailed Description

A Stripe customer: the account everything else is billed against.

See also
https://docs.stripe.com/api/customers/object

Definition at line 28 of file Models.h.

Member Data Documentation

◆ id

std::string stripekit::Customer::id

Stripe-assigned customer identifier.

Definition at line 30 of file Models.h.

◆ email

std::string stripekit::Customer::email

Customer email address.

Definition at line 33 of file Models.h.

◆ name

std::string stripekit::Customer::name

Customer display name.

Definition at line 36 of file Models.h.

◆ livemode

bool stripekit::Customer::livemode = false

True when the object belongs to a live Stripe account.

Definition at line 39 of file Models.h.

◆ metadata

std::unordered_map<std::string, std::string> stripekit::Customer::metadata

Free-form metadata key/value pairs attached to this customer.

Definition at line 42 of file Models.h.


The documentation for this struct was generated from the following file: