Net::API::Stripe::Billing::Invoice::LineItem - A Stripe Invoice Line Item Object
0.1
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
Unique identifier for the object.
String representing the object’s type. Objects of the same type share the same value.
The amount, in JPY.
Three-letter ISO currency code, in lowercase. Must be a supported currency.
An arbitrary string attached to the object. Often useful for displaying to users.
If true, discounts will apply to this line item. Always false for prorations.
Whether this is a test line item.
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Note that for line items with type=subscription this will reflect the metadata of the subscription that caused the line item to be created.
The timespan covered by this invoice item.
This is a Net::API::Stripe::Billing::Invoice::Period object.
Net::API::Stripe::Billing::Invoice::Period
The plan of the subscription, if the line item is a subscription or a proration.
This is a Net::API::Stripe::Billing::Plan object.
Net::API::Stripe::Billing::Plan
Whether this is a proration.
The quantity of the subscription, if the line item is a subscription or a proration.
The subscription that the invoice item pertains to, if any.
The subscription item that generated this invoice item. Left empty if the line item is not an explicit result of a subscription.
The amount of tax calculated per tax rate for this line item
This is an array of Net::API::Stripe::Billing::Invoice::TaxAmount objects.
Net::API::Stripe::Billing::Invoice::TaxAmount
The tax rates which apply to the line item.
This is an array of Net::API::Stripe::Tax::Rate objects.
Net::API::Stripe::Tax::Rate
A string identifying the type of the source of this line item, either an invoiceitem or a subscription.
For prorations this indicates whether Stripe automatically grouped multiple related debit and credit line items into a single combined line item.
{ "id": "ii_1E9NPMCeyNCl6fY2kwMZb4TN", "object": "line_item", "amount": -2000, "currency": "jpy", "description": "Unused time on Angels, Inc entrepreneur monthly membership after 02 Mar 2019", "discountable": false, "invoice_item": "ii_1E9NPMCeyNCl6fY2kwMZb4TN", "livemode": false, "metadata": {}, "period": { "end": 1554171359, "start": 1551493020 }, "plan": { "id": "entrepreneur-monthly-jpy", "object": "plan", "active": true, "aggregate_usage": null, "amount": 2000, "amount_decimal": "2000", "billing_scheme": "per_unit", "created": 1541833424, "currency": "jpy", "interval": "month", "interval_count": 1, "livemode": false, "metadata": {}, "nickname": null, "product": "prod_DwjzQmlOcoMCqN", "tiers": null, "tiers_mode": null, "transform_usage": null, "trial_period_days": null, "usage_type": "licensed" }, "proration": true, "quantity": 1, "subscription": "sub_EccdFNq60pUMDL", "subscription_item": "si_Eccd4op26fXydB", "tax_amounts": [], "tax_rates": [], "type": "invoiceitem" }
Initial version
Jacques Deguest <jack@deguest.jp>
Stripe API documentation:
https://stripe.com/docs/api/invoices/line_item
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.