Class: Peddler::APIs::ProductTypeDefinitions20200901::ProductType

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/apis/product_type_definitions_2020_09_01.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#display_nameString (readonly)

Returns the value of attribute display_name.

Returns:

  • (String)


48
49
50
# File 'sig/peddler/apis/product_type_definitions_2020_09_01.rbs', line 48

def display_name
  @display_name
end

#marketplace_idsArray[String] (readonly)

Returns the value of attribute marketplace_ids.

Returns:

  • (Array[String])


49
50
51
# File 'sig/peddler/apis/product_type_definitions_2020_09_01.rbs', line 49

def marketplace_ids
  @marketplace_ids
end

#nameString (readonly)

Returns the value of attribute name.

Returns:

  • (String)


50
51
52
# File 'sig/peddler/apis/product_type_definitions_2020_09_01.rbs', line 50

def name
  @name
end

Class Method Details

.[](display_name:, marketplace_ids:, name:) ⇒ Peddler::APIs::ProductTypeDefinitions20200901::ProductType .[](arg0, arg1, arg2) ⇒ Peddler::APIs::ProductTypeDefinitions20200901::ProductType

Overloads:



41
42
# File 'sig/peddler/apis/product_type_definitions_2020_09_01.rbs', line 41

def self.[]: (display_name: String, marketplace_ids: Array[String], name: String) -> Peddler::APIs::ProductTypeDefinitions20200901::ProductType
| (String, Array[String], String) -> Peddler::APIs::ProductTypeDefinitions20200901::ProductType

.members[ :display_name, :marketplace_ids, :name ]

Returns:

  • ([ :display_name, :marketplace_ids, :name ])


44
# File 'sig/peddler/apis/product_type_definitions_2020_09_01.rbs', line 44

def self.members: () -> [ :display_name, :marketplace_ids, :name ]

.new(display_name:, marketplace_ids:, name:) ⇒ Peddler::APIs::ProductTypeDefinitions20200901::ProductType .new(arg0, arg1, arg2) ⇒ Peddler::APIs::ProductTypeDefinitions20200901::ProductType

Overloads:



39
40
# File 'sig/peddler/apis/product_type_definitions_2020_09_01.rbs', line 39

def self.new: (display_name: String, marketplace_ids: Array[String], name: String) -> Peddler::APIs::ProductTypeDefinitions20200901::ProductType
| (String, Array[String], String) -> Peddler::APIs::ProductTypeDefinitions20200901::ProductType

.parsePeddler::APIs::ProductTypeDefinitions20200901::ProductType

Parameters:

  • (Hash[String | Symbol, untyped])
  • (Object)

Returns:



46
# File 'sig/peddler/apis/product_type_definitions_2020_09_01.rbs', line 46

def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ProductTypeDefinitions20200901::ProductType

Instance Method Details

#members[ :display_name, :marketplace_ids, :name ]

Returns:

  • ([ :display_name, :marketplace_ids, :name ])


52
# File 'sig/peddler/apis/product_type_definitions_2020_09_01.rbs', line 52

def members: () -> [ :display_name, :marketplace_ids, :name ]

#to_h{ display_name: String, marketplace_ids: Array[String], name: String }

Returns:

  • ({ display_name: String, marketplace_ids: Array[String], name: String })


53
# File 'sig/peddler/apis/product_type_definitions_2020_09_01.rbs', line 53

def to_h: () -> { display_name: String, marketplace_ids: Array[String], name: String }