Documentation ¶
Overview ¶
Package dispute provides API functions related to issuing disputes.
For more details, see: https://stripe.com/docs/api/go#issuing_disputes
Index ¶
- func Get(id string, params *stripe.IssuingDisputeParams) (*stripe.IssuingDispute, error)
- func New(params *stripe.IssuingDisputeParams) (*stripe.IssuingDispute, error)
- func Submit(id string, params *stripe.IssuingDisputeSubmitParams) (*stripe.IssuingDispute, error)
- func Update(id string, params *stripe.IssuingDisputeParams) (*stripe.IssuingDispute, error)
- type Client
- func (c Client) Get(id string, params *stripe.IssuingDisputeParams) (*stripe.IssuingDispute, error)
- func (c Client) List(listParams *stripe.IssuingDisputeListParams) *Iter
- func (c Client) New(params *stripe.IssuingDisputeParams) (*stripe.IssuingDispute, error)
- func (c Client) Submit(id string, params *stripe.IssuingDisputeSubmitParams) (*stripe.IssuingDispute, error)
- func (c Client) Update(id string, params *stripe.IssuingDisputeParams) (*stripe.IssuingDispute, error)
- type Iter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Get ¶
func Get(id string, params *stripe.IssuingDisputeParams) (*stripe.IssuingDispute, error)
Get returns the details of an issuing dispute.
func New ¶
func New(params *stripe.IssuingDisputeParams) (*stripe.IssuingDispute, error)
New creates a new issuing dispute.
func Submit ¶
func Submit(id string, params *stripe.IssuingDisputeSubmitParams) (*stripe.IssuingDispute, error)
Submit dismisses a dispute in the customer's favor.
func Update ¶
func Update(id string, params *stripe.IssuingDisputeParams) (*stripe.IssuingDispute, error)
Update updates an issuing dispute.
Types ¶
type Client ¶
Client is used to invoke /issuing/disputes APIs.
func (Client) Get ¶
func (c Client) Get(id string, params *stripe.IssuingDisputeParams) (*stripe.IssuingDispute, error)
Get returns the details of an issuing dispute.
func (Client) List ¶
func (c Client) List(listParams *stripe.IssuingDisputeListParams) *Iter
List returns a list of issuing disputes.
func (Client) New ¶
func (c Client) New(params *stripe.IssuingDisputeParams) (*stripe.IssuingDispute, error)
New creates a new issuing dispute.
func (Client) Submit ¶
func (c Client) Submit(id string, params *stripe.IssuingDisputeSubmitParams) (*stripe.IssuingDispute, error)
Submit dismisses a dispute in the customer's favor.
func (Client) Update ¶
func (c Client) Update(id string, params *stripe.IssuingDisputeParams) (*stripe.IssuingDispute, error)
Update updates an issuing dispute.
type Iter ¶
Iter is an iterator for issuing disputes.
func List ¶
func List(params *stripe.IssuingDisputeListParams) *Iter
List returns a list of issuing disputes.
func (*Iter) IssuingDispute ¶
func (i *Iter) IssuingDispute() *stripe.IssuingDispute
IssuingDispute returns the issuing dispute which the iterator is currently pointing to.
func (*Iter) IssuingDisputeList ¶
func (i *Iter) IssuingDisputeList() *stripe.IssuingDisputeList
IssuingDisputeList returns the current list object which the iterator is currently using. List objects will change as new API calls are made to continue pagination.