Class: Google::Apis::ContentV2_1::PosStore

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PosStore

Returns a new instance of PosStore.



9862
9863
9864
# File 'lib/google/apis/content_v2_1/classes.rb', line 9862

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)


9850
9851
9852
# File 'lib/google/apis/content_v2_1/classes.rb', line 9850

def kind
  @kind
end

#store_addressString

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

Returns:

  • (String)


9855
9856
9857
# File 'lib/google/apis/content_v2_1/classes.rb', line 9855

def store_address
  @store_address
end

#store_codeString

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

Returns:

  • (String)


9860
9861
9862
# File 'lib/google/apis/content_v2_1/classes.rb', line 9860

def store_code
  @store_code
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9867
9868
9869
9870
9871
# File 'lib/google/apis/content_v2_1/classes.rb', line 9867

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