Class: ShipEngine::Domain::Rates::GetWithShipmentDetails::Response::RateResponse::Rate
- Inherits:
-
Object
- Object
- ShipEngine::Domain::Rates::GetWithShipmentDetails::Response::RateResponse::Rate
- Defined in:
- lib/shipengine/domain/rates/get_with_shipment_details.rb
Instance Attribute Summary collapse
-
#carrier_code ⇒ Object
readonly
Returns the value of attribute carrier_code.
-
#carrier_delivery_days ⇒ Object
readonly
Returns the value of attribute carrier_delivery_days.
-
#carrier_friendly_name ⇒ Object
readonly
Returns the value of attribute carrier_friendly_name.
-
#carrier_id ⇒ Object
readonly
Returns the value of attribute carrier_id.
-
#carrier_nickname ⇒ Object
readonly
Returns the value of attribute carrier_nickname.
-
#confirmation_amount ⇒ Object
readonly
Returns the value of attribute confirmation_amount.
-
#delivery_days ⇒ Object
readonly
Returns the value of attribute delivery_days.
-
#error_messages ⇒ Object
readonly
Returns the value of attribute error_messages.
-
#estimated_delivery_date ⇒ Object
readonly
Returns the value of attribute estimated_delivery_date.
-
#guaranteed_service ⇒ Object
readonly
Returns the value of attribute guaranteed_service.
-
#insurance_amount ⇒ Object
readonly
Returns the value of attribute insurance_amount.
-
#negotiated_rate ⇒ Object
readonly
Returns the value of attribute negotiated_rate.
-
#other_amount ⇒ Object
readonly
Returns the value of attribute other_amount.
-
#package_type ⇒ Object
readonly
Returns the value of attribute package_type.
-
#rate_id ⇒ Object
readonly
Returns the value of attribute rate_id.
-
#rate_type ⇒ Object
readonly
Returns the value of attribute rate_type.
-
#service_code ⇒ Object
readonly
Returns the value of attribute service_code.
-
#service_type ⇒ Object
readonly
Returns the value of attribute service_type.
-
#ship_date ⇒ Object
readonly
Returns the value of attribute ship_date.
-
#shipping_amount ⇒ Object
readonly
Returns the value of attribute shipping_amount.
-
#tax_amount ⇒ Object
readonly
Returns the value of attribute tax_amount.
-
#trackable ⇒ Object
readonly
Returns the value of attribute trackable.
-
#validation_status ⇒ Object
readonly
Returns the value of attribute validation_status.
-
#warning_messages ⇒ Object
readonly
Returns the value of attribute warning_messages.
-
#zone ⇒ Object
readonly
Returns the value of attribute zone.
Instance Method Summary collapse
-
#initialize(rate_id:, rate_type:, carrier_id:, shipping_amount:, insurance_amount:, confirmation_amount:, other_amount:, tax_amount:, zone:, package_type:, delivery_days:, guaranteed_service:, estimated_delivery_date:, carrier_delivery_days:, ship_date:, negotiated_rate:, service_type:, service_code:, trackable:, carrier_code:, carrier_nickname:, carrier_friendly_name:, validation_status:, warning_messages:, error_messages:) ⇒ Rate
constructor
rubocop:todo Metrics/ParameterLists.
Constructor Details
#initialize(rate_id:, rate_type:, carrier_id:, shipping_amount:, insurance_amount:, confirmation_amount:, other_amount:, tax_amount:, zone:, package_type:, delivery_days:, guaranteed_service:, estimated_delivery_date:, carrier_delivery_days:, ship_date:, negotiated_rate:, service_type:, service_code:, trackable:, carrier_code:, carrier_nickname:, carrier_friendly_name:, validation_status:, warning_messages:, error_messages:) ⇒ Rate
rubocop:todo Metrics/ParameterLists
297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 |
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 297 def initialize(rate_id:, rate_type:, carrier_id:, shipping_amount:, insurance_amount:, confirmation_amount:, other_amount:, tax_amount:, zone:, package_type:, delivery_days:, guaranteed_service:, estimated_delivery_date:, carrier_delivery_days:, ship_date:, negotiated_rate:, service_type:, service_code:, trackable:, carrier_code:, carrier_nickname:, carrier_friendly_name:, validation_status:, warning_messages:, error_messages:) # rubocop:enable Metrics/ParameterLists @rate_id = rate_id @rate_type = rate_type @carrier_id = carrier_id @shipping_amount = shipping_amount @insurance_amount = insurance_amount @confirmation_amount = confirmation_amount @other_amount = other_amount @tax_amount = tax_amount @zone = zone @package_type = package_type @delivery_days = delivery_days @guaranteed_service = guaranteed_service @estimated_delivery_date = estimated_delivery_date @carrier_delivery_days = carrier_delivery_days @ship_date = ship_date @negotiated_rate = negotiated_rate @service_type = service_type @service_code = service_code @trackable = trackable @carrier_code = carrier_code @carrier_nickname = carrier_nickname @carrier_friendly_name = carrier_friendly_name @validation_status = validation_status @warning_messages = @error_messages = end |
Instance Attribute Details
#carrier_code ⇒ Object (readonly)
Returns the value of attribute carrier_code.
270 271 272 |
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 270 def carrier_code @carrier_code end |
#carrier_delivery_days ⇒ Object (readonly)
Returns the value of attribute carrier_delivery_days.
270 271 272 |
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 270 def carrier_delivery_days @carrier_delivery_days end |
#carrier_friendly_name ⇒ Object (readonly)
Returns the value of attribute carrier_friendly_name.
270 271 272 |
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 270 def carrier_friendly_name @carrier_friendly_name end |
#carrier_id ⇒ Object (readonly)
Returns the value of attribute carrier_id.
270 271 272 |
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 270 def carrier_id @carrier_id end |
#carrier_nickname ⇒ Object (readonly)
Returns the value of attribute carrier_nickname.
270 271 272 |
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 270 def carrier_nickname @carrier_nickname end |
#confirmation_amount ⇒ Object (readonly)
Returns the value of attribute confirmation_amount.
270 271 272 |
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 270 def confirmation_amount @confirmation_amount end |
#delivery_days ⇒ Object (readonly)
Returns the value of attribute delivery_days.
270 271 272 |
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 270 def delivery_days @delivery_days end |
#error_messages ⇒ Object (readonly)
Returns the value of attribute error_messages.
270 271 272 |
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 270 def @error_messages end |
#estimated_delivery_date ⇒ Object (readonly)
Returns the value of attribute estimated_delivery_date.
270 271 272 |
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 270 def estimated_delivery_date @estimated_delivery_date end |
#guaranteed_service ⇒ Object (readonly)
Returns the value of attribute guaranteed_service.
270 271 272 |
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 270 def guaranteed_service @guaranteed_service end |
#insurance_amount ⇒ Object (readonly)
Returns the value of attribute insurance_amount.
270 271 272 |
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 270 def insurance_amount @insurance_amount end |
#negotiated_rate ⇒ Object (readonly)
Returns the value of attribute negotiated_rate.
270 271 272 |
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 270 def negotiated_rate @negotiated_rate end |
#other_amount ⇒ Object (readonly)
Returns the value of attribute other_amount.
270 271 272 |
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 270 def other_amount @other_amount end |
#package_type ⇒ Object (readonly)
Returns the value of attribute package_type.
270 271 272 |
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 270 def package_type @package_type end |
#rate_id ⇒ Object (readonly)
Returns the value of attribute rate_id.
270 271 272 |
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 270 def rate_id @rate_id end |
#rate_type ⇒ Object (readonly)
Returns the value of attribute rate_type.
270 271 272 |
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 270 def rate_type @rate_type end |
#service_code ⇒ Object (readonly)
Returns the value of attribute service_code.
270 271 272 |
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 270 def service_code @service_code end |
#service_type ⇒ Object (readonly)
Returns the value of attribute service_type.
270 271 272 |
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 270 def service_type @service_type end |
#ship_date ⇒ Object (readonly)
Returns the value of attribute ship_date.
270 271 272 |
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 270 def ship_date @ship_date end |
#shipping_amount ⇒ Object (readonly)
Returns the value of attribute shipping_amount.
270 271 272 |
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 270 def shipping_amount @shipping_amount end |
#tax_amount ⇒ Object (readonly)
Returns the value of attribute tax_amount.
270 271 272 |
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 270 def tax_amount @tax_amount end |
#trackable ⇒ Object (readonly)
Returns the value of attribute trackable.
270 271 272 |
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 270 def trackable @trackable end |
#validation_status ⇒ Object (readonly)
Returns the value of attribute validation_status.
270 271 272 |
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 270 def validation_status @validation_status end |
#warning_messages ⇒ Object (readonly)
Returns the value of attribute warning_messages.
270 271 272 |
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 270 def @warning_messages end |
#zone ⇒ Object (readonly)
Returns the value of attribute zone.
270 271 272 |
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 270 def zone @zone end |