dispute

package
v60.4.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2019 License: MIT Imports: 3 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.

func Get

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

Get returns the details of a dispute.

func Update

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

Update updates a 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)

Close dismisses a dispute in the customer's favor.

func (Client) Get

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

Get returns the details of a dispute.

func (Client) List

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

List returns a list of disputes.

func (Client) Update

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

Update updates a dispute.

type Iter

type Iter struct {
	*stripe.Iter
}

Iter is an iterator for disputes.

func List

func List(params *stripe.DisputeListParams) *Iter

List returns a list of disputes.

func (*Iter) Dispute

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

Dispute returns the dispute which the iterator is currently pointing to.

Jump to

Keyboard shortcuts

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