earlyfraudwarning

package
v72.35.0-capchase.4 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2021 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.

func (*Iter) RadarEarlyFraudWarningList

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

RadarEarlyFraudWarningList 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