Class: Google::Shopping::Merchant::Accounts::V1beta::Service

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

Shipping service.

Defined Under Namespace

Modules: ShipmentType Classes: LoyaltyProgram, StoreConfig

Instance Attribute Summary collapse

Instance Attribute Details

#active::Boolean

Returns Required. A boolean exposing the active status of the shipping service.

Returns:

  • (::Boolean)

    Required. A boolean exposing the active status of the shipping service.



107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
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
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
# File 'proto_docs/google/shopping/merchant/accounts/v1beta/shippingsettings.rb', line 107

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

  # A list of stores your products are delivered from.
  # This is only valid for the local delivery shipment type.
  # @!attribute [rw] store_service_type
  #   @return [::Google::Shopping::Merchant::Accounts::V1beta::Service::StoreConfig::StoreServiceType]
  #     Indicates whether all stores, or selected stores, listed by this
  #     merchant provide local delivery.
  # @!attribute [rw] store_codes
  #   @return [::Array<::String>]
  #     Optional. A list of store codes that provide local delivery.
  #     If empty, then `all_stores` must be true.
  # @!attribute [rw] cutoff_config
  #   @return [::Google::Shopping::Merchant::Accounts::V1beta::Service::StoreConfig::CutoffConfig]
  #     Configs related to local delivery ends for the day.
  # @!attribute [rw] service_radius
  #   @return [::Google::Shopping::Merchant::Accounts::V1beta::Distance]
  #     Maximum delivery radius.
  #     This is only required for the local delivery shipment type.
  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::V1beta::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]
    #     Merchants 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
    # merchant 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
      # merchant 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

  # [Loyalty program](https://support.google.com/merchants/answer/12922446)
  # provided by a merchant.
  # @!attribute [rw] program_label
  #   @return [::String]
  #     This is the loyalty program label set in your loyalty program settings in
  #     Merchant Center. This sub-attribute allows Google to map your loyalty
  #     program to eligible offers.
  # @!attribute [rw] loyalty_program_tiers
  #   @return [::Array<::Google::Shopping::Merchant::Accounts::V1beta::Service::LoyaltyProgram::LoyaltyProgramTiers>]
  #     Optional. Loyalty program tier of this shipping service.
  class LoyaltyProgram
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Subset of a merchants loyalty program.
    # @!attribute [rw] tier_label
    #   @return [::String]
    #     The tier label [tier_label] sub-attribute differentiates offer level
    #     benefits between each tier. This value is also set in your program
    #     settings in Merchant Center, and is required for data source changes
    #     even if your loyalty program only has 1 tier.
    class LoyaltyProgramTiers
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Shipment type of shipping service.
  module ShipmentType
    # This service did not specify shipment type.
    SHIPMENT_TYPE_UNSPECIFIED = 0

    # This service ships orders to an address chosen by the customer.
    DELIVERY = 1

    # This service ships orders to an address chosen by the customer.
    # The order is shipped from a local store near by.
    LOCAL_DELIVERY = 2

    # This service ships orders to an address chosen by the customer.
    # The order is shipped from a collection point.
    COLLECTION_POINT = 3
  end
end

#currency_code::String

Returns The CLDR code of the currency to which this service applies. Must match that of the prices in rate groups.

Returns:

  • (::String)

    The CLDR code of the currency to which this service applies. Must match that of the prices in rate groups.



107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
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
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
# File 'proto_docs/google/shopping/merchant/accounts/v1beta/shippingsettings.rb', line 107

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

  # A list of stores your products are delivered from.
  # This is only valid for the local delivery shipment type.
  # @!attribute [rw] store_service_type
  #   @return [::Google::Shopping::Merchant::Accounts::V1beta::Service::StoreConfig::StoreServiceType]
  #     Indicates whether all stores, or selected stores, listed by this
  #     merchant provide local delivery.
  # @!attribute [rw] store_codes
  #   @return [::Array<::String>]
  #     Optional. A list of store codes that provide local delivery.
  #     If empty, then `all_stores` must be true.
  # @!attribute [rw] cutoff_config
  #   @return [::Google::Shopping::Merchant::Accounts::V1beta::Service::StoreConfig::CutoffConfig]
  #     Configs related to local delivery ends for the day.
  # @!attribute [rw] service_radius
  #   @return [::Google::Shopping::Merchant::Accounts::V1beta::Distance]
  #     Maximum delivery radius.
  #     This is only required for the local delivery shipment type.
  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::V1beta::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]
    #     Merchants 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
    # merchant 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
      # merchant 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

  # [Loyalty program](https://support.google.com/merchants/answer/12922446)
  # provided by a merchant.
  # @!attribute [rw] program_label
  #   @return [::String]
  #     This is the loyalty program label set in your loyalty program settings in
  #     Merchant Center. This sub-attribute allows Google to map your loyalty
  #     program to eligible offers.
  # @!attribute [rw] loyalty_program_tiers
  #   @return [::Array<::Google::Shopping::Merchant::Accounts::V1beta::Service::LoyaltyProgram::LoyaltyProgramTiers>]
  #     Optional. Loyalty program tier of this shipping service.
  class LoyaltyProgram
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Subset of a merchants loyalty program.
    # @!attribute [rw] tier_label
    #   @return [::String]
    #     The tier label [tier_label] sub-attribute differentiates offer level
    #     benefits between each tier. This value is also set in your program
    #     settings in Merchant Center, and is required for data source changes
    #     even if your loyalty program only has 1 tier.
    class LoyaltyProgramTiers
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Shipment type of shipping service.
  module ShipmentType
    # This service did not specify shipment type.
    SHIPMENT_TYPE_UNSPECIFIED = 0

    # This service ships orders to an address chosen by the customer.
    DELIVERY = 1

    # This service ships orders to an address chosen by the customer.
    # The order is shipped from a local store near by.
    LOCAL_DELIVERY = 2

    # This service ships orders to an address chosen by the customer.
    # The order is shipped from a collection point.
    COLLECTION_POINT = 3
  end
end

#delivery_countries::Array<::String>

Returns Required. The CLDR territory code of the countries to which the service applies.

Returns:

  • (::Array<::String>)

    Required. The CLDR territory code of the countries to which the service applies.



107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
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
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
# File 'proto_docs/google/shopping/merchant/accounts/v1beta/shippingsettings.rb', line 107

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

  # A list of stores your products are delivered from.
  # This is only valid for the local delivery shipment type.
  # @!attribute [rw] store_service_type
  #   @return [::Google::Shopping::Merchant::Accounts::V1beta::Service::StoreConfig::StoreServiceType]
  #     Indicates whether all stores, or selected stores, listed by this
  #     merchant provide local delivery.
  # @!attribute [rw] store_codes
  #   @return [::Array<::String>]
  #     Optional. A list of store codes that provide local delivery.
  #     If empty, then `all_stores` must be true.
  # @!attribute [rw] cutoff_config
  #   @return [::Google::Shopping::Merchant::Accounts::V1beta::Service::StoreConfig::CutoffConfig]
  #     Configs related to local delivery ends for the day.
  # @!attribute [rw] service_radius
  #   @return [::Google::Shopping::Merchant::Accounts::V1beta::Distance]
  #     Maximum delivery radius.
  #     This is only required for the local delivery shipment type.
  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::V1beta::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]
    #     Merchants 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
    # merchant 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
      # merchant 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

  # [Loyalty program](https://support.google.com/merchants/answer/12922446)
  # provided by a merchant.
  # @!attribute [rw] program_label
  #   @return [::String]
  #     This is the loyalty program label set in your loyalty program settings in
  #     Merchant Center. This sub-attribute allows Google to map your loyalty
  #     program to eligible offers.
  # @!attribute [rw] loyalty_program_tiers
  #   @return [::Array<::Google::Shopping::Merchant::Accounts::V1beta::Service::LoyaltyProgram::LoyaltyProgramTiers>]
  #     Optional. Loyalty program tier of this shipping service.
  class LoyaltyProgram
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Subset of a merchants loyalty program.
    # @!attribute [rw] tier_label
    #   @return [::String]
    #     The tier label [tier_label] sub-attribute differentiates offer level
    #     benefits between each tier. This value is also set in your program
    #     settings in Merchant Center, and is required for data source changes
    #     even if your loyalty program only has 1 tier.
    class LoyaltyProgramTiers
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Shipment type of shipping service.
  module ShipmentType
    # This service did not specify shipment type.
    SHIPMENT_TYPE_UNSPECIFIED = 0

    # This service ships orders to an address chosen by the customer.
    DELIVERY = 1

    # This service ships orders to an address chosen by the customer.
    # The order is shipped from a local store near by.
    LOCAL_DELIVERY = 2

    # This service ships orders to an address chosen by the customer.
    # The order is shipped from a collection point.
    COLLECTION_POINT = 3
  end
