Class: Google::Apis::ContentV2_1::PosStore
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::PosStore
- Defined in:
- generated/google/apis/content_v2_1/classes.rb,
generated/google/apis/content_v2_1/representations.rb,
generated/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
The street address of the store.
-
#store_code ⇒ String
A store identifier that is unique for the given merchant.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PosStore
constructor
A new instance of PosStore.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ PosStore
Returns a new instance of PosStore
6764 6765 6766 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 6764 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
6752 6753 6754 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 6752 def kind @kind end |
#store_address ⇒ String
The street address of the store.
Corresponds to the JSON property storeAddress
6757 6758 6759 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 6757 def store_address @store_address end |
#store_code ⇒ String
A store identifier that is unique for the given merchant.
Corresponds to the JSON property storeCode
6762 6763 6764 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 6762 def store_code @store_code end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6769 6770 6771 6772 6773 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 6769 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 |