Class: Peddler::APIs::SellersV1::Account

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#businessPeddler::APIs::SellersV1::Business? (readonly)

Returns the value of attribute business.



14
15
16
# File 'sig/peddler/apis/sellers_v1.rbs', line 14

def business
  @business
end

#business_typeString (readonly)

Returns the value of attribute business_type.

Returns:

  • (String)


15
16
17
# File 'sig/peddler/apis/sellers_v1.rbs', line 15

def business_type
  @business_type
end

#marketplace_participation_listArray[Peddler::APIs::SellersV1::MarketplaceParticipation] (readonly)

Returns the value of attribute marketplace_participation_list.



16
17
18
# File 'sig/peddler/apis/sellers_v1.rbs', line 16

def marketplace_participation_list
  @marketplace_participation_list
end

#primary_contactPeddler::APIs::SellersV1::PrimaryContact? (readonly)

Returns the value of attribute primary_contact.



17
18
19
# File 'sig/peddler/apis/sellers_v1.rbs', line 17

def primary_contact
  @primary_contact
end

#selling_planString (readonly)

Returns the value of attribute selling_plan.

Returns:

  • (String)


18
19
20
# File 'sig/peddler/apis/sellers_v1.rbs', line 18

def selling_plan
  @selling_plan
end

Class Method Details

.[](business_type:, marketplace_participation_list:, selling_plan:, business:, primary_contact:) ⇒ Peddler::APIs::SellersV1::Account .[](arg0, arg1, arg2, arg3, arg4) ⇒ Peddler::APIs::SellersV1::Account

Overloads:



7
8
# File 'sig/peddler/apis/sellers_v1.rbs', line 7

def self.[]: (business_type: String, marketplace_participation_list: Array[Peddler::APIs::SellersV1::MarketplaceParticipation], selling_plan: String, ?business: Peddler::APIs::SellersV1::Business?, ?primary_contact: Peddler::APIs::SellersV1::PrimaryContact?) -> Peddler::APIs::SellersV1::Account
| (String, Array[Peddler::APIs::SellersV1::MarketplaceParticipation], String, Peddler::APIs::SellersV1::Business?, Peddler::APIs::SellersV1::PrimaryContact?) -> Peddler::APIs::SellersV1::Account

.members[ :business_type, :marketplace_participation_list, :selling_plan, :business, :primary_contact ]

Returns:

  • ([ :business_type, :marketplace_participation_list, :selling_plan, :business, :primary_contact ])


10
# File 'sig/peddler/apis/sellers_v1.rbs', line 10

def self.members: () -> [ :business_type, :marketplace_participation_list, :selling_plan, :business, :primary_contact ]

.new(business_type:, marketplace_participation_list:, selling_plan:, business:, primary_contact:) ⇒ Peddler::APIs::SellersV1::Account .new(arg0, arg1, arg2, arg3, arg4) ⇒ Peddler::APIs::SellersV1::Account

Overloads:



5
6
# File 'sig/peddler/apis/sellers_v1.rbs', line 5

def self.new: (business_type: String, marketplace_participation_list: Array[Peddler::APIs::SellersV1::MarketplaceParticipation], selling_plan: String, ?business: Peddler::APIs::SellersV1::Business?, ?primary_contact: Peddler::APIs::SellersV1::PrimaryContact?) -> Peddler::APIs::SellersV1::Account
| (String, Array[Peddler::APIs::SellersV1::MarketplaceParticipation], String, Peddler::APIs::SellersV1::Business?, Peddler::APIs::SellersV1::PrimaryContact?) -> Peddler::APIs::SellersV1::Account

.parsePeddler::APIs::SellersV1::Account

Parameters:

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

Returns:



12
# File 'sig/peddler/apis/sellers_v1.rbs', line 12

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

Instance Method Details

#members[ :business_type, :marketplace_participation_list, :selling_plan, :business, :primary_contact ]

Returns:

  • ([ :business_type, :marketplace_participation_list, :selling_plan, :business, :primary_contact ])


20
# File 'sig/peddler/apis/sellers_v1.rbs', line 20

def members: () -> [ :business_type, :marketplace_participation_list, :selling_plan, :business, :primary_contact ]

#to_h{ business_type: String, marketplace_participation_list: Array[Peddler::APIs::SellersV1::MarketplaceParticipation], selling_plan: String, business: Peddler::APIs::SellersV1::Business?, primary_contact: Peddler::APIs::SellersV1::PrimaryContact? }

Returns:



21
# File 'sig/peddler/apis/sellers_v1.rbs', line 21

def to_h: () -> { business_type: String, marketplace_participation_list: Array[Peddler::APIs::SellersV1::MarketplaceParticipation], selling_plan: String, business: Peddler::APIs::SellersV1::Business?, primary_contact: Peddler::APIs::SellersV1::PrimaryContact? }