end

#delivery_time::Google::Shopping::Merchant::Accounts::V1beta::DeliveryTime

Returns Required. Time spent in various aspects from order to the delivery of the product.

Returns:



107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
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
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
# File 'proto_docs/google/shopping/merchant/accounts/v1beta/shippingsettings.rb', line 107

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

  # A list of stores your products are delivered from.
  # This is only valid for the local delivery shipment type.
  # @!attribute [rw] store_service_type
  #   @return [::Google::Shopping::Merchant::Accounts::V1beta::Service::StoreConfig::StoreServiceType]
  #     Indicates whether all stores, or selected stores, listed by this
  #     merchant provide local delivery.
  # @!attribute [rw] store_codes
  #   @return [::Array<::String>]
  #     Optional. A list of store codes that provide local delivery.
  #     If empty, then `all_stores` must be true.
  # @!attribute [rw] cutoff_config
  #   @return [::Google::Shopping::Merchant::Accounts::V1beta::Service::StoreConfig::CutoffConfig]
  #     Configs related to local delivery ends for the day.
  # @!attribute [rw] service_radius
  #   @return [::Google::Shopping::Merchant::Accounts::V1beta::Distance]
  #     Maximum delivery radius.
  #     This is only required for the local delivery shipment type.
  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::V1beta::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]
    #     Merchants 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
    # merchant 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
      # merchant 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

  # [Loyalty program](https://support.google.com/merchants/answer/12922446)
  # provided by a merchant.
  # @!attribute [rw] program_label
  #   @return [::String]
  #     This is the loyalty program label set in your loyalty program settings in
  #     Merchant Center. This sub-attribute allows Google to map your loyalty
  #     program to eligible offers.
  # @!attribute [rw] loyalty_program_tiers
  #   @return [::Array<::Google::Shopping::Merchant::Accounts::V1beta::Service::LoyaltyProgram::LoyaltyProgramTiers>]
  #     Optional. Loyalty program tier of this shipping service.
  class LoyaltyProgram
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Subset of a merchants loyalty program.
    # @!attribute [rw] tier_label
    #   @return [::String]
    #     The tier label [tier_label] sub-attribute differentiates offer level
    #     benefits between each tier. This value is also set in your program
    #     settings in Merchant Center, and is required for data source changes
    #     even if your loyalty program only has 1 tier.
    class LoyaltyProgramTiers
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Shipment type of shipping service.
  module ShipmentType
    # This service did not specify shipment type.
    SHIPMENT_TYPE_UNSPECIFIED = 0

    # This service ships orders to an address chosen by the customer.
    DELIVERY = 1

    # This service ships orders to an address chosen by the customer.
    # The order is shipped from a local store near by.
    LOCAL_DELIVERY = 2

    # This service ships orders to an address chosen by the customer.
    # The order is shipped from a collection point.
    COLLECTION_POINT = 3
  end
end

#loyalty_programs::Array<::Google::Shopping::Merchant::Accounts::V1beta::Service::LoyaltyProgram>

Returns Optional. Loyalty programs that this shipping service is limited to.

Returns:



