feerefund

package
v72.122.0 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package feerefund provides the /application_fees/{id}/refunds APIs

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(id string, params *stripe.FeeRefundParams) (*stripe.FeeRefund, error)

Get returns the details of a fee refund.

func New

func New(params *stripe.FeeRefundParams) (*stripe.FeeRefund, error)

New creates a new fee refund.

func Update

func Update(id string, params *stripe.FeeRefundParams) (*stripe.FeeRefund, error)

Update updates a fee refund's properties.

Types

type Client

type Client struct {
	B   stripe.Backend
	Key string
}

Client is used to invoke /application_fees/{id}/refunds APIs.

func (Client) Get

func (c Client) Get(id string, params *stripe.FeeRefundParams) (*stripe.FeeRefund, error)

Get returns the details of a fee refund.

func (Client) List

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

List returns a list of fee refunds.

func (Client) New

func (c Client) New(params *stripe.FeeRefundParams) (*stripe.FeeRefund, error)

New creates a new fee refund.

func (Client) Update

func (c Client) Update(id string, params *stripe.FeeRefundParams) (*stripe.FeeRefund, error)

Update updates a fee refund's properties.

type Iter

type Iter struct {
	*stripe.Iter
}

Iter is an iterator for fee refunds.

func List

func List(params *stripe.FeeRefundListParams) *Iter

List returns a list of fee refunds.

func (*Iter) FeeRefund

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

FeeRefund returns the fee refund which the iterator is currently pointing to.

func (*Iter) FeeRefundList

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

FeeRefundList 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