Documentation ¶
Index ¶
- func Detach(id string, params *stripe.SourceObjectDetachParams) (*stripe.Source, error)
- func Get(id string, params *stripe.SourceObjectParams) (*stripe.Source, error)
- func New(params *stripe.SourceObjectParams) (*stripe.Source, error)
- func Update(id string, params *stripe.SourceObjectParams) (*stripe.Source, error)
- type Client
- func (c Client) Detach(id string, params *stripe.SourceObjectDetachParams) (*stripe.Source, error)
- func (c Client) Get(id string, params *stripe.SourceObjectParams) (*stripe.Source, error)
- func (c Client) New(params *stripe.SourceObjectParams) (*stripe.Source, error)
- func (c Client) Update(id string, params *stripe.SourceObjectParams) (*stripe.Source, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Get ¶
Get returns the details of a source For more details see https://stripe.com/docs/api#retrieve_source.
func New ¶
func New(params *stripe.SourceObjectParams) (*stripe.Source, error)
New POSTs a new source. For more details see https://stripe.com/docs/api#create_source.
func Update ¶
Update updates a source's properties. For more details see https://stripe.com/docs/api#update_source.
Types ¶
type Client ¶
Client is used to invoke /sources APIs.
func (Client) Get ¶
Get returns the details of a source For more details see https://stripe.com/docs/api#retrieve_source.
func (Client) New ¶
New POSTs a new source. For more details see https://stripe.com/docs/api#create_source.
Click to show internal directories.
Click to hide internal directories.