107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
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
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
# File 'proto_docs/google/shopping/merchant/accounts/v1beta/shippingsettings.rb', line 107

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

  # A list of stores your products are delivered from.
  # This is only valid for the local delivery shipment type.
  # @!attribute [rw] store_service_type
  #   @return [::Google::Shopping::Merchant::Accounts::V1beta::Service::StoreConfig::StoreServiceType]
  #     Indicates whether all stores, or selected stores, listed by this
  #     merchant provide local delivery.
  # @!attribute [rw] store_codes
  #   @return [::Array<::String>]
  #     Optional. A list of store codes that provide local delivery.
  #     If empty, then `all_stores` must be true.
  # @!attribute [rw] cutoff_config
  #   @return [::Google::Shopping::Merchant::Accounts::V1beta::Service::StoreConfig::CutoffConfig]
  #     Configs related to local delivery ends for the day.
  # @!attribute [rw] service_radius
  #   @return [::Google::Shopping::Merchant::Accounts::V1beta::Distance]
  #     Maximum delivery radius.
  #     This is only required for the local delivery shipment type.
  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::V1beta::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]
    #     Merchants 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
    # merchant 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
      # merchant 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

  # [Loyalty program](https://support.google.com/merchants/answer/12922446)
  # provided by a merchant.
  # @!attribute [rw] program_label
  #   @return [::String]
  #     This is the loyalty program label set in your loyalty program settings in
  #     Merchant Center. This sub-attribute allows Google to map your loyalty
  #     program to eligible offers.
  # @!attribute [rw] loyalty_program_tiers
  #   @return [::Array<::Google::Shopping::Merchant::Accounts::V1beta::Service::LoyaltyProgram::LoyaltyProgramTiers>]
  #     Optional. Loyalty program tier of this shipping service.
  class LoyaltyProgram
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Subset of a merchants loyalty program.
    # @!attribute [rw] tier_label
    #   @return [::String]
    #     The tier label [tier_label] sub-attribute differentiates offer level
    #     benefits between each tier. This value is also set in your program
    #     settings in Merchant Center, and is required for data source changes
    #     even if your loyalty program only has 1 tier.
    class LoyaltyProgramTiers
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Shipment type of shipping service.
  module ShipmentType
    # This service did not specify shipment type.
    SHIPMENT_TYPE_UNSPECIFIED = 0

    # This service ships orders to an address chosen by the customer.
    DELIVERY = 1

    # This service ships orders to an address chosen by the customer.
    # The order is shipped from a local store near by.
    LOCAL_DELIVERY = 2

    # This service ships orders to an address chosen by the customer.
    # The order is shipped from a collection point.
    COLLECTION_POINT = 3
  end
end

#minimum_order_value::Google::Shopping::Type::Price

Returns Minimum order value for this service. If set, indicates that customers will have to spend at least this amount. All prices within a service must have the same currency. Cannot be set together with minimum_order_value_table.

Returns:

  • (::Google::Shopping::Type::Price)

    Minimum order value for this service. If set, indicates that customers will have to spend at least this amount. All prices within a service must have the same currency. Cannot be set together with minimum_order_value_table.



107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
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
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
# File 'proto_docs/google/shopping/merchant/accounts/v1beta/shippingsettings.rb', line 107

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

  # A list of stores your products are delivered from.
  # This is only valid for the local delivery shipment type.
  # @!attribute [rw] store_service_type
  #   @return [::Google::Shopping::Merchant::Accounts::V1beta::Service::StoreConfig::StoreServiceType]
  #     Indicates whether all stores, or selected stores, listed by this
  #     merchant provide local delivery.
  # @!attribute [rw] store_codes
  #   @return [::Array<::String>]
  #     Optional. A list of store codes that provide local delivery.
  #     If empty, then `all_stores` must be true.
  # @!attribute [rw] cutoff_config
  #   @return [::Google::Shopping::Merchant::Accounts::V1beta::Service::StoreConfig::CutoffConfig]
  #     Configs related to local delivery ends for the day.
  # @!attribute [rw] service_radius
  #   @return [::Google::Shopping::Merchant::Accounts::V1beta::Distance]
  #     Maximum delivery radius.
  #     This is only required for the local delivery shipment type.
  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::V1beta::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]
    #     Merchants 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
    # merchant 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
      # merchant 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

  # [Loyalty program](https://support.google.com/merchants/answer/12922446)
  # provided by a merchant.
  # @!attribute [rw] program_label
  #   @return [::String]
  #     This is the loyalty program label set in your loyalty program settings in
  #     Merchant Center. This sub-attribute allows Google to map your loyalty
  #     program to eligible offers.
  # @!attribute [rw] loyalty_program_tiers
  #   @return [::Array<::Google::Shopping::Merchant::Accounts::V1beta::Service::LoyaltyProgram::LoyaltyProgramTiers>]
  #     Optional. Loyalty program tier of this shipping service.
  class LoyaltyProgram
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Subset of a merchants loyalty program.
    # @!attribute [rw] tier_label
    #   @return [::String]
    #     The tier label [tier_label] sub-attribute differentiates offer level
    #     benefits between each tier. This value is also set in your program
    #     settings in Merchant Center, and is required for data source changes
    #     even if your loyalty program only has 1 tier.
    class LoyaltyProgramTiers
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Shipment type of shipping service.
  module ShipmentType
    # This service did not specify shipment type.
    SHIPMENT_TYPE_UNSPECIFIED = 0

    # This service ships orders to an address chosen by the customer.
    DELIVERY = 1

    # This service ships orders to an address chosen by the customer.
    # The order is shipped from a local store near by.
    LOCAL_DELIVERY = 2

    # This service ships orders to an address chosen by the customer.
    # The order is shipped from a collection point.
    COLLECTION_POINT = 3
  end
end

#minimum_order_value_table::Google::Shopping::Merchant::Accounts::V1beta::MinimumOrderValueTable

Returns Table of per store minimum order values for the pickup fulfillment type. Cannot be set together with minimum_order_value.

Returns:



107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
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
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
# File 'proto_docs/google/shopping/merchant/accounts/v1beta/shippingsettings.rb', line 107

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

  # A list of stores your products are delivered from.
  # This is only valid for the local delivery shipment type.
  # @!attribute [rw] store_service_type
  #   @return [::Google::Shopping::Merchant::Accounts::V1beta::Service::StoreConfig::StoreServiceType]
  #     Indicates whether all stores, or selected stores, listed by this
  #     merchant provide local delivery.
  # @!attribute [rw] store_codes
  #   @return [::Array<::String>]
  #     Optional. A list of store codes that provide local delivery.
  #     If empty, then `all_stores` must be true.
  # @!attribute [rw] cutoff_config
  #   @return [::Google::Shopping::Merchant::Accounts::V1beta::Service::StoreConfig::CutoffConfig]
  #     Configs related to local delivery ends for the day.
  # @!attribute [rw] service_radius
  #   @return [::Google::Shopping::Merchant::Accounts::V1beta::Distance]
  #     Maximum delivery radius.
  #     This is only required for the local delivery shipment type.
  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::V1beta::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]
    #     Merchants 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
    # merchant 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
      # merchant 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

  # [Loyalty program](https://support.google.com/merchants/answer/12922446)
  # provided by a merchant.
  # @!attribute [rw] program_label
  #   @return [::String]
  #     This is the loyalty program label set in your loyalty program settings in
  #     Merchant Center. This sub-attribute allows Google to map your loyalty
  #     program to eligible offers.
  # @!attribute [rw] loyalty_program_tiers
  #   @return [::Array<::Google::Shopping::Merchant::Accounts::V1beta::Service::LoyaltyProgram::LoyaltyProgramTiers>]
  #     Optional. Loyalty program tier of this shipping service.
  class LoyaltyProgram
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Subset of a merchants loyalty program.
    # @!attribute [rw] tier_label
    #   @return [::String]
    #     The tier label [tier_label] sub-attribute differentiates offer level
    #     benefits between each tier. This value is also set in your program
    #     settings in Merchant Center, and is required for data source changes
    #     even if your loyalty program only has 1 tier.
    class LoyaltyProgramTiers
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Shipment type of shipping service.
  module ShipmentType
    # This service did not specify shipment type.
    SHIPMENT_TYPE_UNSPECIFIED = 0

    # This service ships orders to an address chosen by the customer.
    DELIVERY = 1

    # This service ships orders to an address chosen by the customer.
    # The order is shipped from a local store near by.
    LOCAL_DELIVERY = 2

    # This service ships orders to an address chosen by the customer.
    # The order is shipped from a collection point.
    COLLECTION_POINT = 3
  end
