feerefund

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2014 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package feerefund provides the /application_fees/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. For more details see https://stripe.com/docs/api#retrieve_fee_refund.

func New

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

New refunds the application fee collected. For more details see https://stripe.com/docs/api#refund_application_fee.

func Update

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

Update updates a refund's properties. For more details see https://stripe.com/docs/api#update_refund.

Types

type Client

type Client struct {
	B   stripe.Backend
	Key string
}

Client is used to invoke /application_fees/refunds APIs.

func (Client) Get

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

func (Client) List

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

func (Client) New

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

func (Client) Update

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

type Iter

type Iter struct {
	Iter *stripe.Iter
}

Iter is a iterator for list responses.

func List

func List(params *stripe.FeeRefundListParams) *Iter

List returns a list of fee refunds. For more details see https://stripe.com/docs/api#list_fee_refunds.

func (*Iter) Meta

func (i *Iter) Meta() *stripe.ListMeta

Meta returns the list metadata.

func (*Iter) Next

func (i *Iter) Next() (*stripe.FeeRefund, error)

Next returns the next value in the list.

func (*Iter) Stop

func (i *Iter) Stop() bool

Stop returns true if there are no more iterations to be performed.

Jump to

Keyboard shortcuts

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