Class: Google::Shopping::Merchant::Accounts::V1beta::TaxRule

Inherits:
Object
  • Object
show all
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

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