end

#rate_groups::Array<::Google::Shopping::Merchant::Accounts::V1beta::RateGroup>

Returns Optional. Shipping rate group definitions. Only the last one is allowed to have an empty applicable_shipping_labels, which means "everything else". The other applicable_shipping_labels must not overlap.

Returns:



107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
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
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
# File 'proto_docs/google/shopping/merchant/accounts/v1beta/shippingsettings.rb', line 107

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

  # A list of stores your products are delivered from.
  # This is only valid for the local delivery shipment type.
  # @!attribute [rw] store_service_type
  #   @return [::Google::Shopping::Merchant::Accounts::V1beta::Service::StoreConfig::StoreServiceType]
  #     Indicates whether all stores, or selected stores, listed by this
  #     merchant provide local delivery.
  # @!attribute [rw] store_codes
  #   @return [::Array<::String>]
  #     Optional. A list of store codes that provide local delivery.
  #     If empty, then `all_stores` must be true.
  # @!attribute [rw] cutoff_config
  #   @return [::Google::Shopping::Merchant::Accounts::V1beta::Service::StoreConfig::CutoffConfig]
  #     Configs related to local delivery ends for the day.
  # @!attribute [rw] service_radius
  #   @return [::Google::Shopping::Merchant::Accounts::V1beta::Distance]
  #     Maximum delivery radius.
  #     This is only required for the local delivery shipment type.
  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::V1beta::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]
    #     Merchants 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
    # merchant 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
      # merchant 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

  # [Loyalty program](https://support.google.com/merchants/answer/12922446)
  # provided by a merchant.
  # @!attribute [rw] program_label
  #   @return [::String]
  #     This is the loyalty program label set in your loyalty program settings in
  #     Merchant Center. This sub-attribute allows Google to map your loyalty
  #     program to eligible offers.
  # @!attribute [rw] loyalty_program_tiers
  #   @return [::Array<::Google::Shopping::Merchant::Accounts::V1beta::Service::LoyaltyProgram::LoyaltyProgramTiers>]
  #     Optional. Loyalty program tier of this shipping service.
  class LoyaltyProgram
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Subset of a merchants loyalty program.
    # @!attribute [rw] tier_label
    #   @return [::String]
    #     The tier label [tier_label] sub-attribute differentiates offer level
    #     benefits between each tier. This value is also set in your program
    #     settings in Merchant Center, and is required for data source changes
    #     even if your loyalty program only has 1 tier.
    class LoyaltyProgramTiers
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Shipment type of shipping service.
  module ShipmentType
    # This service did not specify shipment type.
    SHIPMENT_TYPE_UNSPECIFIED = 0

    # This service ships orders to an address chosen by the customer.
    DELIVERY = 1

    # This service ships orders to an address chosen by the customer.
    # The order is shipped from a local store near by.
    LOCAL_DELIVERY = 2

    # This service ships orders to an address chosen by the customer.
    # The order is shipped from a collection point.
    COLLECTION_POINT = 3
  end
end

#service_name::String

Returns Required. Free-form name of the service. Must be unique within target account.

Returns:

  • (::String)

    Required. Free-form name of the service. Must be unique within target account.



