Class: ShipEngine::Domain::Rates::GetWithShipmentDetails::Response
- Inherits:
-
Object
- Object
- ShipEngine::Domain::Rates::GetWithShipmentDetails::Response
- Defined in:
- lib/shipengine/domain/rates/get_with_shipment_details.rb
Defined Under Namespace
Classes: Address, AdvancedOptions, Customs, Dimensions, Item, MonetaryValue, Package, RateResponse, Tag, TaxIdentifier, Weight
Instance Attribute Summary collapse
-
#advanced_options ⇒ Object
readonly
Returns the value of attribute advanced_options.
-
#carrier_id ⇒ Object
readonly
Returns the value of attribute carrier_id.
-
#confirmation ⇒ Object
readonly
Returns the value of attribute confirmation.
-
#created_at ⇒ Object
readonly
Returns the value of attribute created_at.
-
#customs ⇒ Object
readonly
Returns the value of attribute customs.
-
#external_order_id ⇒ Object
readonly
Returns the value of attribute external_order_id.
-
#external_shipment_id ⇒ Object
readonly
Returns the value of attribute external_shipment_id.
-
#insurance_provider ⇒ Object
readonly
Returns the value of attribute insurance_provider.
-
#items ⇒ Object
readonly
Returns the value of attribute items.
-
#modified_at ⇒ Object
readonly
Returns the value of attribute modified_at.
-
#order_source_code ⇒ Object
readonly
Returns the value of attribute order_source_code.
-
#origin_type ⇒ Object
readonly
Returns the value of attribute origin_type.
-
#packages ⇒ Object
readonly
Returns the value of attribute packages.
-
#rate_response ⇒ Object
readonly
Returns the value of attribute rate_response.
-
#return_to ⇒ Object
readonly
Returns the value of attribute return_to.
-
#service_code ⇒ Object
readonly
Returns the value of attribute service_code.
-
#ship_date ⇒ Object
readonly
Returns the value of attribute ship_date.
-
#ship_from ⇒ Object
readonly
Returns the value of attribute ship_from.
-
#ship_to ⇒ Object
readonly
Returns the value of attribute ship_to.
-
#shipment_id ⇒ Object
readonly
Returns the value of attribute shipment_id.
-
#shipment_status ⇒ Object
readonly
Returns the value of attribute shipment_status.
-
#tags ⇒ Object
readonly
Returns the value of attribute tags.
-
#tax_identifiers ⇒ Object
readonly
Returns the value of attribute tax_identifiers.
-
#total_weight ⇒ Object
readonly
Returns the value of attribute total_weight.
-
#warehouse_id ⇒ Object
readonly
Returns the value of attribute warehouse_id.
Instance Method Summary collapse
-
#initialize(shipment_id:, carrier_id:, service_code:, external_order_id:, items:, tax_identifiers:, external_shipment_id:, ship_date:, created_at:, modified_at:, shipment_status:, ship_to:, ship_from:, warehouse_id:, return_to:, confirmation:, customs:, advanced_options:, origin_type:, insurance_provider:, tags:, order_source_code:, packages:, total_weight:, rate_response:) ⇒ Response
constructor
rubocop:todo Metrics/ParameterLists.
Constructor Details
#initialize(shipment_id:, carrier_id:, service_code:, external_order_id:, items:, tax_identifiers:, external_shipment_id:, ship_date:, created_at:, modified_at:, shipment_status:, ship_to:, ship_from:, warehouse_id:, return_to:, confirmation:, customs:, advanced_options:, origin_type:, insurance_provider:, tags:, order_source_code:, packages:, total_weight:, rate_response:) ⇒ Response
rubocop:todo Metrics/ParameterLists
35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 |
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 35 def initialize(shipment_id:, carrier_id:, service_code:, external_order_id:, items:, tax_identifiers:, external_shipment_id:, ship_date:, created_at:, modified_at:, shipment_status:, ship_to:, ship_from:, warehouse_id:, return_to:, confirmation:, customs:, advanced_options:, origin_type:, insurance_provider:, tags:, order_source_code:, packages:, total_weight:, rate_response:) # rubocop:enable Metrics/ParameterLists @shipment_id = shipment_id @carrier_id = carrier_id @service_code = service_code @external_order_id = external_order_id @items = items @tax_identifiers = tax_identifiers @external_shipment_id = external_shipment_id @ship_date = ship_date @created_at = created_at @modified_at = modified_at @shipment_status = shipment_status @ship_to = ship_to @ship_from = ship_from @warehouse_id = warehouse_id @return_to = return_to @confirmation = confirmation @customs = customs @advanced_options = @origin_type = origin_type @insurance_provider = insurance_provider @tags = @order_source_code = order_source_code @packages = packages @total_weight = total_weight @rate_response = rate_response end |
Instance Attribute Details
#advanced_options ⇒ Object (readonly)
Returns the value of attribute advanced_options.
8 9 10 |
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 8 def @advanced_options end |
#carrier_id ⇒ Object (readonly)
Returns the value of attribute carrier_id.
8 9 10 |
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 8 def carrier_id @carrier_id end |
#confirmation ⇒ Object (readonly)
Returns the value of attribute confirmation.
8 9 10 |
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 8 def confirmation @confirmation end |
#created_at ⇒ Object (readonly)
Returns the value of attribute created_at.
8 9 10 |
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 8 def created_at @created_at end |
#customs ⇒ Object (readonly)
Returns the value of attribute customs.
8 9 10 |
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 8 def customs @customs end |
#external_order_id ⇒ Object (readonly)
Returns the value of attribute external_order_id.
8 9 10 |
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 8 def external_order_id @external_order_id end |
#external_shipment_id ⇒ Object (readonly)
Returns the value of attribute external_shipment_id.
8 9 10 |
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 8 def external_shipment_id @external_shipment_id end |
#insurance_provider ⇒ Object (readonly)
Returns the value of attribute insurance_provider.
8 9 10 |
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 8 def insurance_provider @insurance_provider end |
#items ⇒ Object (readonly)
Returns the value of attribute items.
8 9 10 |
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 8 def items @items end |
#modified_at ⇒ Object (readonly)
Returns the value of attribute modified_at.
8 9 10 |
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 8 def modified_at @modified_at end |
#order_source_code ⇒ Object (readonly)
Returns the value of attribute order_source_code.
8 9 10 |
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 8 def order_source_code @order_source_code end |
#origin_type ⇒ Object (readonly)
Returns the value of attribute origin_type.
8 9 10 |
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 8 def origin_type @origin_type end |
#packages ⇒ Object (readonly)
Returns the value of attribute packages.
8 9 10 |
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 8 def packages @packages end |
#rate_response ⇒ Object (readonly)
Returns the value of attribute rate_response.
8 9 10 |
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 8 def rate_response @rate_response end |
#return_to ⇒ Object (readonly)
Returns the value of attribute return_to.
8 9 10 |
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 8 def return_to @return_to end |
#service_code ⇒ Object (readonly)
Returns the value of attribute service_code.
8 9 10 |
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 8 def service_code @service_code end |
#ship_date ⇒ Object (readonly)
Returns the value of attribute ship_date.
8 9 10 |
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 8 def ship_date @ship_date end |
#ship_from ⇒ Object (readonly)
Returns the value of attribute ship_from.
8 9 10 |
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 8 def ship_from @ship_from end |
#ship_to ⇒ Object (readonly)
Returns the value of attribute ship_to.
8 9 10 |
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 8 def ship_to @ship_to end |
#shipment_id ⇒ Object (readonly)
Returns the value of attribute shipment_id.
8 9 10 |
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 8 def shipment_id @shipment_id end |
#shipment_status ⇒ Object (readonly)
Returns the value of attribute shipment_status.
8 9 10 |
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 8 def shipment_status @shipment_status end |
#tags ⇒ Object (readonly)
Returns the value of attribute tags.
8 9 10 |
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 8 def @tags end |
#tax_identifiers ⇒ Object (readonly)
Returns the value of attribute tax_identifiers.
8 9 10 |
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 8 def tax_identifiers @tax_identifiers end |
#total_weight ⇒ Object (readonly)
Returns the value of attribute total_weight.
8 9 10 |
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 8 def total_weight @total_weight end |
#warehouse_id ⇒ Object (readonly)
Returns the value of attribute warehouse_id.
8 9 10 |
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 8 def warehouse_id @warehouse_id end |