Class: Peddler::APIs::VendorInvoicesV1::TotalWeight
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::VendorInvoicesV1::TotalWeight
- Defined in:
- sig/peddler/apis/vendor_invoices_v1.rbs
Instance Attribute Summary collapse
-
#amount ⇒ String
readonly
Returns the value of attribute amount.
-
#unit_of_measure ⇒ String
readonly
Returns the value of attribute unit_of_measure.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :amount, :unit_of_measure ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::VendorInvoicesV1::TotalWeight
Instance Method Summary collapse
Instance Attribute Details
#amount ⇒ String (readonly)
Returns the value of attribute amount.
322 323 324 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 322 def amount @amount end |
#unit_of_measure ⇒ String (readonly)
Returns the value of attribute unit_of_measure.
323 324 325 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 323 def unit_of_measure @unit_of_measure end |
Class Method Details
.[](amount:, unit_of_measure:) ⇒ Peddler::APIs::VendorInvoicesV1::TotalWeight .[](arg0, arg1) ⇒ Peddler::APIs::VendorInvoicesV1::TotalWeight
315 316 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 315
def self.[]: (amount: String, unit_of_measure: String) -> Peddler::APIs::VendorInvoicesV1::TotalWeight
| (String, String) -> Peddler::APIs::VendorInvoicesV1::TotalWeight
|
.members ⇒ [ :amount, :unit_of_measure ]
318 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 318
def self.members: () -> [ :amount, :unit_of_measure ]
|
.new(amount:, unit_of_measure:) ⇒ Peddler::APIs::VendorInvoicesV1::TotalWeight .new(arg0, arg1) ⇒ Peddler::APIs::VendorInvoicesV1::TotalWeight
313 314 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 313
def self.new: (amount: String, unit_of_measure: String) -> Peddler::APIs::VendorInvoicesV1::TotalWeight
| (String, String) -> Peddler::APIs::VendorInvoicesV1::TotalWeight
|
.parse ⇒ Peddler::APIs::VendorInvoicesV1::TotalWeight
320 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 320
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::VendorInvoicesV1::TotalWeight
|
Instance Method Details
#members ⇒ [ :amount, :unit_of_measure ]
325 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 325
def members: () -> [ :amount, :unit_of_measure ]
|
#to_h ⇒ { amount: String, unit_of_measure: String }
326 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 326
def to_h: () -> { amount: String, unit_of_measure: String }
|