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::Customer::TaxInfo - A Stripe Customer Tax Info (deprecated)

SYNOPSIS

    my $tx_info = $stripe->customer->tax_info({
        tax_id => 'EU123456789',
        type => 'vat',
    });

VERSION

    v0.100.0

DESCRIPTION

The customer’s tax information. Appears on invoices emailed to this customer. This parameter has been deprecated and will be removed in a future API version, for further information view the migration guide (https://stripe.com/docs/billing/migration/taxes#moving-from-taxinfo-to-customer-tax-ids).

This is instantiated by method tax_info in module Net::API::Stripe::Customer

CONSTRUCTOR

new( %ARG )

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

METHODS

tax_id required

The customer’s tax ID number.

type required

The type of ID number. The only possible value is vat

API SAMPLE

        {
          "id": "cus_fake123456789",
          "object": "customer",
          "address": null,
          "balance": 0,
          "created": 1572264551,
          "currency": "jpy",
          "default_source": null,
          "delinquent": false,
          "description": "Customer for jenny.rosen@example.com",
          "discount": null,
          "email": null,
          "invoice_prefix": "BC0DE60",
          "invoice_settings": {
                "custom_fields": null,
                "default_payment_method": null,
                "footer": null
          },
          "livemode": false,
          "metadata": {},
          "name": null,
          "phone": null,
          "preferred_locales": [],
          "shipping": null,
          "sources": {
                "object": "list",
                "data": [],
                "has_more": false,
                "url": "/v1/customers/cus_fake123456789/sources"
          },
          "subscriptions": {
                "object": "list",
                "data": [],
                "has_more": false,
                "url": "/v1/customers/cus_fake123456789/subscriptions"
          },
          "tax_exempt": "none",
          "tax_ids": {
                "object": "list",
                "data": [],
                "has_more": false,
                "url": "/v1/customers/cus_fake123456789/tax_ids"
          },
          "tax_info": null,
          "tax_info_verification": null
        }

HISTORY

v0.1

Initial version

AUTHOR

Jacques Deguest <jack@deguest.jp>

SEE ALSO

Stripe API documentation:

https://stripe.com/docs/api/customers/create, https://stripe.com/docs/billing/migration/taxes#moving-from-taxinfo-to-customer-tax-ids

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.