fee

package
v0.0.0-...-d8ed325 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2014 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

package fee provides the /application_fees APIs

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(id string, params *FeeParams) (*Fee, error)

Get returns the details of an application fee. For more details see https://stripe.com/docs/api#retrieve_application_fee.

func List

func List(params *FeeListParams) *FeeIter

List returns a list of application fees. For more details see https://stripe.com/docs/api#list_application_fees.

func RefundFee

func RefundFee(id string, params *FeeParams) (*FeeRefund, error)

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

Types

type Client

type Client struct {
	B   Backend
	Tok string
}

Client is used to invoke application_fees APIs.

func (Client) Get

func (c Client) Get(id string, params *FeeParams) (*Fee, error)

func (Client) List

func (c Client) List(params *FeeListParams) *FeeIter

func (Client) Refund

func (c Client) Refund(id string, params *FeeParams) (*FeeRefund, error)

Jump to

Keyboard shortcuts

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