Class: Edi::Walmart::ShipWithWalmart::LabelResult
- Inherits:
-
Data
- Object
- Data
- Edi::Walmart::ShipWithWalmart::LabelResult
- Defined in:
- app/services/edi/walmart/ship_with_walmart.rb
Instance Attribute Summary collapse
-
#carrier ⇒ Object
readonly
Returns the value of attribute carrier.
-
#error ⇒ Object
readonly
Returns the value of attribute error.
-
#label_id ⇒ Object
readonly
Returns the value of attribute label_id.
-
#service_type ⇒ Object
readonly
Returns the value of attribute service_type.
-
#success ⇒ Object
readonly
Returns the value of attribute success.
-
#tracking_number ⇒ Object
readonly
Returns the value of attribute tracking_number.
Instance Method Summary collapse
-
#initialize(success: nil, label_id: nil, tracking_number: nil, carrier: nil, service_type: nil, error: nil) ⇒ LabelResult
constructor
A new instance of LabelResult.
Constructor Details
#initialize(success: nil, label_id: nil, tracking_number: nil, carrier: nil, service_type: nil, error: nil) ⇒ LabelResult
Returns a new instance of LabelResult.
30 |
# File 'app/services/edi/walmart/ship_with_walmart.rb', line 30 def initialize(success: nil, label_id: nil, tracking_number: nil, carrier: nil, service_type: nil, error: nil) = super |
Instance Attribute Details
#carrier ⇒ Object (readonly)
Returns the value of attribute carrier
29 30 31 |
# File 'app/services/edi/walmart/ship_with_walmart.rb', line 29 def carrier @carrier end |
#error ⇒ Object (readonly)
Returns the value of attribute error
29 30 31 |
# File 'app/services/edi/walmart/ship_with_walmart.rb', line 29 def error @error end |
#label_id ⇒ Object (readonly)
Returns the value of attribute label_id
29 30 31 |
# File 'app/services/edi/walmart/ship_with_walmart.rb', line 29 def label_id @label_id end |
#service_type ⇒ Object (readonly)
Returns the value of attribute service_type
29 30 31 |
# File 'app/services/edi/walmart/ship_with_walmart.rb', line 29 def service_type @service_type end |
#success ⇒ Object (readonly)
Returns the value of attribute success
29 30 31 |
# File 'app/services/edi/walmart/ship_with_walmart.rb', line 29 def success @success end |
#tracking_number ⇒ Object (readonly)
Returns the value of attribute tracking_number
29 30 31 |
# File 'app/services/edi/walmart/ship_with_walmart.rb', line 29 def tracking_number @tracking_number end |