Class: Google::Shopping::Merchant::Products::V1beta::Shipping

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 Shipping of the product.

Instance Attribute Summary collapse

Instance Attribute Details

#country::String

Returns The CLDR territory code of the country to which an item will ship.

Returns:



618
619
620
621
# File 'proto_docs/google/shopping/merchant/products/v1beta/products_common.rb', line 618

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

#location_group_name::String

Returns The location where the shipping is applicable, represented by a location group name.

Returns:

  • (::String)

    The location where the shipping is applicable, represented by a location group name.



618
619
620
621
# File 'proto_docs/google/shopping/merchant/products/v1beta/products_common.rb', line 618

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

#location_id::Integer

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

Returns:

  • (::Integer)

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



618
619
620
621
# File 'proto_docs/google/shopping/merchant/products/v1beta/products_common.rb', line 618

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

#max_handling_time::Integer

Returns Maximum handling time (inclusive) between when the order is received and shipped in business days. 0 means that the order is shipped on the same day as it is received if it happens before the cut-off time. Both [maxHandlingTime][google.shopping.content.bundles.Products.Shipping.max_handling_time] and [maxTransitTime][google.shopping.content.bundles.Products.Shipping.max_transit_time] are required if providing shipping speeds. [minHandlingTime][google.shopping.content.bundles.Products.Shipping.min_handling_time] is optional if [maxHandlingTime][google.shopping.content.bundles.Products.Shipping.max_handling_time] is present.

Returns:

  • (::Integer)

    Maximum handling time (inclusive) between when the order is received and shipped in business days. 0 means that the order is shipped on the same day as it is received if it happens before the cut-off time. Both [maxHandlingTime][google.shopping.content.bundles.Products.Shipping.max_handling_time] and [maxTransitTime][google.shopping.content.bundles.Products.Shipping.max_transit_time] are required if providing shipping speeds. [minHandlingTime][google.shopping.content.bundles.Products.Shipping.min_handling_time] is optional if [maxHandlingTime][google.shopping.content.bundles.Products.Shipping.max_handling_time] is present.



618
619
620
621
# File 'proto_docs/google/shopping/merchant/products/v1beta/products_common.rb', line 618

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

#max_transit_time::Integer

Returns Maximum transit time (inclusive) between when the order has shipped and when it is delivered in business days. 0 means that the order is delivered on the same day as it ships. Both [maxHandlingTime][google.shopping.content.bundles.Products.Shipping.max_handling_time] and [maxTransitTime][google.shopping.content.bundles.Products.Shipping.max_transit_time] are required if providing shipping speeds. [minTransitTime][google.shopping.content.bundles.Products.Shipping.min_transit_time] is optional if [maxTransitTime][google.shopping.content.bundles.Products.Shipping.max_transit_time] is present.

Returns:

  • (::Integer)

    Maximum transit time (inclusive) between when the order has shipped and when it is delivered in business days. 0 means that the order is delivered on the same day as it ships. Both [maxHandlingTime][google.shopping.content.bundles.Products.Shipping.max_handling_time] and [maxTransitTime][google.shopping.content.bundles.Products.Shipping.max_transit_time] are required if providing shipping speeds. [minTransitTime][google.shopping.content.bundles.Products.Shipping.min_transit_time] is optional if [maxTransitTime][google.shopping.content.bundles.Products.Shipping.max_transit_time] is present.



618
619
620
621
# File 'proto_docs/google/shopping/merchant/products/v1beta/products_common.rb', line 618

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

#min_handling_time::Integer

Returns Minimum handling time (inclusive) between when the order is received and shipped in business days. 0 means that the order is shipped on the same day as it is received if it happens before the cut-off time. [minHandlingTime][google.shopping.content.bundles.Products.Shipping.min_handling_time] can only be present together with [maxHandlingTime][google.shopping.content.bundles.Products.Shipping.max_handling_time]; but it is not required if [maxHandlingTime][google.shopping.content.bundles.Products.Shipping.max_handling_time] is present.

Returns:

  • (::Integer)

    Minimum handling time (inclusive) between when the order is received and shipped in business days. 0 means that the order is shipped on the same day as it is received if it happens before the cut-off time. [minHandlingTime][google.shopping.content.bundles.Products.Shipping.min_handling_time] can only be present together with [maxHandlingTime][google.shopping.content.bundles.Products.Shipping.max_handling_time]; but it is not required if [maxHandlingTime][google.shopping.content.bundles.Products.Shipping.max_handling_time] is present.



618
619
620
621
# File 'proto_docs/google/shopping/merchant/products/v1beta/products_common.rb', line 618

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

#min_transit_time::Integer

Returns Minimum transit time (inclusive) between when the order has shipped and when it is delivered in business days. 0 means that the order is delivered on the same day as it ships. [minTransitTime][google.shopping.content.bundles.Products.Shipping.min_transit_time] can only be present together with [maxTransitTime][google.shopping.content.bundles.Products.Shipping.max_transit_time]; but it is not required if [maxTransitTime][google.shopping.content.bundles.Products.Shipping.max_transit_time] is present.

Returns:

  • (::Integer)

    Minimum transit time (inclusive) between when the order has shipped and when it is delivered in business days. 0 means that the order is delivered on the same day as it ships. [minTransitTime][google.shopping.content.bundles.Products.Shipping.min_transit_time] can only be present together with [maxTransitTime][google.shopping.content.bundles.Products.Shipping.max_transit_time]; but it is not required if [maxTransitTime][google.shopping.content.bundles.Products.Shipping.max_transit_time] is present.



618
619
620
621
# File 'proto_docs/google/shopping/merchant/products/v1beta/products_common.rb', line 618

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

#postal_code::String

Returns The postal code range that the shipping rate applies to, represented by a postal code, a postal code prefix followed by a * wildcard, a range between two postal codes or two postal code prefixes of equal length.

Returns:

  • (::String)

    The postal code range that the shipping rate applies to, represented by a postal code, a postal code prefix followed by a * wildcard, a range between two postal codes or two postal code prefixes of equal length.



618
619
620
621
# File 'proto_docs/google/shopping/merchant/products/v1beta/products_common.rb', line 618

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

#price::Google::Shopping::Type::Price

Returns Fixed shipping price, represented as a number.

Returns:



618
619
620
621
# File 'proto_docs/google/shopping/merchant/products/v1beta/products_common.rb', line 618

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

#region::String

Returns The geographic region to which a shipping rate applies. See region for more information.

Returns:

  • (::String)

    The geographic region to which a shipping rate applies. See region for more information.



618
619
620
621
# File 'proto_docs/google/shopping/merchant/products/v1beta/products_common.rb', line 618

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

#service::String

Returns A free-form description of the service class or delivery speed.

Returns:

  • (::String)

    A free-form description of the service class or delivery speed.



618
619
620
621
# File 'proto_docs/google/shopping/merchant/products/v1beta/products_common.rb', line 618

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