Class: ShipEngine::Domain::Rates::GetWithShipmentDetails::Response::RateResponse::Rate

Inherits:
Object
  • Object
show all
Defined in:
lib/shipengine/domain/rates/get_with_shipment_details.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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 = warning_messages
  @error_messages = error_messages
end

Instance Attribute Details

#carrier_codeObject (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_daysObject (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_nameObject (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_idObject (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_nicknameObject (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_amountObject (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_daysObject (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_messagesObject (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
  @error_messages
end

#estimated_delivery_dateObject (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_serviceObject (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_amountObject (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_rateObject (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_amountObject (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_typeObject (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_idObject (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_typeObject (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_codeObject (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_typeObject (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_dateObject (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_amountObject (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_amountObject (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

#trackableObject (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_statusObject (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_messagesObject (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
  @warning_messages
end

#zoneObject (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