Class: Google::Apis::MerchantapiAccountsV1beta::Pickup
- Inherits:
-
Object
- Object
- Google::Apis::MerchantapiAccountsV1beta::Pickup
- 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
-
#state ⇒ String
Output only.
-
#uri ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Pickup
constructor
A new instance of Pickup.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Pickup
Returns a new instance of Pickup.
2961 2962 2963 |
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 2961 def initialize(**args) update!(**args) end |
Instance Attribute Details
#state ⇒ String
Output only. The state of the pickup serving.
Corresponds to the JSON property state
2953 2954 2955 |
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 2953 def state @state end |
#uri ⇒ String
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
2959 2960 2961 |
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 2959 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2966 2967 2968 2969 |
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 2966 def update!(**args) @state = args[:state] if args.key?(:state) @uri = args[:uri] if args.key?(:uri) end |