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

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

Configs related to local delivery ends for the day.

Defined Under Namespace

Classes: LocalCutoffTime

Instance Attribute Summary collapse

Instance Attribute Details

#local_cutoff_time::Google::Shopping::Merchant::Accounts::V1beta::Service::StoreConfig::CutoffConfig::LocalCutoffTime

Returns Time that local delivery ends for the day.



150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
# File 'proto_docs/google/shopping/merchant/accounts/v1beta/shippingsettings.rb', line 150

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

#no_delivery_post_cutoff::Boolean

Returns 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.

Returns:

  • (::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.



150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
# File 'proto_docs/google/shopping/merchant/accounts/v1beta/shippingsettings.rb', line 150

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

#store_close_offset_hours::Integer

Returns Only valid with local delivery fulfillment. Represents cutoff time as the number of hours before store closing. Mutually exclusive with local_cutoff_time.

Returns:

  • (::Integer)

    Only valid with local delivery fulfillment. Represents cutoff time as the number of hours before store closing. Mutually exclusive with local_cutoff_time.



150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
# File 'proto_docs/google/shopping/merchant/accounts/v1beta/shippingsettings.rb', line 150

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