Class: ShipEngine::Domain::Rates::GetWithShipmentDetails::Response

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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 = advanced_options
  @origin_type = origin_type
  @insurance_provider = insurance_provider
  @tags = tags
  @order_source_code = order_source_code
  @packages = packages
  @total_weight = total_weight
  @rate_response = rate_response
end

Instance Attribute Details

#advanced_optionsObject (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
  @advanced_options
end

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

#confirmationObject (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_atObject (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

#customsObject (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_idObject (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_idObject (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_providerObject (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

#itemsObject (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_atObject (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_codeObject (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_typeObject (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

#packagesObject (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_responseObject (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_toObject (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_codeObject (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_dateObject (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_fromObject (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_toObject (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_idObject (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_statusObject (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

#tagsObject (readonly)

Returns the value of attribute tags.



8
9
10
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 8

def tags
  @tags
end

#tax_identifiersObject (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_weightObject (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_idObject (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