dispute

package
v34.2.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 14, 2018 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Close

func Close(id string, params *stripe.DisputeParams) (*stripe.Dispute, error)

Close dismisses a dispute in the customer's favor. For more details see https://stripe.com/docs/api#close_dispute.

func Get

func Get(id string, params *stripe.DisputeParams) (*stripe.Dispute, error)

Get returns the details of a dispute. For more details see https://stripe.com/docs/api#retrieve_dispute.

func Update

func Update(id string, params *stripe.DisputeParams) (*stripe.Dispute, error)

Update updates a dispute. For more details see https://stripe.com/docs/api#update_dispute.

Types

type Client

type Client struct {
	B   stripe.Backend
	Key string
}

Client is used to invoke dispute-related APIs.

func (Client) Close

func (c Client) Close(id string, params *stripe.DisputeParams) (*stripe.Dispute, error)

func (Client) Get

func (c Client) Get(id string, params *stripe.DisputeParams) (*stripe.Dispute, error)

func (Client) List

func (c Client) List(listParams *stripe.DisputeListParams) *Iter

func (Client) Update

func (c Client) Update(id string, params *stripe.DisputeParams) (*stripe.Dispute, error)

type Iter

type Iter struct {
	*stripe.Iter
}

Iter is an iterator for lists of Disputes. The embedded Iter carries methods with it; see its documentation for details.

func List

func List(params *stripe.DisputeListParams) *Iter

List returns a list of disputes. For more details see https://stripe.com/docs/api#list_disputes.

func (*Iter) Dispute

func (i *Iter) Dispute() *stripe.Dispute

Dispute returns the most recent Dispute visited by a call to Next.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL