Class: Google::Shopping::Merchant::Accounts::V1::Service::StoreConfig

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

Overview

A list of stores your products are delivered from. This is only valid for the local delivery shipment type.

Defined Under Namespace

Modules: StoreServiceType Classes: CutoffConfig

Instance Attribute Summary collapse

Instance Attribute Details

#cutoff_config::Google::Shopping::Merchant::Accounts::V1::Service::StoreConfig::CutoffConfig



133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
# File 'proto_docs/google/shopping/merchant/accounts/v1/shippingsettings.rb', line 133

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

  # Configs related to local delivery ends for the day.
  # @!attribute [rw] local_cutoff_time
  #   @return [::Google::Shopping::Merchant::Accounts::V1::Service::StoreConfig::CutoffConfig::LocalCutoffTime]
  #     Time that local delivery ends for the day.
  # @!attribute [rw] store_close_offset_hours
  #   @return [::Integer]
  #     Only valid with local delivery fulfillment. Represents cutoff time
  #     as the number of hours before store closing. Mutually exclusive
  #     with `local_cutoff_time`.
  # @!attribute [rw] no_delivery_post_cutoff
  #   @return [::Boolean]
  #     Businesses can opt-out of showing n+1 day local delivery when they have
  #     a shipping service configured to n day local delivery. For example, if
  #     the shipping service defines same-day delivery, and it's past the
  #     cut-off, setting this field to `true` results in the calculated
  #     shipping service rate returning `NO_DELIVERY_POST_CUTOFF`. In the
  #     same example, setting this field to `false` results in the calculated
  #     shipping time being one day. This is only for local delivery.
  class CutoffConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Time that local delivery ends for the day.
    # @!attribute [rw] hour
    #   @return [::Integer]
    #     Hour local delivery orders must be placed by to process the same
    #     day.
    # @!attribute [rw] minute
    #   @return [::Integer]
    #     Minute local delivery orders must be placed by to process the same
    #     day.
    class LocalCutoffTime
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Indicates whether all stores, or selected stores, listed by the
  # business provide local delivery.
  module StoreServiceType
    # Did not specify store service type.
    STORE_SERVICE_TYPE_UNSPECIFIED = 0

    # Indicates whether all stores, current and future, listed by this
    # business provide local delivery.
    ALL_STORES = 1

    # Indicates that only the stores listed in `store_codes` are eligible
    # for local delivery.
    SELECTED_STORES = 2
  end
end

#service_radius::Google::Shopping::Merchant::Accounts::V1::Distance



133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
# File 'proto_docs/google/shopping/merchant/accounts/v1/shippingsettings.rb', line 133

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

  # Configs related to local delivery ends for the day.
  # @!attribute [rw] local_cutoff_time
  #   @return [::Google::Shopping::Merchant::Accounts::V1::Service::StoreConfig::CutoffConfig::LocalCutoffTime]
  #     Time that local delivery ends for the day.
  # @!attribute [rw] store_close_offset_hours
  #   @return [::Integer]
  #     Only valid with local delivery fulfillment. Represents cutoff time
  #     as the number of hours before store closing. Mutually exclusive
  #     with `local_cutoff_time`.
  # @!attribute [rw] no_delivery_post_cutoff
  #   @return [::Boolean]
  #     Businesses can opt-out of showing n+1 day local delivery when they have
  #     a shipping service configured to n day local delivery. For example, if
  #     the shipping service defines same-day delivery, and it's past the
  #     cut-off, setting this field to `true` results in the calculated
  #     shipping service rate returning `NO_DELIVERY_POST_CUTOFF`. In the
  #     same example, setting this field to `false` results in the calculated
  #     shipping time being one day. This is only for local delivery.
  class CutoffConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Time that local delivery ends for the day.
    # @!attribute [rw] hour
    #   @return [::Integer]
    #     Hour local delivery orders must be placed by to process the same
    #     day.
    # @!attribute [rw] minute
    #   @return [::Integer]
    #     Minute local delivery orders must be placed by to process the same
    #     day.
    class LocalCutoffTime
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Indicates whether all stores, or selected stores, listed by the
  # business provide local delivery.
  module StoreServiceType
    # Did not specify store service type.
    STORE_SERVICE_TYPE_UNSPECIFIED = 0

    # Indicates whether all stores, current and future, listed by this
    # business provide local delivery.
    ALL_STORES = 1

    # Indicates that only the stores listed in `store_codes` are eligible
    # for local delivery.
    SELECTED_STORES = 2
  end
