Class: Aws::AppMonetization::Types::TaxRegistration

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb

Overview

A jurisdiction where the seller is registered to collect tax.

Constant Summary collapse

SENSITIVE =
[:state, :registration_id]

Instance Attribute Summary collapse

Instance Attribute Details

#collection_type ⇒ String

The country-specific collection type (for example, "state_sales_tax", "standard", or "simplified").

Returns:

  • (String)


5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 5238

class TaxRegistration < Struct.new(
  :country_code,
  :state,
  :collection_type,
  :registration_type,
  :registration_id,
  :locality)
  SENSITIVE = [:state, :registration_id]
  include Aws::Structure
end

#country_code ⇒ String

The ISO 3166-1 alpha-2 country code.

Returns:

  • (String)


5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 5238

class TaxRegistration < Struct.new(
  :country_code,
  :state,
  :collection_type,
  :registration_type,
  :registration_id,
  :locality)
  SENSITIVE = [:state, :registration_id]
  include Aws::Structure
end

#locality ⇒ String

Jurisdiction below the state, as a code rather than a name: a FIPS code in the US, an IBGE code in Brazil. Requires state. Optional.

Returns:

  • (String)


5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 5238

class TaxRegistration < Struct.new(
  :country_code,
  :state,
  :collection_type,
  :registration_type,
  :registration_id,
  :locality)
  SENSITIVE = [:state, :registration_id]
  include Aws::Structure
end

#registration_id ⇒ String

The tax ID issued for this registration (permit number or tax registration number). Optional.

Returns:

  • (String)


5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 5238

class TaxRegistration < Struct.new(
  :country_code,
  :state,
  :collection_type,
  :registration_type,
  :registration_id,
  :locality)
  SENSITIVE = [:state, :registration_id]
  include Aws::Structure
end

#registration_type ⇒ String

Which tax this registration is for, or which entity identifier it carries (for example SALES_USE for a US state, VAT or GST elsewhere, FEDERAL_EIN for a US employer identification number). Optional.

Returns:

  • (String)


5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 5238

class TaxRegistration < Struct.new(
  :country_code,
  :state,
  :collection_type,
  :registration_type,
  :registration_id,
  :locality)
  SENSITIVE = [:state, :registration_id]
  include Aws::Structure
end

#state ⇒ String

The state or province code (for example, "NY" or "CA"). Required for US and CA.

Returns:

  • (String)


5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 5238

class TaxRegistration < Struct.new(
  :country_code,
  :state,
  :collection_type,
  :registration_type,
  :registration_id,
  :locality)
  SENSITIVE = [:state, :registration_id]
  include Aws::Structure
end