107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
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
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
# File 'proto_docs/google/shopping/merchant/accounts/v1beta/shippingsettings.rb', line 107

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

  # A list of stores your products are delivered from.
  # This is only valid for the local delivery shipment type.
  # @!attribute [rw] store_service_type
  #   @return [::Google::Shopping::Merchant::Accounts::V1beta::Service::StoreConfig::StoreServiceType]
  #     Indicates whether all stores, or selected stores, listed by this
  #     merchant provide local delivery.
  # @!attribute [rw] store_codes
  #   @return [::Array<::String>]
  #     Optional. A list of store codes that provide local delivery.
  #     If empty, then `all_stores` must be true.
  # @!attribute [rw] cutoff_config
  #   @return [::Google::Shopping::Merchant::Accounts::V1beta::Service::StoreConfig::CutoffConfig]
  #     Configs related to local delivery ends for the day.
  # @!attribute [rw] service_radius
  #   @return [::Google::Shopping::Merchant::Accounts::V1beta::Distance]
  #     Maximum delivery radius.
  #     This is only required for the local delivery shipment type.
  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::V1beta::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]
    #     Merchants 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
    # merchant 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
      # merchant 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

  # [Loyalty program](https://support.google.com/merchants/answer/12922446)
  # provided by a merchant.
  # @!attribute [rw] program_label
  #   @return [::String]
  #     This is the loyalty program label set in your loyalty program settings in
  #     Merchant Center. This sub-attribute allows Google to map your loyalty
  #     program to eligible offers.
  # @!attribute [rw] loyalty_program_tiers
  #   @return [::Array<::Google::Shopping::Merchant::Accounts::V1beta::Service::LoyaltyProgram::LoyaltyProgramTiers>]
  #     Optional. Loyalty program tier of this shipping service.
  class LoyaltyProgram
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Subset of a merchants loyalty program.
    # @!attribute [rw] tier_label
    #   @return [::String]
    #     The tier label [tier_label] sub-attribute differentiates offer level
    #     benefits between each tier. This value is also set in your program
    #     settings in Merchant Center, and is required for data source changes
    #     even if your loyalty program only has 1 tier.
    class LoyaltyProgramTiers
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Shipment type of shipping service.
  module ShipmentType
    # This service did not specify shipment type.
    SHIPMENT_TYPE_UNSPECIFIED = 0

    # This service ships orders to an address chosen by the customer.
    DELIVERY = 1

    # This service ships orders to an address chosen by the customer.
    # The order is shipped from a local store near by.
    LOCAL_DELIVERY = 2

    # This service ships orders to an address chosen by the customer.
    # The order is shipped from a collection point.
    COLLECTION_POINT = 3
  end
end

#shipment_type::Google::Shopping::Merchant::Accounts::V1beta::Service::ShipmentType

Returns Type of locations this service ships orders to.

Returns:



107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
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
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
# File 'proto_docs/google/shopping/merchant/accounts/v1beta/shippingsettings.rb', line 107

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

  # A list of stores your products are delivered from.
  # This is only valid for the local delivery shipment type.
  # @!attribute [rw] store_service_type
  #   @return [::Google::Shopping::Merchant::Accounts::V1beta::Service::StoreConfig::StoreServiceType]
  #     Indicates whether all stores, or selected stores, listed by this
  #     merchant provide local delivery.
  # @!attribute [rw] store_codes
  #   @return [::Array<::String>]
  #     Optional. A list of store codes that provide local delivery.
  #     If empty, then `all_stores` must be true.
  # @!attribute [rw] cutoff_config
  #   @return [::Google::Shopping::Merchant::Accounts::V1beta::Service::StoreConfig::CutoffConfig]
  #     Configs related to local delivery ends for the day.
  # @!attribute [rw] service_radius
  #   @return [::Google::Shopping::Merchant::Accounts::V1beta::Distance]
  #     Maximum delivery radius.
  #     This is only required for the local delivery shipment type.
  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::V1beta::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]
    #     Merchants 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
    # merchant 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
      # merchant 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

  # [Loyalty program](https://support.google.com/merchants/answer/12922446)
  # provided by a merchant.
  # @!attribute [rw] program_label
  #   @return [::String]
  #     This is the loyalty program label set in your loyalty program settings in
  #     Merchant Center. This sub-attribute allows Google to map your loyalty
  #     program to eligible offers.
  # @!attribute [rw] loyalty_program_tiers
  #   @return [::Array<::Google::Shopping::Merchant::Accounts::V1beta::Service::LoyaltyProgram::LoyaltyProgramTiers>]
  #     Optional. Loyalty program tier of this shipping service.
  class LoyaltyProgram
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Subset of a merchants loyalty program.
    # @!attribute [rw] tier_label
    #   @return [::String]
    #     The tier label [tier_label] sub-attribute differentiates offer level
    #     benefits between each tier. This value is also set in your program
    #     settings in Merchant Center, and is required for data source changes
    #     even if your loyalty program only has 1 tier.
    class LoyaltyProgramTiers
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Shipment type of shipping service.
  module ShipmentType
    # This service did not specify shipment type.
    SHIPMENT_TYPE_UNSPECIFIED = 0

    # This service ships orders to an address chosen by the customer.
    DELIVERY = 1

    # This service ships orders to an address chosen by the customer.
    # The order is shipped from a local store near by.
    LOCAL_DELIVERY = 2

    # This service ships orders to an address chosen by the customer.
    # The order is shipped from a collection point.
    COLLECTION_POINT = 3
  end
