Class: Google::Apis::MybusinessplaceactionsV1::OrderOnlineMetadata

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/mybusinessplaceactions_v1/classes.rb,
lib/google/apis/mybusinessplaceactions_v1/representations.rb,
lib/google/apis/mybusinessplaceactions_v1/representations.rb

Overview

Client version of the metadata for an order online action.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ OrderOnlineMetadata

Returns a new instance of OrderOnlineMetadata.



335
336
337
# File 'lib/google/apis/mybusinessplaceactions_v1/classes.rb', line 335

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#fulfillment_optionArray<Google::Apis::MybusinessplaceactionsV1::FulfillmentOption>

Available fulfillment options for an order online action. Corresponds to the JSON property fulfillmentOption



333
334
335
# File 'lib/google/apis/mybusinessplaceactions_v1/classes.rb', line 333

def fulfillment_option
  @fulfillment_option
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



340
341
342
# File 'lib/google/apis/mybusinessplaceactions_v1/classes.rb', line 340

def update!(**args)
  @fulfillment_option = args[:fulfillment_option] if args.key?(:fulfillment_option)
end