Class: Peddler::APIs::EasyShip20220323::Package
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::EasyShip20220323::Package
- Defined in:
- sig/peddler/apis/easy_ship_2022_03_23.rbs
Instance Attribute Summary collapse
-
#invoice ⇒ Peddler::APIs::EasyShip20220323::InvoiceData?
readonly
Returns the value of attribute invoice.
-
#package_dimensions ⇒ Peddler::APIs::EasyShip20220323::Dimensions
readonly
Returns the value of attribute package_dimensions.
-
#package_identifier ⇒ String?
readonly
Returns the value of attribute package_identifier.
-
#package_items ⇒ Array[Peddler::APIs::EasyShip20220323::Item]?
readonly
Returns the value of attribute package_items.
-
#package_status ⇒ String?
readonly
Returns the value of attribute package_status.
-
#package_time_slot ⇒ Peddler::APIs::EasyShip20220323::TimeSlot
readonly
Returns the value of attribute package_time_slot.
-
#package_weight ⇒ Peddler::APIs::EasyShip20220323::Weight
readonly
Returns the value of attribute package_weight.
-
#scheduled_package_id ⇒ Peddler::APIs::EasyShip20220323::ScheduledPackageId
readonly
Returns the value of attribute scheduled_package_id.
-
#tracking_details ⇒ Peddler::APIs::EasyShip20220323::TrackingDetails?
readonly
Returns the value of attribute tracking_details.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :package_dimensions, :package_time_slot, :package_weight, :scheduled_package_id, :invoice, :package_identifier, :package_items, :package_status, :tracking_details ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::EasyShip20220323::Package
Instance Method Summary collapse
-
#members ⇒ [ :package_dimensions, :package_time_slot, :package_weight, :scheduled_package_id, :invoice, :package_identifier, :package_items, :package_status, :tracking_details ]
-
#to_h ⇒ { package_dimensions: Peddler::APIs::EasyShip20220323::Dimensions, package_time_slot: Peddler::APIs::EasyShip20220323::TimeSlot, package_weight: Peddler::APIs::EasyShip20220323::Weight, scheduled_package_id: Peddler::APIs::EasyShip20220323::ScheduledPackageId, invoice: Peddler::APIs::EasyShip20220323::InvoiceData?, package_identifier: String?, package_items: Array[Peddler::APIs::EasyShip20220323::Item]?, package_status: String?, tracking_details: Peddler::APIs::EasyShip20220323::TrackingDetails? }
Instance Attribute Details
#invoice ⇒ Peddler::APIs::EasyShip20220323::InvoiceData? (readonly)
Returns the value of attribute invoice.
217 218 219 |
# File 'sig/peddler/apis/easy_ship_2022_03_23.rbs', line 217 def invoice @invoice end |
#package_dimensions ⇒ Peddler::APIs::EasyShip20220323::Dimensions (readonly)
Returns the value of attribute package_dimensions.
218 219 220 |
# File 'sig/peddler/apis/easy_ship_2022_03_23.rbs', line 218 def package_dimensions @package_dimensions end |
#package_identifier ⇒ String? (readonly)
Returns the value of attribute package_identifier.
219 220 221 |
# File 'sig/peddler/apis/easy_ship_2022_03_23.rbs', line 219 def package_identifier @package_identifier end |
#package_items ⇒ Array[Peddler::APIs::EasyShip20220323::Item]? (readonly)
Returns the value of attribute package_items.
220 221 222 |
# File 'sig/peddler/apis/easy_ship_2022_03_23.rbs', line 220 def package_items @package_items end |
#package_status ⇒ String? (readonly)
Returns the value of attribute package_status.
221 222 223 |
# File 'sig/peddler/apis/easy_ship_2022_03_23.rbs', line 221 def package_status @package_status end |
#package_time_slot ⇒ Peddler::APIs::EasyShip20220323::TimeSlot (readonly)
Returns the value of attribute package_time_slot.
222 223 224 |
# File 'sig/peddler/apis/easy_ship_2022_03_23.rbs', line 222 def package_time_slot @package_time_slot end |
#package_weight ⇒ Peddler::APIs::EasyShip20220323::Weight (readonly)
Returns the value of attribute package_weight.
223 224 225 |
# File 'sig/peddler/apis/easy_ship_2022_03_23.rbs', line 223 def package_weight @package_weight end |
#scheduled_package_id ⇒ Peddler::APIs::EasyShip20220323::ScheduledPackageId (readonly)
Returns the value of attribute scheduled_package_id.
224 225 226 |
# File 'sig/peddler/apis/easy_ship_2022_03_23.rbs', line 224 def scheduled_package_id @scheduled_package_id end |
#tracking_details ⇒ Peddler::APIs::EasyShip20220323::TrackingDetails? (readonly)
Returns the value of attribute tracking_details.
225 226 227 |
# File 'sig/peddler/apis/easy_ship_2022_03_23.rbs', line 225 def tracking_details @tracking_details end |
Class Method Details
.[](package_dimensions:, package_time_slot:, package_weight:, scheduled_package_id:, invoice:, package_identifier:, package_items:, package_status:, tracking_details:) ⇒ Peddler::APIs::EasyShip20220323::Package .[](arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) ⇒ Peddler::APIs::EasyShip20220323::Package
210 211 |
# File 'sig/peddler/apis/easy_ship_2022_03_23.rbs', line 210
def self.[]: (package_dimensions: Peddler::APIs::EasyShip20220323::Dimensions, package_time_slot: Peddler::APIs::EasyShip20220323::TimeSlot, package_weight: Peddler::APIs::EasyShip20220323::Weight, scheduled_package_id: Peddler::APIs::EasyShip20220323::ScheduledPackageId, ?invoice: Peddler::APIs::EasyShip20220323::InvoiceData?, ?package_identifier: String?, ?package_items: Array[Peddler::APIs::EasyShip20220323::Item]?, ?package_status: String?, ?tracking_details: Peddler::APIs::EasyShip20220323::TrackingDetails?) -> Peddler::APIs::EasyShip20220323::Package
| (Peddler::APIs::EasyShip20220323::Dimensions, Peddler::APIs::EasyShip20220323::TimeSlot, Peddler::APIs::EasyShip20220323::Weight, Peddler::APIs::EasyShip20220323::ScheduledPackageId, Peddler::APIs::EasyShip20220323::InvoiceData?, String?, Array[Peddler::APIs::EasyShip20220323::Item]?, String?, Peddler::APIs::EasyShip20220323::TrackingDetails?) -> Peddler::APIs::EasyShip20220323::Package
|
.members ⇒ [ :package_dimensions, :package_time_slot, :package_weight, :scheduled_package_id, :invoice, :package_identifier, :package_items, :package_status, :tracking_details ]
213 |
# File 'sig/peddler/apis/easy_ship_2022_03_23.rbs', line 213
def self.members: () -> [ :package_dimensions, :package_time_slot, :package_weight, :scheduled_package_id, :invoice, :package_identifier, :package_items, :package_status, :tracking_details ]
|
.new(package_dimensions:, package_time_slot:, package_weight:, scheduled_package_id:, invoice:, package_identifier:, package_items:, package_status:, tracking_details:) ⇒ Peddler::APIs::EasyShip20220323::Package .new(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) ⇒ Peddler::APIs::EasyShip20220323::Package
208 209 |
# File 'sig/peddler/apis/easy_ship_2022_03_23.rbs', line 208
def self.new: (package_dimensions: Peddler::APIs::EasyShip20220323::Dimensions, package_time_slot: Peddler::APIs::EasyShip20220323::TimeSlot, package_weight: Peddler::APIs::EasyShip20220323::Weight, scheduled_package_id: Peddler::APIs::EasyShip20220323::ScheduledPackageId, ?invoice: Peddler::APIs::EasyShip20220323::InvoiceData?, ?package_identifier: String?, ?package_items: Array[Peddler::APIs::EasyShip20220323::Item]?, ?package_status: String?, ?tracking_details: Peddler::APIs::EasyShip20220323::TrackingDetails?) -> Peddler::APIs::EasyShip20220323::Package
| (Peddler::APIs::EasyShip20220323::Dimensions, Peddler::APIs::EasyShip20220323::TimeSlot, Peddler::APIs::EasyShip20220323::Weight, Peddler::APIs::EasyShip20220323::ScheduledPackageId, Peddler::APIs::EasyShip20220323::InvoiceData?, String?, Array[Peddler::APIs::EasyShip20220323::Item]?, String?, Peddler::APIs::EasyShip20220323::TrackingDetails?) -> Peddler::APIs::EasyShip20220323::Package
|
.parse ⇒ Peddler::APIs::EasyShip20220323::Package
215 |
# File 'sig/peddler/apis/easy_ship_2022_03_23.rbs', line 215
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::EasyShip20220323::Package
|
Instance Method Details
#members ⇒ [ :package_dimensions, :package_time_slot, :package_weight, :scheduled_package_id, :invoice, :package_identifier, :package_items, :package_status, :tracking_details ]
227 |
# File 'sig/peddler/apis/easy_ship_2022_03_23.rbs', line 227
def members: () -> [ :package_dimensions, :package_time_slot, :package_weight, :scheduled_package_id, :invoice, :package_identifier, :package_items, :package_status, :tracking_details ]
|
#to_h ⇒ { package_dimensions: Peddler::APIs::EasyShip20220323::Dimensions, package_time_slot: Peddler::APIs::EasyShip20220323::TimeSlot, package_weight: Peddler::APIs::EasyShip20220323::Weight, scheduled_package_id: Peddler::APIs::EasyShip20220323::ScheduledPackageId, invoice: Peddler::APIs::EasyShip20220323::InvoiceData?, package_identifier: String?, package_items: Array[Peddler::APIs::EasyShip20220323::Item]?, package_status: String?, tracking_details: Peddler::APIs::EasyShip20220323::TrackingDetails? }
228 |
# File 'sig/peddler/apis/easy_ship_2022_03_23.rbs', line 228
def to_h: () -> { package_dimensions: Peddler::APIs::EasyShip20220323::Dimensions, package_time_slot: Peddler::APIs::EasyShip20220323::TimeSlot, package_weight: Peddler::APIs::EasyShip20220323::Weight, scheduled_package_id: Peddler::APIs::EasyShip20220323::ScheduledPackageId, invoice: Peddler::APIs::EasyShip20220323::InvoiceData?, package_identifier: String?, package_items: Array[Peddler::APIs::EasyShip20220323::Item]?, package_status: String?, tracking_details: Peddler::APIs::EasyShip20220323::TrackingDetails? }
|