Class: Peddler::APIs::Invoices20240619::CarrierDetailsContext

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#addressString? (readonly)

Returns the value of attribute address.

Returns:

  • (String, nil)


31
32
33
# File 'sig/peddler/apis/invoices_2024_06_19.rbs', line 31

def address
  @address
end

#context_typeString? (readonly)

Returns the value of attribute context_type.

Returns:

  • (String, nil)


32
33
34
# File 'sig/peddler/apis/invoices_2024_06_19.rbs', line 32

def context_type
  @context_type
end

#federal_tax_idString? (readonly)

Returns the value of attribute federal_tax_id.

Returns:

  • (String, nil)


33
34
35
# File 'sig/peddler/apis/invoices_2024_06_19.rbs', line 33

def federal_tax_id
  @federal_tax_id
end

#nameString? (readonly)

Returns the value of attribute name.

Returns:

  • (String, nil)


34
35
36
# File 'sig/peddler/apis/invoices_2024_06_19.rbs', line 34

def name
  @name
end

#region_codeString? (readonly)

Returns the value of attribute region_code.

Returns:

  • (String, nil)


35
36
37
# File 'sig/peddler/apis/invoices_2024_06_19.rbs', line 35

def region_code
  @region_code
end

#region_tax_idString? (readonly)

Returns the value of attribute region_tax_id.

Returns:

  • (String, nil)


36
37
38
# File 'sig/peddler/apis/invoices_2024_06_19.rbs', line 36

def region_tax_id
  @region_tax_id
end

#vehicle_license_plateString? (readonly)

Returns the value of attribute vehicle_license_plate.

Returns:

  • (String, nil)


37
38
39
# File 'sig/peddler/apis/invoices_2024_06_19.rbs', line 37

def vehicle_license_plate
  @vehicle_license_plate
end

#vehicle_registration_region_codeString? (readonly)

Returns the value of attribute vehicle_registration_region_code.

Returns:

  • (String, nil)


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

def vehicle_registration_region_code
  @vehicle_registration_region_code
end

Class Method Details

.[](address:, context_type:, federal_tax_id:, name:, region_code:, region_tax_id:, vehicle_license_plate:, vehicle_registration_region_code:) ⇒ Peddler::APIs::Invoices20240619::CarrierDetailsContext .[](arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) ⇒ Peddler::APIs::Invoices20240619::CarrierDetailsContext

Overloads:



24
25
# File 'sig/peddler/apis/invoices_2024_06_19.rbs', line 24

def self.[]: (?address: String?, ?context_type: String?, ?federal_tax_id: String?, ?name: String?, ?region_code: String?, ?region_tax_id: String?, ?vehicle_license_plate: String?, ?vehicle_registration_region_code: String?) -> Peddler::APIs::Invoices20240619::CarrierDetailsContext
| (String?, String?, String?, String?, String?, String?, String?, String?) -> Peddler::APIs::Invoices20240619::CarrierDetailsContext

.members[ :address, :context_type, :federal_tax_id, :name, :region_code, :region_tax_id, :vehicle_license_plate, :vehicle_registration_region_code ]

Returns:

  • ([ :address, :context_type, :federal_tax_id, :name, :region_code, :region_tax_id, :vehicle_license_plate, :vehicle_registration_region_code ])


27
# File 'sig/peddler/apis/invoices_2024_06_19.rbs', line 27

def self.members: () -> [ :address, :context_type, :federal_tax_id, :name, :region_code, :region_tax_id, :vehicle_license_plate, :vehicle_registration_region_code ]

.new(address:, context_type:, federal_tax_id:, name:, region_code:, region_tax_id:, vehicle_license_plate:, vehicle_registration_region_code:) ⇒ Peddler::APIs::Invoices20240619::CarrierDetailsContext .new(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) ⇒ Peddler::APIs::Invoices20240619::CarrierDetailsContext

Overloads:



22
23
# File 'sig/peddler/apis/invoices_2024_06_19.rbs', line 22

def self.new: (?address: String?, ?context_type: String?, ?federal_tax_id: String?, ?name: String?, ?region_code: String?, ?region_tax_id: String?, ?vehicle_license_plate: String?, ?vehicle_registration_region_code: String?) -> Peddler::APIs::Invoices20240619::CarrierDetailsContext
| (String?, String?, String?, String?, String?, String?, String?, String?) -> Peddler::APIs::Invoices20240619::CarrierDetailsContext

.parsePeddler::APIs::Invoices20240619::CarrierDetailsContext

Parameters:

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

Returns:



29
# File 'sig/peddler/apis/invoices_2024_06_19.rbs', line 29

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

Instance Method Details

#members[ :address, :context_type, :federal_tax_id, :name, :region_code, :region_tax_id, :vehicle_license_plate, :vehicle_registration_region_code ]

Returns:

  • ([ :address, :context_type, :federal_tax_id, :name, :region_code, :region_tax_id, :vehicle_license_plate, :vehicle_registration_region_code ])


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

def members: () -> [ :address, :context_type, :federal_tax_id, :name, :region_code, :region_tax_id, :vehicle_license_plate, :vehicle_registration_region_code ]

#to_h{ address: String?, context_type: String?, federal_tax_id: String?, name: String?, region_code: String?, region_tax_id: String?, vehicle_license_plate: String?, vehicle_registration_region_code: String? }

Returns:

  • ({ address: String?, context_type: String?, federal_tax_id: String?, name: String?, region_code: String?, region_tax_id: String?, vehicle_license_plate: String?, vehicle_registration_region_code: String? })


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

def to_h: () -> { address: String?, context_type: String?, federal_tax_id: String?, name: String?, region_code: String?, region_tax_id: String?, vehicle_license_plate: String?, vehicle_registration_region_code: String? }