dispute

package
v78.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package dispute provides the /disputes APIs

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 is the method for the `POST /v1/disputes/{dispute}/close` API.

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's properties.

Types

type Client

type Client struct {
	B   stripe.Backend
	Key string
}

Client is used to invoke /disputes APIs.

func (Client) Close

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

Close is the method for the `POST /v1/disputes/{dispute}/close` API.

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's properties.

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.

func (*Iter) DisputeList

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

DisputeList returns the current list object which the iterator is currently using. List objects will change as new API calls are made to continue pagination.

Jump to

Keyboard shortcuts

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