end

#store_codes::Array<::String>



133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
# File 'proto_docs/google/shopping/merchant/accounts/v1/shippingsettings.rb', line 133

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

  # Configs related to local delivery ends for the day.
  # @!attribute [rw] local_cutoff_time
  #   @return [::Google::Shopping::Merchant::Accounts::V1::Service::StoreConfig::CutoffConfig::LocalCutoffTime]
  #     Time that local delivery ends for the day.
  # @!attribute [rw] store_close_offset_hours
  #   @return [::Integer]
  #     Only valid with local delivery fulfillment. Represents cutoff time
  #     as the number of hours before store closing. Mutually exclusive
  #     with `local_cutoff_time`.
  # @!attribute [rw] no_delivery_post_cutoff
  #   @return [::Boolean]
  #     Businesses can opt-out of showing n+1 day local delivery when they have
  #     a shipping service configured to n day local delivery. For example, if
  #     the shipping service defines same-day delivery, and it's past the
  #     cut-off, setting this field to `true` results in the calculated
  #     shipping service rate returning `NO_DELIVERY_POST_CUTOFF`. In the
  #     same example, setting this field to `false` results in the calculated
  #     shipping time being one day. This is only for local delivery.
  class CutoffConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Time that local delivery ends for the day.
    # @!attribute [rw] hour
    #   @return [::Integer]
    #     Hour local delivery orders must be placed by to process the same
    #     day.
    # @!attribute [rw] minute
    #   @return [::Integer]
    #     Minute local delivery orders must be placed by to process the same
    #     day.
    class LocalCutoffTime
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Indicates whether all stores, or selected stores, listed by the
  # business provide local delivery.
  module StoreServiceType
    # Did not specify store service type.
    STORE_SERVICE_TYPE_UNSPECIFIED = 0

    # Indicates whether all stores, current and future, listed by this
    # business provide local delivery.
    ALL_STORES = 1

    # Indicates that only the stores listed in `store_codes` are eligible
    # for local delivery.
    SELECTED_STORES = 2
  end
end

#store_service_type::Google::Shopping::Merchant::Accounts::V1::Service::StoreConfig::StoreServiceType



133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
# File 'proto_docs/google/shopping/merchant/accounts/v1/shippingsettings.rb', line 133

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

  # Configs related to local delivery ends for the day.
  # @!attribute [rw] local_cutoff_time
  #   @return [::Google::Shopping::Merchant::Accounts::V1::Service::StoreConfig::CutoffConfig::LocalCutoffTime]
  #     Time that local delivery ends for the day.
  # @!attribute [rw] store_close_offset_hours
  #   @return [::Integer]
  #     Only valid with local delivery fulfillment. Represents cutoff time
  #     as the number of hours before store closing. Mutually exclusive
  #     with `local_cutoff_time`.
  # @!attribute [rw] no_delivery_post_cutoff
  #   @return [::Boolean]
  #     Businesses can opt-out of showing n+1 day local delivery when they have
  #     a shipping service configured to n day local delivery. For example, if
  #     the shipping service defines same-day delivery, and it's past the
  #     cut-off, setting this field to `true` results in the calculated
  #     shipping service rate returning `NO_DELIVERY_POST_CUTOFF`. In the
  #     same example, setting this field to `false` results in the calculated
  #     shipping time being one day. This is only for local delivery.
  class CutoffConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Time that local delivery ends for the day.
    # @!attribute [rw] hour
    #   @return [::Integer]
    #     Hour local delivery orders must be placed by to process the same
    #     day.
    # @!attribute [rw] minute
    #   @return [::Integer]
    #     Minute local delivery orders must be placed by to process the same
    #     day.
    class LocalCutoffTime
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Indicates whether all stores, or selected stores, listed by the
  # business provide local delivery.
  module StoreServiceType
    # Did not specify store service type.
    STORE_SERVICE_TYPE_UNSPECIFIED = 0

    # Indicates whether all stores, current and future, listed by this
    # business provide local delivery.
    ALL_STORES = 1

    # Indicates that only the stores listed in `store_codes` are eligible
    # for local delivery.
    SELECTED_STORES = 2
  end
end