Class: Peddler::APIs::ShippingV2::DangerousGoodsDetails
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::ShippingV2::DangerousGoodsDetails
- Defined in:
- sig/peddler/apis/shipping_v2.rbs
Instance Attribute Summary collapse
-
#packing_group ⇒ String?
readonly
Returns the value of attribute packing_group.
-
#packing_instruction ⇒ String?
readonly
Returns the value of attribute packing_instruction.
-
#transportation_regulatory_class ⇒ String?
readonly
Returns the value of attribute transportation_regulatory_class.
-
#united_nations_regulatory_id ⇒ String?
readonly
Returns the value of attribute united_nations_regulatory_id.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :packing_group, :packing_instruction, :transportation_regulatory_class, :united_nations_regulatory_id ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::ShippingV2::DangerousGoodsDetails
Instance Method Summary collapse
-
#members ⇒ [ :packing_group, :packing_instruction, :transportation_regulatory_class, :united_nations_regulatory_id ]
-
#to_h ⇒ { packing_group: String?, packing_instruction: String?, transportation_regulatory_class: String?, united_nations_regulatory_id: String? }
Instance Attribute Details
#packing_group ⇒ String? (readonly)
Returns the value of attribute packing_group.
462 463 464 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 462 def packing_group @packing_group end |
#packing_instruction ⇒ String? (readonly)
Returns the value of attribute packing_instruction.
463 464 465 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 463 def packing_instruction @packing_instruction end |
#transportation_regulatory_class ⇒ String? (readonly)
Returns the value of attribute transportation_regulatory_class.
464 465 466 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 464 def transportation_regulatory_class @transportation_regulatory_class end |
#united_nations_regulatory_id ⇒ String? (readonly)
Returns the value of attribute united_nations_regulatory_id.
465 466 467 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 465 def united_nations_regulatory_id @united_nations_regulatory_id end |
Class Method Details
.[](packing_group:, packing_instruction:, transportation_regulatory_class:, united_nations_regulatory_id:) ⇒ Peddler::APIs::ShippingV2::DangerousGoodsDetails .[](arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::ShippingV2::DangerousGoodsDetails
455 456 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 455
def self.[]: (?packing_group: String?, ?packing_instruction: String?, ?transportation_regulatory_class: String?, ?united_nations_regulatory_id: String?) -> Peddler::APIs::ShippingV2::DangerousGoodsDetails
| (String?, String?, String?, String?) -> Peddler::APIs::ShippingV2::DangerousGoodsDetails
|
.members ⇒ [ :packing_group, :packing_instruction, :transportation_regulatory_class, :united_nations_regulatory_id ]
458 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 458
def self.members: () -> [ :packing_group, :packing_instruction, :transportation_regulatory_class, :united_nations_regulatory_id ]
|
.new(packing_group:, packing_instruction:, transportation_regulatory_class:, united_nations_regulatory_id:) ⇒ Peddler::APIs::ShippingV2::DangerousGoodsDetails .new(arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::ShippingV2::DangerousGoodsDetails
453 454 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 453
def self.new: (?packing_group: String?, ?packing_instruction: String?, ?transportation_regulatory_class: String?, ?united_nations_regulatory_id: String?) -> Peddler::APIs::ShippingV2::DangerousGoodsDetails
| (String?, String?, String?, String?) -> Peddler::APIs::ShippingV2::DangerousGoodsDetails
|
.parse ⇒ Peddler::APIs::ShippingV2::DangerousGoodsDetails
460 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 460
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ShippingV2::DangerousGoodsDetails
|
Instance Method Details
#members ⇒ [ :packing_group, :packing_instruction, :transportation_regulatory_class, :united_nations_regulatory_id ]
467 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 467
def members: () -> [ :packing_group, :packing_instruction, :transportation_regulatory_class, :united_nations_regulatory_id ]
|
#to_h ⇒ { packing_group: String?, packing_instruction: String?, transportation_regulatory_class: String?, united_nations_regulatory_id: String? }
468 |
# File 'sig/peddler/apis/shipping_v2.rbs', line 468
def to_h: () -> { packing_group: String?, packing_instruction: String?, transportation_regulatory_class: String?, united_nations_regulatory_id: String? }
|