The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Net::API::Stripe::Fraud::ValueList::Item - A Stripe Value List Item Object

SYNOPSIS

    my $item = $stripe->value_list_item({
        created_by => 'john.doe@example.com',
        value => '1.2.3.4',
        value_list => 'rsl_1FVF3MCeyNCl6fY2Wg2IWniP',
    });

See documentation in Net::API::Stripe for example to make api calls to Stripe to create those objects.

VERSION

    v0.100.0

DESCRIPTION

Value list items allow you to add specific values to a given Radar value list, which can then be used in rules.

CONSTRUCTOR

new( %ARG )

Creates a new Net::API::Stripe::Fraud::ValueList::Item object. It may also take an hash like arguments, that also are method of the same name.

METHODS

id string

Unique identifier for the object.

object string, value is "radar.value_list_item"

String representing the object’s type. Objects of the same type share the same value.

created timestamp

Time at which the object was created. Measured in seconds since the Unix epoch.

This is a DateTime object.

created_by string

The name or email address of the user who added this item to the value list.

livemode boolean

Has the value true if the object exists in live mode or the value false if the object exists in test mode.

value string

The value of the item.

value_list string

The identifier of the value list this item belongs to.

API SAMPLE

        {
          "id": "rsli_fake123456789",
          "object": "radar.value_list_item",
          "created": 1571480456,
          "created_by": "jenny@example.com",
          "livemode": false,
          "value": "1.2.3.4",
          "value_list": "rsl_1FVF3MCeyNCl6fY2Wg2IWniP"
        }

HISTORY

v0.1

Initial version

AUTHOR

Jacques Deguest <jack@deguest.jp>

SEE ALSO

Stripe API documentation:

https://stripe.com/docs/api/radar/value_list_items, https://stripe.com/docs/radar/lists#managing-list-items

COPYRIGHT & LICENSE

Copyright (c) 2019-2020 DEGUEST Pte. Ltd.

You can use, copy, modify and redistribute this package and associated files under the same terms as Perl itself.