TaxRegistration class final

TaxProductRegistrationsResourceTaxRegistration

A Tax `Registration` lets us know that your business is registered to collect tax on payments within a region, enabling you to [automatically collect tax](https://stripe.com/docs/tax). Stripe doesn't register on your behalf with the relevant authorities when you create a Tax `Registration` object. For more information on how to register to collect tax, see [our guide](https://stripe.com/docs/tax/registering). Related guide: [Using the Registrations API](https://stripe.com/docs/tax/registrations-api)

Implemented types

Constructors

TaxRegistration({required DateTime activeFrom, required String country, required TaxProductRegistrationsResourceCountryOptions countryOptions, required DateTime created, DateTime? expiresAt, required String id, required bool livemode, required TaxRegistrationStatus status})
TaxProductRegistrationsResourceTaxRegistration
const
TaxRegistration.fromJson(Object? json)
factory

Properties

activeFrom DateTime
final
country String
final
countryOptions TaxProductRegistrationsResourceCountryOptions
final
created DateTime
final
expiresAt DateTime?
final
hashCode int
The hash code for this object.
no setterinherited
id String
final
livemode bool
final
object String
The resource's type.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status TaxRegistrationStatus
final

Methods

encodeWith<V>(Encoder<V> encoder) → V
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object?>
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

encode<V>(TaxRegistration instance, Encoder<V> encoder) → V