The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Net::API::Stripe::Order::SKU::Inventory - A Stripe SKU Inventory Object

SYNOPSIS

VERSION

    0.1

DESCRIPTION

Description of the SKU’s inventory.

CONSTRUCTOR

new( %ARG )

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

verbose

Toggles verbose mode on/off

debug

Toggles debug mode on/off

METHODS

quantity positive integer or zero

The count of inventory available. Will be present if and only if type is finite.

type string

Inventory type. Possible values are finite, bucket (not quantified), and infinite.

value string

An indicator of the inventory available. Possible values are in_stock, limited, and out_of_stock. Will be present if and only if type is bucket.

API SAMPLE

        {
          "id": "sku_G1HcdqsCPOkGA7",
          "object": "sku",
          "active": true,
          "attributes": {
                "size": "Medium",
                "gender": "Unisex"
          },
          "created": 1571480453,
          "currency": "jpy",
          "image": null,
          "inventory": {
                "quantity": 50,
                "type": "finite",
                "value": null
          },
          "livemode": false,
          "metadata": {},
          "package_dimensions": null,
          "price": 1500,
          "product": "prod_Dwk1FH8ifmrGgw",
          "updated": 1571480453
        }

HISTORY

v0.1

Initial version

AUTHOR

Jacques Deguest <jack@deguest.jp>

SEE ALSO

Stripe API documentation:

https://stripe.com/docs/api

COPYRIGHT & LICENSE

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

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

1 POD Error

The following errors were encountered while parsing the POD:

Around line 68:

You forgot a '=back' before '=head1'