Enum stripe::PaymentSource[][src]

pub enum PaymentSource {
    Card(Card),
    Source(Source),
}

Variants

Methods

impl PaymentSource
[src]

Attaches a source to a customer, does not change default Source for the Customer

For more details see https://stripe.com/docs/api#attach_source.

Detaches a source from a customer

For more details see https://stripe.com/docs/api#detach_source.

Trait Implementations

impl Debug for PaymentSource
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations