earlyfraudwarning

package
v81.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package earlyfraudwarning provides the /radar/early_fraud_warnings APIs

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

Retrieves the details of an early fraud warning that has previously been created.

Please refer to the [early fraud warning](https://stripe.com/docs/api#early_fraud_warning_object) object reference for more details.

Types

type Client

type Client struct {
	B   stripe.Backend
	Key string
}

Client is used to invoke /radar/early_fraud_warnings APIs.

func (Client) Get

Retrieves the details of an early fraud warning that has previously been created.

Please refer to the [early fraud warning](https://stripe.com/docs/api#early_fraud_warning_object) object reference for more details.

func (Client) List

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

Returns a list of early fraud warnings.

type Iter

type Iter struct {
	*stripe.Iter
}

Iter is an iterator for radar early fraud warnings.

func List

Returns a list of early fraud warnings.

func (*Iter) RadarEarlyFraudWarning

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

RadarEarlyFraudWarning returns the radar 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