Class: Recurly::Resources::TaxDetail

Inherits:
Recurly::Resource show all
Defined in:
lib/recurly/resources/tax_detail.rb

Instance Attribute Summary collapse

Attributes inherited from Recurly::Resource

#attributes

Method Summary

Methods inherited from Recurly::Resource

#==, #get_response, #inspect, #requires_client?, #to_json, #to_s

Methods included from Schema::SchemaFactory

#schema

Methods included from Schema::ResourceCaster

#cast

Methods included from Schema::SchemaValidator

#get_did_you_mean, #validate!, #validate_attribute!

Instance Attribute Details

#billableBoolean

Returns Whether or not the line item is taxable. Only populated for a single LineItem fetch when Avalara for Communications is enabled.

Returns:

  • (Boolean)

    Whether or not the line item is taxable. Only populated for a single LineItem fetch when Avalara for Communications is enabled.



11
# File 'lib/recurly/resources/tax_detail.rb', line 11

define_attribute :billable, :Boolean

#levelString

Returns Provides the jurisdiction level for the Communications tax applied. Example values include city, state and federal. Present only when Avalara for Communications is enabled.

Returns:

  • (String)

    Provides the jurisdiction level for the Communications tax applied. Example values include city, state and federal. Present only when Avalara for Communications is enabled.



15
# File 'lib/recurly/resources/tax_detail.rb', line 15

define_attribute :level, String

#nameString

Returns Provides the name of the Communications tax applied. Present only when Avalara for Communications is enabled.

Returns:

  • (String)

    Provides the name of the Communications tax applied. Present only when Avalara for Communications is enabled.



19
# File 'lib/recurly/resources/tax_detail.rb', line 19

define_attribute :name, String

#rateFloat

Returns Provides the tax rate for the region.

Returns:

  • (Float)

    Provides the tax rate for the region.



23
# File 'lib/recurly/resources/tax_detail.rb', line 23

define_attribute :rate, Float

#regionString

Returns Provides the tax region applied on an invoice. For Canadian Sales Tax, this will be either the 2 letter province code or country code. Not present when Avalara for Communications is enabled.

Returns:

  • (String)

    Provides the tax region applied on an invoice. For Canadian Sales Tax, this will be either the 2 letter province code or country code. Not present when Avalara for Communications is enabled.



27
# File 'lib/recurly/resources/tax_detail.rb', line 27

define_attribute :region, String

#taxFloat

Returns The total tax applied for this tax type.

Returns:

  • (Float)

    The total tax applied for this tax type.



31
# File 'lib/recurly/resources/tax_detail.rb', line 31

define_attribute :tax, Float

#typeString

Returns Provides the tax type for the region or type of Comminications tax when Avalara for Communications is enabled. For Canadian Sales Tax, this will be GST, HST, QST or PST.

Returns:

  • (String)

    Provides the tax type for the region or type of Comminications tax when Avalara for Communications is enabled. For Canadian Sales Tax, this will be GST, HST, QST or PST.



35
# File 'lib/recurly/resources/tax_detail.rb', line 35

define_attribute :type, String