earlyfraudwarning

package
v70.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package earlyfraudwarning provides API functions related to early fraud warnings.

For more details, see: https://stripe.com/docs/api/early_fraud_warnings?lang=go

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

Get returns the details of an early fraud warning.

Types

type Client

type Client struct {
	B   stripe.Backend
	Key string
}

Client is used to interact with the /radar/early_fraud_warnings API.

func (Client) Get

Get returns the details of an early fraud warning.

func (Client) List

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

List returns a list of early fraud warnings.

type Iter

type Iter struct {
	*stripe.Iter
}

Iter is an iterator for early fraud warnings.

func List

List returns a list of early fraud warnings.

func (*Iter) RadarEarlyFraudWarning

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

RadarEarlyFraudWarning returns the early fraud warning 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