Class: Peddler::APIs::VendorOrdersV1::PartyIdentification

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#addressPeddler::APIs::VendorOrdersV1::Address? (readonly)

Returns the value of attribute address.



418
419
420
# File 'sig/peddler/apis/vendor_orders_v1.rbs', line 418

def address
  @address
end

#party_idString (readonly)

Returns the value of attribute party_id.

Returns:

  • (String)


419
420
421
# File 'sig/peddler/apis/vendor_orders_v1.rbs', line 419

def party_id
  @party_id
end

#tax_infoPeddler::APIs::VendorOrdersV1::TaxRegistrationDetails? (readonly)

Returns the value of attribute tax_info.



420
421
422
# File 'sig/peddler/apis/vendor_orders_v1.rbs', line 420

def tax_info
  @tax_info
end

Class Method Details

.[](party_id:, address:, tax_info:) ⇒ Peddler::APIs::VendorOrdersV1::PartyIdentification .[](arg0, arg1, arg2) ⇒ Peddler::APIs::VendorOrdersV1::PartyIdentification



411
412
# File 'sig/peddler/apis/vendor_orders_v1.rbs', line 411

def self.[]: (party_id: String, ?address: Peddler::APIs::VendorOrdersV1::Address?, ?tax_info: Peddler::APIs::VendorOrdersV1::TaxRegistrationDetails?) -> Peddler::APIs::VendorOrdersV1::PartyIdentification
| (String, Peddler::APIs::VendorOrdersV1::Address?, Peddler::APIs::VendorOrdersV1::TaxRegistrationDetails?) -> Peddler::APIs::VendorOrdersV1::PartyIdentification

.members[ :party_id, :address, :tax_info ]

Returns:

  • ([ :party_id, :address, :tax_info ])


414
# File 'sig/peddler/apis/vendor_orders_v1.rbs', line 414

def self.members: () -> [ :party_id, :address, :tax_info ]

.new(party_id:, address:, tax_info:) ⇒ Peddler::APIs::VendorOrdersV1::PartyIdentification .new(arg0, arg1, arg2) ⇒ Peddler::APIs::VendorOrdersV1::PartyIdentification



409
410
# File 'sig/peddler/apis/vendor_orders_v1.rbs', line 409

def self.new: (party_id: String, ?address: Peddler::APIs::VendorOrdersV1::Address?, ?tax_info: Peddler::APIs::VendorOrdersV1::TaxRegistrationDetails?) -> Peddler::APIs::VendorOrdersV1::PartyIdentification
| (String, Peddler::APIs::VendorOrdersV1::Address?, Peddler::APIs::VendorOrdersV1::TaxRegistrationDetails?) -> Peddler::APIs::VendorOrdersV1::PartyIdentification

.parsePeddler::APIs::VendorOrdersV1::PartyIdentification

Parameters:

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

Returns:



416
# File 'sig/peddler/apis/vendor_orders_v1.rbs', line 416

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

Instance Method Details

#members[ :party_id, :address, :tax_info ]

Returns:

  • ([ :party_id, :address, :tax_info ])


422
# File 'sig/peddler/apis/vendor_orders_v1.rbs', line 422

def members: () -> [ :party_id, :address, :tax_info ]

#to_h{ party_id: String, address: Peddler::APIs::VendorOrdersV1::Address?, tax_info: Peddler::APIs::VendorOrdersV1::TaxRegistrationDetails? }



423
# File 'sig/peddler/apis/vendor_orders_v1.rbs', line 423

def to_h: () -> { party_id: String, address: Peddler::APIs::VendorOrdersV1::Address?, tax_info: Peddler::APIs::VendorOrdersV1::TaxRegistrationDetails? }