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

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

Defined Under Namespace

Classes: CustomsItem

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#contentsObject (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_itemsObject (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_deliveryObject (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