Net::API::Stripe::Order::Item - A Stripe Order Item Object
0.1
A representation of the constituent items of any given order. Can be used to represent SKUs, shipping costs, or taxes owed on the order.
Creates a new Net::API::Stripe objects. It may also take an hash like arguments, that also are method of the same name.
Net::API::Stripe
Toggles verbose mode on/off
Toggles debug mode on/off
String representing the object’s type. Objects of the same type share the same value.
A positive integer in the smallest currency unit (that is, 100 cents for $1.00, or 1 for ¥1, Japanese Yen being a zero-decimal currency) representing the total amount for the line item.
Three-letter ISO currency code, in lowercase. Must be a supported currency.
Description of the line item, meant to be displayable to the user (e.g., "Express shipping").
The ID of the associated object for this line item. Expandable if not null (e.g., expandable to a SKU).
When expanded, this is a Net::API::Stripe::Order object.
Net::API::Stripe::Order
A positive integer representing the number of instances of parent that are included in this order item. Applicable/present only if type is sku.
The type of line item. One of sku, tax, shipping, or discount.
{ "object": "order_item", "amount": 1500, "currency": "jpy", "description": "T-shirt", "parent": "sk_19eIKPCeyNCl6fY2Bxpfr8bb", "quantity": null, "type": "sku" }
Initial version
Jacques Deguest <jack@deguest.jp>
Stripe API documentation:
https://stripe.com/docs/api/order_items
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:
You forgot a '=back' before '=head1'
To install Net::API::Stripe, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::API::Stripe
CPAN shell
perl -MCPAN -e shell install Net::API::Stripe
For more information on module installation, please visit the detailed CPAN module installation guide.