Class: Google::Apis::ContentV2::PosStore

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/content_v2/classes.rb,
generated/google/apis/content_v2/representations.rb,
generated/google/apis/content_v2/representations.rb

Overview

Store resource.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ PosStore

Returns a new instance of PosStore.



8401
8402
8403
# File 'generated/google/apis/content_v2/classes.rb', line 8401

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

Instance Attribute Details

#kindString

Identifies what kind of resource this is. Value: the fixed string "content# posStore". Corresponds to the JSON property kind

Returns:

  • (String)


8389
8390
8391
# File 'generated/google/apis/content_v2/classes.rb', line 8389

def kind
  @kind
end

#store_addressString

The street address of the store. Corresponds to the JSON property storeAddress

Returns:

  • (String)


8394
8395
8396
# File 'generated/google/apis/content_v2/classes.rb', line 8394

def store_address
  @store_address
end

#store_codeString

A store identifier that is unique for the given merchant. Corresponds to the JSON property storeCode

Returns:

  • (String)


8399
8400
8401
# File 'generated/google/apis/content_v2/classes.rb', line 8399

def store_code
  @store_code
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8406
8407
8408
8409
8410
# File 'generated/google/apis/content_v2/classes.rb', line 8406

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