Documentation ¶
Overview ¶
Package refund provides the /refunds APIs
Index ¶
- func Get(id string, params *stripe.RefundParams) (*stripe.Refund, error)
- func New(params *stripe.RefundParams) (*stripe.Refund, error)
- func Update(id string, params *stripe.RefundParams) (*stripe.Refund, error)
- type Client
- func (c Client) Get(id string, params *stripe.RefundParams) (*stripe.Refund, error)
- func (c Client) List(params *stripe.RefundListParams) *Iter
- func (c Client) New(params *stripe.RefundParams) (*stripe.Refund, error)
- func (c Client) Update(id string, params *stripe.RefundParams) (*stripe.Refund, error)
- type Iter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Get ¶
Get returns the details of a refund. For more details see https://stripe.com/docs/api#retrieve_refund.
func New ¶
func New(params *stripe.RefundParams) (*stripe.Refund, error)
New refunds a charge previously created. For more details see https://stripe.com/docs/api#refund_charge.
func Update ¶
Update updates a refund's properties. For more details see https://stripe.com/docs/api#update_refund.
Types ¶
type Iter ¶
Iter is an iterator for lists of Refunds. The embedded Iter carries methods with it; see its documentation for details.
func List ¶
func List(params *stripe.RefundListParams) *Iter
List returns a list of refunds. For more details see https://stripe.com/docs/api#list_refunds.
Click to show internal directories.
Click to hide internal directories.