end

#store_config::Google::Shopping::Merchant::Accounts::V1beta::Service::StoreConfig

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

Returns:



107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
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
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
# File 'proto_docs/google/shopping/merchant/accounts/v1beta/shippingsettings.rb', line 107

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

  # A list of stores your products are delivered from.
  # This is only valid for the local delivery shipment type.
  # @!attribute [rw] store_service_type
  #   @return [::Google::Shopping::Merchant::Accounts::V1beta::Service::StoreConfig::StoreServiceType]
  #     Indicates whether all stores, or selected stores, listed by this
  #     merchant provide local delivery.
  # @!attribute [rw] store_codes
  #   @return [::Array<::String>]
  #     Optional. A list of store codes that provide local delivery.
  #     If empty, then `all_stores` must be true.
  # @!attribute [rw] cutoff_config
  #   @return [::Google::Shopping::Merchant::Accounts::V1beta::Service::StoreConfig::CutoffConfig]
  #     Configs related to local delivery ends for the day.
  # @!attribute [rw] service_radius
  #   @return [::Google::Shopping::Merchant::Accounts::V1beta::Distance]
  #     Maximum delivery radius.
  #     This is only required for the local delivery shipment type.
  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::V1beta::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]
    #     Merchants 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
    # merchant 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
      # merchant 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

  # [Loyalty program](https://support.google.com/merchants/answer/12922446)
  # provided by a merchant.
  # @!attribute [rw] program_label
  #   @return [::String]
  #     This is the loyalty program label set in your loyalty program settings in
  #     Merchant Center. This sub-attribute allows Google to map your loyalty
  #     program to eligible offers.
  # @!attribute [rw] loyalty_program_tiers
  #   @return [::Array<::Google::Shopping::Merchant::Accounts::V1beta::Service::LoyaltyProgram::LoyaltyProgramTiers>]
  #     Optional. Loyalty program tier of this shipping service.
  class LoyaltyProgram
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Subset of a merchants loyalty program.
    # @!attribute [rw] tier_label
    #   @return [::String]
    #     The tier label [tier_label] sub-attribute differentiates offer level
    #     benefits between each tier. This value is also set in your program
    #     settings in Merchant Center, and is required for data source changes
    #     even if your loyalty program only has 1 tier.
    class LoyaltyProgramTiers
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Shipment type of shipping service.
  module ShipmentType
    # This service did not specify shipment type.
    SHIPMENT_TYPE_UNSPECIFIED = 0

    # This service ships orders to an address chosen by the customer.
    DELIVERY = 1

    # This service ships orders to an address chosen by the customer.
    # The order is shipped from a local store near by.
    LOCAL_DELIVERY = 2

    # This service ships orders to an address chosen by the customer.
    # The order is shipped from a collection point.
    COLLECTION_POINT = 3
  end
end