NAME

Net::API::Stripe::Billing::Invoice::Settings - A Stripe Invoice Setting Object

SYNOPSIS

my $settings = $customer->invoice_settings({
    customer_fields => $custom_field_object,
    default_payment_method => 'pm_fake123456789',
    footer => 'Big Corp, Inc',
});

VERSION

v0.101.0

DESCRIPTION

This defines the invoice settings. It is instantiated from method invoice_settings in Net::API::Stripe::Custome

It is used by Net::API::Stripe::Billing::Invoice, Net::API::Stripe::Customer::TaxIds, and Net::API::Stripe::Customer

CONSTRUCTOR

new( %ARG )

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

METHODS

custom_fields array of hashes

Default custom fields to be displayed on invoices for this customer. This is a Net::API::Stripe::CustomField object

days_until_due integer

Number of days within which a customer must pay invoices generated by this quote. This value will be null for quotes where collection_method=charge_automatically.

default_payment_method string (expandable)

ID of the default payment method used for subscriptions and invoices for the customer.

When expanded, this is a Net::API::Stripe::Payment::Method object.

Default footer to be displayed on invoices for this customer.

rendering_options hash

Default options for invoice PDF rendering for this customer.

It has the following properties:

amount_tax_display string

How line-item prices and amounts will be displayed with respect to tax on invoice PDFs.

API SAMPLE

No sample data found yet

HISTORY

v0.1

Initial version

AUTHOR

Jacques Deguest <jack@deguest.jp>

SEE ALSO

Stripe API documentation:

https://stripe.com/docs/api/invoices/object

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.