Class: Google::Shopping::Merchant::Products::V1beta::Tax

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/shopping/merchant/products/v1beta/products_common.rb

Overview

The Tax of the product.

Instance Attribute Summary collapse

Instance Attribute Details

#country::String

Returns The country within which the item is taxed, specified as a CLDR territory code.

Returns:

  • (::String)

    The country within which the item is taxed, specified as a CLDR territory code.



400
401
402
403
# File 'proto_docs/google/shopping/merchant/products/v1beta/products_common.rb', line 400

class Tax
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#location_id::Integer

Returns The numeric ID of a location that the tax rate applies to as defined in the AdWords API.

Returns:

  • (::Integer)

    The numeric ID of a location that the tax rate applies to as defined in the AdWords API.



400
401
402
403
# File 'proto_docs/google/shopping/merchant/products/v1beta/products_common.rb', line 400

class Tax
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#postal_code::String

Returns The postal code range that the tax rate applies to, represented by a ZIP code, a ZIP code prefix using * wildcard, a range between two ZIP codes or two ZIP code prefixes of equal length. Examples: 94114, 94*, 94002-95460, 94*-95*.

Returns:

  • (::String)

    The postal code range that the tax rate applies to, represented by a ZIP code, a ZIP code prefix using * wildcard, a range between two ZIP codes or two ZIP code prefixes of equal length. Examples: 94114, 94*, 94002-95460, 94*-95*.



400
401
402
403
# File 'proto_docs/google/shopping/merchant/products/v1beta/products_common.rb', line 400

class Tax
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#rate::Float

Returns The percentage of tax rate that applies to the item price.

Returns:

  • (::Float)

    The percentage of tax rate that applies to the item price.



400
401
402
403
# File 'proto_docs/google/shopping/merchant/products/v1beta/products_common.rb', line 400

class Tax
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#region::String

Returns The geographic region to which the tax rate applies.

Returns:

  • (::String)

    The geographic region to which the tax rate applies.



400
401
402
403
# File 'proto_docs/google/shopping/merchant/products/v1beta/products_common.rb', line 400

class Tax
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#tax_ship::Boolean

Returns Set to true if tax is charged on shipping.

Returns:

  • (::Boolean)

    Set to true if tax is charged on shipping.



400
401
402
403
# File 'proto_docs/google/shopping/merchant/products/v1beta/products_common.rb', line 400

class Tax
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end