Class: Google::Shopping::Merchant::Products::V1beta::Tax
- Inherits:
-
Object
- Object
- Google::Shopping::Merchant::Products::V1beta::Tax
- 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
-
#country ⇒ ::String
The country within which the item is taxed, specified as a CLDR territory code.
-
#location_id ⇒ ::Integer
The numeric ID of a location that the tax rate applies to as defined in the AdWords API.
-
#postal_code ⇒ ::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.
-
#rate ⇒ ::Float
The percentage of tax rate that applies to the item price.
-
#region ⇒ ::String
The geographic region to which the tax rate applies.
-
#tax_ship ⇒ ::Boolean
Set to true if tax is charged on shipping.
Instance Attribute Details
#country ⇒ ::String
Returns 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.
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*.
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.
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 |