Class: Peddler::APIs::VendorInvoicesV1::PartyIdentification

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

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

Returns the value of attribute address.



216
217
218
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 216

def address
  @address
end

#party_idString (readonly)

Returns the value of attribute party_id.

Returns:

  • (String)


217
218
219
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 217

def party_id
  @party_id
end

#tax_registration_detailsArray[Peddler::APIs::VendorInvoicesV1::TaxRegistrationDetails]? (readonly)

Returns the value of attribute tax_registration_details.



218
219
220
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 218

def tax_registration_details
  @tax_registration_details
end

Class Method Details

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

Overloads:



209
210
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 209

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

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

Returns:

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


212
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 212

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

.new(party_id:, address:, tax_registration_details:) ⇒ Peddler::APIs::VendorInvoicesV1::PartyIdentification .new(arg0, arg1, arg2) ⇒ Peddler::APIs::VendorInvoicesV1::PartyIdentification

Overloads:



207
208
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 207

def self.new: (party_id: String, ?address: Peddler::APIs::VendorInvoicesV1::Address?, ?tax_registration_details: Array[Peddler::APIs::VendorInvoicesV1::TaxRegistrationDetails]?) -> Peddler::APIs::VendorInvoicesV1::PartyIdentification
| (String, Peddler::APIs::VendorInvoicesV1::Address?, Array[Peddler::APIs::VendorInvoicesV1::TaxRegistrationDetails]?) -> Peddler::APIs::VendorInvoicesV1::PartyIdentification

.parsePeddler::APIs::VendorInvoicesV1::PartyIdentification

Parameters:

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

Returns:



214
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 214

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

Instance Method Details

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

Returns:

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


220
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 220

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

#to_h{ party_id: String, address: Peddler::APIs::VendorInvoicesV1::Address?, tax_registration_details: Array[Peddler::APIs::VendorInvoicesV1::TaxRegistrationDetails]? }

Returns:



221
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 221

def to_h: () -> { party_id: String, address: Peddler::APIs::VendorInvoicesV1::Address?, tax_registration_details: Array[Peddler::APIs::VendorInvoicesV1::TaxRegistrationDetails]? }