Class: Google::Shopping::Merchant::Accounts::V1beta::Service::StoreConfig
- Inherits:
-
Object
- Object
- Google::Shopping::Merchant::Accounts::V1beta::Service::StoreConfig
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/shopping/merchant/accounts/v1beta/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
-
#cutoff_config ⇒ ::Google::Shopping::Merchant::Accounts::V1beta::Service::StoreConfig::CutoffConfig
Configs related to local delivery ends for the day.
-
#service_radius ⇒ ::Google::Shopping::Merchant::Accounts::V1beta::Distance
Maximum delivery radius.
-
#store_codes ⇒ ::Array<::String>
Optional.
-
#store_service_type ⇒ ::Google::Shopping::Merchant::Accounts::V1beta::Service::StoreConfig::StoreServiceType
Indicates whether all stores, or selected stores, listed by this merchant provide local delivery.
Instance Attribute Details
#cutoff_config ⇒ ::Google::Shopping::Merchant::Accounts::V1beta::Service::StoreConfig::CutoffConfig
Returns Configs related to local delivery ends for the day.
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 |
# File 'proto_docs/google/shopping/merchant/accounts/v1beta/shippingsettings.rb', line 128 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 |
#service_radius ⇒ ::Google::Shopping::Merchant::Accounts::V1beta::Distance
Returns Maximum delivery radius. This is only required for the local delivery shipment type.
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 |
# File 'proto_docs/google/shopping/merchant/accounts/v1beta/shippingsettings.rb', line 128 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 |
#store_codes ⇒ ::Array<::String>
Returns Optional. A list of store codes that provide local delivery.
If empty, then all_stores
must be true.
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 |
# File 'proto_docs/google/shopping/merchant/accounts/v1beta/shippingsettings.rb', line 128 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 |
#store_service_type ⇒ ::Google::Shopping::Merchant::Accounts::V1beta::Service::StoreConfig::StoreServiceType
Returns Indicates whether all stores, or selected stores, listed by this merchant provide local delivery.
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 |
# File 'proto_docs/google/shopping/merchant/accounts/v1beta/shippingsettings.rb', line 128 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 |