Class: Google::Shopping::Merchant::Accounts::V1beta::TaxRule
- Inherits:
-
Object
- Object
- Google::Shopping::Merchant::Accounts::V1beta::TaxRule
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/shopping/merchant/accounts/v1beta/tax_rule.rb
Overview
Primary type convension
percent micro : 100% = 1 000 000 and 1% = 10 000 cannot be negative.
Information about tax nexus and related parameters applicable to orders delivered to the area covered by a single tax admin. Nexus is created when a merchant is doing business in an area administered by tax admin (only US states are supported for nexus configuration). If merchant has nexus in a US state, merchant needs to pay tax to all tax authorities associated with the shipping destination. Next Id : 8
Defined Under Namespace
Classes: TaxPostalCodeRange
Instance Attribute Summary collapse
-
#effective_time_period ⇒ ::Google::Type::Interval
Required.
-
#location_id ⇒ ::Integer
The admin_id or criteria_id of the region in which this rule is applicable.
-
#post_code_range ⇒ ::Google::Shopping::Merchant::Accounts::V1beta::TaxRule::TaxPostalCodeRange
The range of postal codes in which this rule is applicable.
-
#region_code ⇒ ::String
Region code in which this rule is applicable.
-
#self_specified_rate_micros ⇒ ::Integer
A fixed rate specified in micros, where 100% = 1_000_000.
-
#shipping_taxed ⇒ ::Boolean
If set, shipping charge is taxed (at the same rate as product) when delivering to this admin's area.
-
#use_google_rate ⇒ ::Boolean
Rate that depends on delivery location: if merchant has a nexus in corresponding US state, rates from authorities with jurisdiction over delivery area are added up.
Instance Attribute Details
#effective_time_period ⇒ ::Google::Type::Interval
74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 |
# File 'proto_docs/google/shopping/merchant/accounts/v1beta/tax_rule.rb', line 74 class TaxRule include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A range of postal codes that defines the area. # @!attribute [rw] start # @return [::String] # Required. The start of the postal code range, which is also the smallest # in the range. # @!attribute [rw] end # @return [::String] # The end of the postal code range. Will be the same as start if not # specified. class TaxPostalCodeRange include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#location_id ⇒ ::Integer
74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 |
# File 'proto_docs/google/shopping/merchant/accounts/v1beta/tax_rule.rb', line 74 class TaxRule include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A range of postal codes that defines the area. # @!attribute [rw] start # @return [::String] # Required. The start of the postal code range, which is also the smallest # in the range. # @!attribute [rw] end # @return [::String] # The end of the postal code range. Will be the same as start if not # specified. class TaxPostalCodeRange include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#post_code_range ⇒ ::Google::Shopping::Merchant::Accounts::V1beta::TaxRule::TaxPostalCodeRange
74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 |
# File 'proto_docs/google/shopping/merchant/accounts/v1beta/tax_rule.rb', line 74 class TaxRule include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A range of postal codes that defines the area. # @!attribute [rw] start # @return [::String] # Required. The start of the postal code range, which is also the smallest # in the range. # @!attribute [rw] end # @return [::String] # The end of the postal code range. Will be the same as start if not # specified. class TaxPostalCodeRange include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#region_code ⇒ ::String
74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 |
# File 'proto_docs/google/shopping/merchant/accounts/v1beta/tax_rule.rb', line 74 class TaxRule include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A range of postal codes that defines the area. # @!attribute [rw] start # @return [::String] # Required. The start of the postal code range, which is also the smallest # in the range. # @!attribute [rw] end # @return [::String] # The end of the postal code range. Will be the same as start if not # specified. class TaxPostalCodeRange include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#self_specified_rate_micros ⇒ ::Integer
74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 |
# File 'proto_docs/google/shopping/merchant/accounts/v1beta/tax_rule.rb', line 74 class TaxRule include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A range of postal codes that defines the area. # @!attribute [rw] start # @return [::String] # Required. The start of the postal code range, which is also the smallest # in the range. # @!attribute [rw] end # @return [::String] # The end of the postal code range. Will be the same as start if not # specified. class TaxPostalCodeRange include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#shipping_taxed ⇒ ::Boolean
74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 |
# File 'proto_docs/google/shopping/merchant/accounts/v1beta/tax_rule.rb', line 74 class TaxRule include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A range of postal codes that defines the area. # @!attribute [rw] start # @return [::String] # Required. The start of the postal code range, which is also the smallest # in the range. # @!attribute [rw] end # @return [::String] # The end of the postal code range. Will be the same as start if not # specified. class TaxPostalCodeRange include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#use_google_rate ⇒ ::Boolean
74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 |
# File 'proto_docs/google/shopping/merchant/accounts/v1beta/tax_rule.rb', line 74 class TaxRule include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A range of postal codes that defines the area. # @!attribute [rw] start # @return [::String] # Required. The start of the postal code range, which is also the smallest # in the range. # @!attribute [rw] end # @return [::String] # The end of the postal code range. Will be the same as start if not # specified. class TaxPostalCodeRange include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |