def type_name=(type_name)
      type_name = type_name.to_sym
      @type_id = TYPE.fetch(type_name) {
        raise InvalidShippingTypeError, "invalid #{type_name.inspect} type name"
      }
      @type_name = type_name
    end
def type_name=(type_name)
      type_name = type_name.to_sym
      @type_id = TYPE.fetch(type_name) {
        raise InvalidShippingTypeError, "invalid #{type_name.inspect} type name"
      }
      @type_name = type_name
    end
Set the shipping type.
 It raises the PagSeguro::Shipping::InvalidShippingTypeError exception
 when trying to assign an invalid type name.