Class: ShipEngine::Domain::Rates::GetWithShipmentDetails::Response::Customs
- Inherits:
-
Object
- Object
- ShipEngine::Domain::Rates::GetWithShipmentDetails::Response::Customs
- Defined in:
- lib/shipengine/domain/rates/get_with_shipment_details.rb
Defined Under Namespace
Classes: CustomsItem
Instance Attribute Summary collapse
-
#contents ⇒ Object
readonly
Returns the value of attribute contents.
-
#customs_items ⇒ Object
readonly
Returns the value of attribute customs_items.
-
#non_delivery ⇒ Object
readonly
Returns the value of attribute non_delivery.
Instance Method Summary collapse
-
#initialize(contents:, non_delivery:, customs_items:) ⇒ Customs
constructor
A new instance of Customs.
Constructor Details
#initialize(contents:, non_delivery:, customs_items:) ⇒ Customs
Returns a new instance of Customs.
113 114 115 116 117 |
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 113 def initialize(contents:, non_delivery:, customs_items:) @contents = contents @non_delivery = non_delivery @customs_items = customs_items end |
Instance Attribute Details
#contents ⇒ Object (readonly)
Returns the value of attribute contents.
111 112 113 |
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 111 def contents @contents end |
#customs_items ⇒ Object (readonly)
Returns the value of attribute customs_items.
111 112 113 |
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 111 def customs_items @customs_items end |
#non_delivery ⇒ Object (readonly)
Returns the value of attribute non_delivery.
111 112 113 |
# File 'lib/shipengine/domain/rates/get_with_shipment_details.rb', line 111 def non_delivery @non_delivery end |