Class: Google::Shopping::Merchant::Accounts::V1beta::TransitTable

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

Overview

Transit time table, number of business days spent in transit based on row and column dimensions. Either min_transit_days, max_transit_days or transit_time_table can be set, but not both.

Defined Under Namespace

Classes: TransitTimeRow

Instance Attribute Summary collapse

Instance Attribute Details

#postal_code_group_names::Array<::String>

Returns Required. A list of region names Region.name . The last value can be "all other locations". Example: ["zone 1", "zone 2", "all other locations"]. The referred postal code groups must match the delivery country of the service.

Returns:

  • (::Array<::String>)

    Required. A list of region names Region.name . The last value can be "all other locations". Example: ["zone 1", "zone 2", "all other locations"]. The referred postal code groups must match the delivery country of the service.



529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
# File 'proto_docs/google/shopping/merchant/accounts/v1beta/shippingsettings.rb', line 529

class TransitTable
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # If there's only one dimension set of `postal_code_group_names` or
  # `transit_time_labels`, there are multiple rows each with one value
  # for that dimension. If there are two dimensions, each row corresponds to a
  # `postal_code_group_names`, and columns (values) to a
  # `transit_time_labels`.
  # @!attribute [rw] values
  #   @return [::Array<::Google::Shopping::Merchant::Accounts::V1beta::TransitTable::TransitTimeRow::TransitTimeValue>]
  #     Required. Transit time range (min-max) in business days.
  class TransitTimeRow
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Transit time range (min-max) in business days.
    # @!attribute [rw] min_transit_days
    #   @return [::Integer]
    #     Minimum transit time range in business days. 0 means same
    #     day delivery, 1 means next day delivery.
    # @!attribute [rw] max_transit_days
    #   @return [::Integer]
    #     Must be greater than or equal to `min_transit_days`.
    class TransitTimeValue
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end
end

#rows::Array<::Google::Shopping::Merchant::Accounts::V1beta::TransitTable::TransitTimeRow>

Returns Required. If there's only one dimension set of postal_code_group_names or transit_time_labels, there are multiple rows each with one value for that dimension. If there are two dimensions, each row corresponds to a postal_code_group_names, and columns (values) to a transit_time_labels.

Returns:



529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
# File 'proto_docs/google/shopping/merchant/accounts/v1beta/shippingsettings.rb', line 529

class TransitTable
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # If there's only one dimension set of `postal_code_group_names` or
  # `transit_time_labels`, there are multiple rows each with one value
  # for that dimension. If there are two dimensions, each row corresponds to a
  # `postal_code_group_names`, and columns (values) to a
  # `transit_time_labels`.
  # @!attribute [rw] values
  #   @return [::Array<::Google::Shopping::Merchant::Accounts::V1beta::TransitTable::TransitTimeRow::TransitTimeValue>]
  #     Required. Transit time range (min-max) in business days.
  class TransitTimeRow
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Transit time range (min-max) in business days.
    # @!attribute [rw] min_transit_days
    #   @return [::Integer]
    #     Minimum transit time range in business days. 0 means same
    #     day delivery, 1 means next day delivery.
    # @!attribute [rw] max_transit_days
    #   @return [::Integer]
    #     Must be greater than or equal to `min_transit_days`.
    class TransitTimeValue
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end
end

#transit_time_labels::Array<::String>

Returns Required. A list of transit time labels. The last value can be "all other labels". Example: ["food", "electronics", "all other labels"].

Returns:

  • (::Array<::String>)

    Required. A list of transit time labels. The last value can be "all other labels". Example: ["food", "electronics", "all other labels"].



529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
# File 'proto_docs/google/shopping/merchant/accounts/v1beta/shippingsettings.rb', line 529

class TransitTable
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # If there's only one dimension set of `postal_code_group_names` or
  # `transit_time_labels`, there are multiple rows each with one value
  # for that dimension. If there are two dimensions, each row corresponds to a
  # `postal_code_group_names`, and columns (values) to a
  # `transit_time_labels`.
  # @!attribute [rw] values
  #   @return [::Array<::Google::Shopping::Merchant::Accounts::V1beta::TransitTable::TransitTimeRow::TransitTimeValue>]
  #     Required. Transit time range (min-max) in business days.
  class TransitTimeRow
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Transit time range (min-max) in business days.
    # @!attribute [rw] min_transit_days
    #   @return [::Integer]
    #     Minimum transit time range in business days. 0 means same
    #     day delivery, 1 means next day delivery.
    # @!attribute [rw] max_transit_days
    #   @return [::Integer]
    #     Must be greater than or equal to `min_transit_days`.
    class TransitTimeValue
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end
end