Sha256: 7472a6369dcecde4af5b13e8f92549fa6f4995026a2ba2704b8cdca42cdb2dde
Contents?: true
Size: 812 Bytes
Versions: 2
Compression:
Stored size: 812 Bytes
Contents
# frozen_string_literal: true require 'friendly_shipping/item_options' module FriendlyShipping module Services class ShipEngine # Represents item options for obtaining shipment labels. # @option commodity_code [String] This item's HS or NMFC code for international shipments. # @option country_of_origin [String] This item's country of origin for international shipments. class LabelItemOptions < FriendlyShipping::ItemOptions attr_reader :commodity_code, :country_of_origin def initialize( commodity_code: nil, country_of_origin: nil, **kwargs ) @commodity_code = commodity_code @country_of_origin = country_of_origin super(**kwargs) end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
friendly_shipping-0.8.1 | lib/friendly_shipping/services/ship_engine/label_item_options.rb |
friendly_shipping-0.8.0 | lib/friendly_shipping/services/ship_engine/label_item_options.rb |