Class: Peddler::APIs::ShippingV2::SupportedDocumentDetail

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#mandatoryBoolean (readonly)

Returns the value of attribute mandatory.

Returns:

  • (Boolean)


1768
1769
1770
# File 'sig/peddler/apis/shipping_v2.rbs', line 1768

def mandatory
  @mandatory
end

#nameString (readonly)

Returns the value of attribute name.

Returns:

  • (String)


1769
1770
1771
# File 'sig/peddler/apis/shipping_v2.rbs', line 1769

def name
  @name
end

Class Method Details

.[](mandatory:, name:) ⇒ Peddler::APIs::ShippingV2::SupportedDocumentDetail .[](arg0, arg1) ⇒ Peddler::APIs::ShippingV2::SupportedDocumentDetail

Overloads:



1761
1762
# File 'sig/peddler/apis/shipping_v2.rbs', line 1761

def self.[]: (mandatory: bool, name: String) -> Peddler::APIs::ShippingV2::SupportedDocumentDetail
| (bool, String) -> Peddler::APIs::ShippingV2::SupportedDocumentDetail

.members[ :mandatory, :name ]

Returns:

  • ([ :mandatory, :name ])


1764
# File 'sig/peddler/apis/shipping_v2.rbs', line 1764

def self.members: () -> [ :mandatory, :name ]

.new(mandatory:, name:) ⇒ Peddler::APIs::ShippingV2::SupportedDocumentDetail .new(arg0, arg1) ⇒ Peddler::APIs::ShippingV2::SupportedDocumentDetail

Overloads:



1759
1760
# File 'sig/peddler/apis/shipping_v2.rbs', line 1759

def self.new: (mandatory: bool, name: String) -> Peddler::APIs::ShippingV2::SupportedDocumentDetail
| (bool, String) -> Peddler::APIs::ShippingV2::SupportedDocumentDetail

.parsePeddler::APIs::ShippingV2::SupportedDocumentDetail

Parameters:

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

Returns:



1766
# File 'sig/peddler/apis/shipping_v2.rbs', line 1766

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

Instance Method Details

#mandatory?Boolean

Returns:

  • (Boolean)


1771
# File 'sig/peddler/apis/shipping_v2.rbs', line 1771

def mandatory?: () -> bool

#members[ :mandatory, :name ]

Returns:

  • ([ :mandatory, :name ])


1772
# File 'sig/peddler/apis/shipping_v2.rbs', line 1772

def members: () -> [ :mandatory, :name ]

#to_h{ mandatory: bool, name: String }

Returns:

  • ({ mandatory: bool, name: String })


1773
# File 'sig/peddler/apis/shipping_v2.rbs', line 1773

def to_h: () -> { mandatory: bool, name: String }