Class: Peddler::APIs::VendorShipmentsV1::PartyIdentification

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

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

Returns the value of attribute address.



518
519
520
# File 'sig/peddler/apis/vendor_shipments_v1.rbs', line 518

def address
  @address
end

#party_idString (readonly)

Returns the value of attribute party_id.

Returns:

  • (String)


519
520
521
# File 'sig/peddler/apis/vendor_shipments_v1.rbs', line 519

def party_id
  @party_id
end

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

Returns the value of attribute tax_registration_details.



520
521
522
# File 'sig/peddler/apis/vendor_shipments_v1.rbs', line 520

def tax_registration_details
  @tax_registration_details
end

Class Method Details

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



511
512
# File 'sig/peddler/apis/vendor_shipments_v1.rbs', line 511

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

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

Returns:

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


514
# File 'sig/peddler/apis/vendor_shipments_v1.rbs', line 514

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

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



509
510
# File 'sig/peddler/apis/vendor_shipments_v1.rbs', line 509

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

.parsePeddler::APIs::VendorShipmentsV1::PartyIdentification

Parameters:

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

Returns:



516
# File 'sig/peddler/apis/vendor_shipments_v1.rbs', line 516

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

Instance Method Details

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

Returns:

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


522
# File 'sig/peddler/apis/vendor_shipments_v1.rbs', line 522

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

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

Returns:



523
# File 'sig/peddler/apis/vendor_shipments_v1.rbs', line 523

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