Class: SigepWeb::Models::PostalObject
- Inherits:
-
Object
- Object
- SigepWeb::Models::PostalObject
- Defined in:
- lib/sigep_web/models/postal_object.rb
Instance Attribute Summary collapse
-
#additional_service_codes ⇒ Object
Returns the value of attribute additional_service_codes.
-
#additional_services_declared_value ⇒ Object
Returns the value of attribute additional_services_declared_value.
-
#cubage ⇒ Object
Returns the value of attribute cubage.
-
#dimension_object ⇒ Object
Returns the value of attribute dimension_object.
-
#label_number ⇒ Object
Returns the value of attribute label_number.
-
#postage_code_service ⇒ Object
Returns the value of attribute postage_code_service.
-
#processing_status ⇒ Object
Returns the value of attribute processing_status.
-
#receiver ⇒ Object
Returns the value of attribute receiver.
-
#weight ⇒ Object
Returns the value of attribute weight.
Instance Method Summary collapse
-
#initialize(label_number:, postage_code_service:, cubage:, weight:, receiver:, dimension_object:, processing_status:, additional_service_codes: nil, additional_services_declared_value: nil) ⇒ PostalObject
constructor
A new instance of PostalObject.
Constructor Details
permalink #initialize(label_number:, postage_code_service:, cubage:, weight:, receiver:, dimension_object:, processing_status:, additional_service_codes: nil, additional_services_declared_value: nil) ⇒ PostalObject
Returns a new instance of PostalObject.
10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
# File 'lib/sigep_web/models/postal_object.rb', line 10 def initialize(label_number:, postage_code_service:, cubage:, weight:, receiver:, dimension_object:, processing_status:, additional_service_codes: nil, additional_services_declared_value: nil) @label_number = label_number @postage_code_service = postage_code_service @cubage = cubage @weight = weight @receiver = receiver @dimension_object = dimension_object @processing_status = processing_status @additional_service_codes = additional_service_codes @additional_services_declared_value = additional_services_declared_value end |
Instance Attribute Details
permalink #additional_service_codes ⇒ Object
Returns the value of attribute additional_service_codes.
6 7 8 |
# File 'lib/sigep_web/models/postal_object.rb', line 6 def additional_service_codes @additional_service_codes end |
permalink #additional_services_declared_value ⇒ Object
Returns the value of attribute additional_services_declared_value.
6 7 8 |
# File 'lib/sigep_web/models/postal_object.rb', line 6 def additional_services_declared_value @additional_services_declared_value end |
permalink #cubage ⇒ Object
Returns the value of attribute cubage.
6 7 8 |
# File 'lib/sigep_web/models/postal_object.rb', line 6 def cubage @cubage end |
permalink #dimension_object ⇒ Object
Returns the value of attribute dimension_object.
6 7 8 |
# File 'lib/sigep_web/models/postal_object.rb', line 6 def dimension_object @dimension_object end |
permalink #label_number ⇒ Object
Returns the value of attribute label_number.
6 7 8 |
# File 'lib/sigep_web/models/postal_object.rb', line 6 def label_number @label_number end |
permalink #postage_code_service ⇒ Object
Returns the value of attribute postage_code_service.
6 7 8 |
# File 'lib/sigep_web/models/postal_object.rb', line 6 def postage_code_service @postage_code_service end |
permalink #processing_status ⇒ Object
Returns the value of attribute processing_status.
6 7 8 |
# File 'lib/sigep_web/models/postal_object.rb', line 6 def processing_status @processing_status end |
permalink #receiver ⇒ Object
Returns the value of attribute receiver.
6 7 8 |
# File 'lib/sigep_web/models/postal_object.rb', line 6 def receiver @receiver end |
permalink #weight ⇒ Object
Returns the value of attribute weight.
6 7 8 |
# File 'lib/sigep_web/models/postal_object.rb', line 6 def weight @weight end |