Class: Google::Apis::MerchantapiAccountsV1beta::Pickup

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

Overview

Collection of information related to Pickup.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Pickup

Returns a new instance of Pickup.



2955
2956
2957
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 2955

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

Instance Attribute Details

#stateString

Output only. The state of the pickup serving. Corresponds to the JSON property state

Returns:

  • (String)


2947
2948
2949
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 2947

def state
  @state
end

#uriString

Required. Pickup product page URI. It is only used for the review of pickup serving. This URI domain should match with the business's homepage. Corresponds to the JSON property uri

Returns:

  • (String)


2953
2954
2955
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 2953

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2960
2961
2962
2963
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 2960

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