review

package
v60.13.0+incompatible Latest Latest
Warning

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

Go to latest
Published: May 8, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package review provides the /reviews APIs

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Approve

func Approve(id string, params *stripe.ReviewApproveParams) (*stripe.Review, error)

Approve approves a review.

func Get

func Get(id string, params *stripe.ReviewParams) (*stripe.Review, error)

Get returns the details of a review.

Types

type Client

type Client struct {
	B   stripe.Backend
	Key string
}

Client is used to invoke /reviews APIs.

func (Client) Approve

func (c Client) Approve(id string, params *stripe.ReviewApproveParams) (*stripe.Review, error)

Approve approves a review.

func (Client) Get

func (c Client) Get(id string, params *stripe.ReviewParams) (*stripe.Review, error)

Get returns the details of a review.

func (Client) List

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

List returns a list of reviews.

type Iter

type Iter struct {
	*stripe.Iter
}

Iter is an iterator for reviews.

func List

func List(params *stripe.ReviewListParams) *Iter

List returns a list of reviews.

func (*Iter) Review

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

Review returns the review which the iterator is currently pointing to.

Jump to

Keyboard shortcuts

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