Struct stripe::Client[][src]

pub struct Client { /* fields omitted */ }

Methods

impl Client
[src]

Clones a new client with different params.

This is the recommended way to send requests for many different Stripe accounts or with different Meta, Extra, and Expand params while using the same secret key.

Sets a value for the Stripe-Account header

This is recommended if you are acting as only one Account for the lifetime of the client. Otherwise, prefer client.with(Params{stripe_account: "acct_ABC", ..}).

Trait Implementations

impl Clone for Client
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Client

impl Sync for Client