Class: Google::Apis::ContentV2_1::PosStore
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::PosStore
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/content_v2_1/classes.rb,
lib/google/apis/content_v2_1/representations.rb,
lib/google/apis/content_v2_1/representations.rb
Overview
Store resource.
Instance Attribute Summary collapse
-
#kind ⇒ String
Identifies what kind of resource this is.
-
#store_address ⇒ String
Required.
-
#store_code ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PosStore
constructor
A new instance of PosStore.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PosStore
Returns a new instance of PosStore.
9570 9571 9572 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 9570 def initialize(**args) update!(**args) end |
Instance Attribute Details
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "content#
posStore"
Corresponds to the JSON property kind
9558 9559 9560 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 9558 def kind @kind end |
#store_address ⇒ String
Required. The street address of the store.
Corresponds to the JSON property storeAddress
9563 9564 9565 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 9563 def store_address @store_address end |
#store_code ⇒ String
Required. A store identifier that is unique for the given merchant.
Corresponds to the JSON property storeCode
9568 9569 9570 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 9568 def store_code @store_code end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9575 9576 9577 9578 9579 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 9575 def update!(**args) @kind = args[:kind] if args.key?(:kind) @store_address = args[:store_address] if args.key?(:store_address) @store_code = args[:store_code] if args.key?(:store_code) end |